[LLVMbugs] [Bug 2153] New: simd-4.C fails wrongly at -O2

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Mar 14 10:56:07 PDT 2008


           Summary: simd-4.C fails wrongly at -O2
           Product: new-bugs
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu

simd-4.C from the gcc testsuite (g++.dg/eh) fails differently at
-O0 and at -O2 while with mainline you always get the llvm-gcc -O0

$ llvm-g++ -o simd-4 -O0 simd-4.C
$ ./simd-4
terminate called after throwing an instance of 'int'
Aborted (core dumped)

$ llvm-g++ -o simd-4 -O2 simd-4.C
$ ./simd-4
Aborted (core dumped)

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list