This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/41577] New: Broken code with -O2


I have narrowed down a problem in my application to the testcase which I will
soon attach.

The testcase should output:

Out r8: 0x82ce3350
Out cr: 0x8

Version of GCC: 4.3.4.

Command line which generates broken output: gcc -O2 compiler_issue.c
Command line which generates ok output: gcc -O2 -fno-tree-vrp compiler_issue.c


-- 
           Summary: Broken code with -O2
           Product: gcc
           Version: 4.3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: magnus dot christensson at acm dot org
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41577


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]