Re:Compiler Bug ?
You're not going mad, I managed to reproduce your problem.
It seems to only occur with "no optimization", i.e., the -O0 flag. Any level of optimization (-O1, -O2, etc.) inserts a shift-right instruction as expected.
That's a pretty scary bug. Especially since one expects bugs to get worse with more optimization, not less.
Post edited by: steriana, at: 2007/01/07 22:11
login or register to reply
|