https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82792

            Bug ID: 82792
           Summary: Fallthrough attribute ignored after label
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: michael.thayer at oracle dot com
  Target Milestone: ---

Created attachment 42508
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42508&action=edit
Test case

I have a test case, a simplified version of our actual code, where the
fallthrough attribute is ignored when a label immediately precedes the default
case label and a fallthrough warning is triggered.  Please see attached test
case and output.  Simple work-arounds welcome too.

Reply via email to