https://bugs.llvm.org/show_bug.cgi?id=32611

            Bug ID: 32611
           Summary: PowerPC - unexpected handler being optimized out
           Product: new-bugs
           Version: 4.0
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedb...@nondot.org
          Reporter: eric.schwe...@pgroup.com
                CC: llvm-bugs@lists.llvm.org

Created attachment 18265
  --> https://bugs.llvm.org/attachment.cgi?id=18265&action=edit
reproduce the unexpected handler issue

This happens in the release_40 branch.

% clang++ unexpected.cpp -O3
% a.out
terminate called after throwing an instance of 'int'
Aborted
% clang++ unexpected.cpp -O0
% a.out
Unexpected handler was called.
terminate called after throwing an instance of 'int'
Aborted

g++ and the x86 backend generate the latter output as well.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to