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 rtl-optimization/25862] New: GCC 3.4.4 - Wrong code generated with -O2 and -O3 optimization levels


The following test case produces wrong result when compiled with -O2 or -O3.

expected result (-O1, or using intel compiler):

ReadX: x = -5.9436e+29          [  OK  ]
WriteX:                         [  OK  ]

observed results (-O2 or -O3)

ReadX: x =          0           [ FAIL ]
WriteX:                         [ FAIL ]


-- 
           Summary: GCC 3.4.4 - Wrong code generated with -O2 and -O3
                    optimization levels
           Product: gcc
           Version: 3.4.4
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: andreg at discreet dot com
GCC target triplet: x86_64 linux


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


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