This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/13265] New: Different output with -O0, -O1 and -O2
- From: "muks at mukund dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Dec 2003 22:43:17 -0000
- Subject: [Bug c/13265] New: Different output with -O0, -O1 and -O2
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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.
--
Summary: Different output with -O0, -O1 and -O2
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: muks at mukund dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13265