[Bug target/85978] config/frv/frv.c: 3 * iffy code in switch

nickc at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 30 15:29:00 GMT 2019


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

Nick Clifton <nickc at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Nick Clifton <nickc at gcc dot gnu.org> ---
Hi David,

  I think that it will be better to add the missing break statements and allow
the nested switches to correctly exit to the end of the function.  In that way
the code is clearly only looking for costs that are better than the default
HIGH_COST.

Cheers
  Nick


More information about the Gcc-bugs mailing list