[Bug target/68405] New: trunk/gcc/config/i386/i386.c:22951: possible missing break ?

dcb314 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Wed Nov 18 09:44:00 GMT 2015


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

            Bug ID: 68405
           Summary: trunk/gcc/config/i386/i386.c:22951: possible missing
                    break ?
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

[trunk/gcc/config/i386/i386.c:22951] -> [trunk/gcc/config/i386/i386.c:22953]:
(warning) Variable 'unspec_code' is reassigned a value before the old one has
been used. 'break;' missing?

Source code is

  switch (code)
    {
    case LEU:
    case GTU:
    case GEU:
    case LTU:
      unspec_code = UNSPEC_UNSIGNED_PCMP;
    default:
      unspec_code = UNSPEC_PCMP;
    }


More information about the Gcc-bugs mailing list