[llvm-bugs] [Bug 32611] New: PowerPC - unexpected handler being optimized out

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Apr 10 16:46:57 PDT 2017


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: unassignedbugs at nondot.org
          Reporter: eric.schweitz at pgroup.com
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170410/4421c2d1/attachment.html>


More information about the llvm-bugs mailing list