This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/80926] New: [7/8 Regression] longjmp not treated as noreturn during CFG build


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 (); }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]