This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/60003] New: [4.9 regression] wrong code with __builtin_setjmp/__builtin_longjmp and inlining
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 30 Jan 2014 22:47:41 +0000
- Subject: [Bug tree-optimization/60003] New: [4.9 regression] wrong code with __builtin_setjmp/__builtin_longjmp and inlining
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60003
Bug ID: 60003
Summary: [4.9 regression] wrong code with
__builtin_setjmp/__builtin_longjmp and inlining
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: major
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: ebotcazou at gcc dot gnu.org
CC: jakub at gcc dot gnu.org
Depends on: 59920
Created attachment 31995
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31995&action=edit
Testcase
This is a fallout of the fix for PR tree-opt/59920: the attached testcase
passes at -0O but fails at -O1 (and interestingly passes at -O2) on
x86-64/Linux. This is apparently related to inlining, see the comment in the
testcase.
Severity is "major" because this breaks the SJLJ exception scheme in Ada, which
has been rock-solid for about a decade.