CompuServe Messages

#C's

#: 1614 S1/SoftwareForum unknown
    13-Dec-85 03:38:37
Sb: #1284-#C's
Fm: Bob Perez 76003,102
To: GARY SARFF 70167,2216

This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.

Not sure I understand what you're claiming that Lattice C is doing wrong. You _can't_ have a valid pointer to a char situated on an odd address (address regs can't contain odd values). You didn't mention to what you were casting the pointer to char, by the way. What's wrong with the printf() results? The &x and &y values would be the same whether word or long, since they're sign extended as words. If it's doing a sub.w instead of a sub.l that does sound like a bug, since the printf() 'd' conversion specification specifically relates to ints (unless the 'l' modifier is used) and Lattice is _supposed_ to treat ints as 32 bit animals. — Bob Perez