This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/80926] New: [7/8 Regression] longjmp not treated as noreturn during CFG build
- From: "dje at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 31 May 2017 13:15:38 +0000
- Subject: [Bug middle-end/80926] New: [7/8 Regression] longjmp not treated as noreturn during CFG build
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80926
Bug ID: 80926
Summary: [7/8 Regression] longjmp not treated as noreturn
during CFG build
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: dje at gcc dot gnu.org
Target Milestone: ---
GCC 6 didn't add the fallthru edge and thus properly treated longjmp as
noreturn during CFG build.
void longjmp(); void __attribute__((noreturn)) foo () { longjmp (); }