diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1998-03-12 12:32:24 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1998-03-12 12:32:24 +0000 |
commit | 8625fab57c81a961ed9b8cbfdffeced61149ef4a (patch) | |
tree | 438650a4cc809d9297f14c90877716871289189e /gcc/cse.c | |
parent | 27d7e05d4a13e44c45aae7a71078de30a613bc4f (diff) | |
download | gcc-8625fab57c81a961ed9b8cbfdffeced61149ef4a.zip gcc-8625fab57c81a961ed9b8cbfdffeced61149ef4a.tar.gz gcc-8625fab57c81a961ed9b8cbfdffeced61149ef4a.tar.bz2 |
Warning fixes, resulting in the addition of a new target macro:
* tm.texi (DEFAULT_RTX_COSTS): Document new macro.
* arm.h (DEFAULT_RTX_COSTS): Define instead of RTX_COSTS.
* cse.c (rtx_cost): Provide a default case in an enumeration
switch, and call DEFAULT_RTX_COSTS if it's defined.
Co-Authored-By: Nick Clifton <nickc@cygnus.com>
Co-Authored-By: Richard Earnshaw <rearnsha@arm.com>
From-SVN: r18513
Diffstat (limited to 'gcc/cse.c')
-rw-r--r-- | gcc/cse.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -751,6 +751,12 @@ rtx_cost (x, outer_code) RTX_COSTS (x, code, outer_code); #endif CONST_COSTS (x, code, outer_code); + + default: +#ifdef DEFAULT_RTX_COSTS + DEFAULT_RTX_COSTS(x, code, outer_code); +#endif + break; } /* Sum the costs of the sub-rtx's, plus cost of this operation, |