[PATCH 4/8] [RS6000] rs6000_rtx_costs tidy break/return

Segher Boessenkool segher@kernel.crashing.org
Mon Jan 25 22:40:15 GMT 2021


On Thu, Oct 08, 2020 at 09:27:56AM +1030, Alan Modra wrote:
> Most cases use "return false" rather than breaking out of the switch.
> Do so in all cases.

>      default:
> -      break;
> +      return false;
>      }
> -
> -  return false;
>  }

Please don't do this part.  The rest is okay.  Thanks!


Segher


More information about the Gcc-patches mailing list