RFA: Fix cris --enable-werror-always build

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Fri Nov 12 20:43:00 GMT 2010


> Date: Fri, 12 Nov 2010 13:16:26 -0500
> From: Joern Rennecke <amylaar@spamcop.net>

> saved_regs_mentioned appears to be an orphan of
> cris_eligible_for_epilogue_delay, which was deleted in 2005.

Also due to a simplified "return" pattern, JFTR.
(I.e. not hiding part of the epilogue there.)

> 	  (cris_rtx_costs): Casr argument 2 to rtx_cost to enum rtx_code.

Typo.  Ok with that fixed. :)

And thanks!

Maybe that's already been discussed, but isn't the argument
casting a case for fixing the hook to use enum as arguments
instead of int?

brgds, H-P



More information about the Gcc-patches mailing list