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

            Bug ID: 78779
           Summary: ibgcc/soft-fp/op-common.h:900: possible missing break
                    ?
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcc
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

../../../trunk/libgcc/soft-fp/op-common.h:900:10: warning: this statement may
fall through [-Wimplicit-fallthrough=]

Source code is

    case _FP_CLS_COMBINE (FP_CLS_NAN, FP_CLS_NORMAL):   \
    case _FP_CLS_COMBINE (FP_CLS_NAN, FP_CLS_INF):      \
    case _FP_CLS_COMBINE (FP_CLS_NAN, FP_CLS_ZERO):     \
      R##_s = X##_s;                    \
                                \
    case _FP_CLS_COMBINE (FP_CLS_INF, FP_CLS_INF):      \
    case _FP_CLS_COMBINE (FP_CLS_INF, FP_CLS_NORMAL):   \

Suggest either add the missing break or document the fallthrough.

Reply via email to