Hello I am not sure if this is a bug, but please verify it as it produces different output with -O0, -O1 and -O2 flags. Attached is a simple C program, which when compiled without modification produces different results with different optimization levels. 1. gcc -O0 -o rse0 rse.c 2. gcc -O1 -o rse1 rse.c 3. gcc -O2 -o rse2 rse.c If this is not a bug, but a programmer stupidity error, I apologize in advance.
Created attachment 5259 [details] Test program
This is a dup of bug 323 which is a nonbug, also see: <http://gcc.gnu.org/bugs.html#nonbugs>. *** This bug has been marked as a duplicate of 323 ***