------- Comment #2 from sdirkse at gams dot com 2007-03-07 22:52 ------- Thanks for telling me about the -fwrapv flag, that's good to know - I should have double-checked my K&R 2nd Edition before sending the bug. But I tried running the above example with the addition of the -fwrapv flag, and it didn't change the behavior one bit.
Also, I tried a similar example with 32- instead of 64-bit types. It behaved similarly. So, can we call this a bug now? -- sdirkse at gams dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31075