Skip to content

simd-4.C fails at -O2 #2525

@llvmbot

Description

@llvmbot
Bugzilla Link 2153
Resolution LATER
Resolved on Dec 02, 2010 01:28
Version unspecified
OS Linux
Reporter LLVM Bugzilla Contributor
CC @asl

Extended Description

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
behaviour:

$ 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions