diff options
author | Janis Johnson <janis187@us.ibm.com> | 2002-02-01 23:38:46 +0000 |
---|---|---|
committer | Janis Johnson <janis@gcc.gnu.org> | 2002-02-01 23:38:46 +0000 |
commit | 02c5a3bd59e93557d9910c769d1c98100d84d6da (patch) | |
tree | 99393e22256bb0de9c34957cb75ae46297c67299 /gcc/cfganal.c | |
parent | ead39bdfefa53d7467e8eb7f8ac7a3fd6e0c1db5 (diff) | |
download | gcc-02c5a3bd59e93557d9910c769d1c98100d84d6da.zip gcc-02c5a3bd59e93557d9910c769d1c98100d84d6da.tar.gz gcc-02c5a3bd59e93557d9910c769d1c98100d84d6da.tar.bz2 |
cfganal.c: Include tm_p.h.
* cfganal.c: Include tm_p.h.
(keep_with_call_p): Fix the test that determines if a register holds
the return value of a call.
From-SVN: r49415
Diffstat (limited to 'gcc/cfganal.c')
-rw-r--r-- | gcc/cfganal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cfganal.c b/gcc/cfganal.c index a57b25a..6a10236 100644 --- a/gcc/cfganal.c +++ b/gcc/cfganal.c @@ -26,8 +26,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "hard-reg-set.h" #include "basic-block.h" #include "toplev.h" - #include "obstack.h" +#include "tm_p.h" /* Store the data structures necessary for depth-first search. */ struct depth_first_search_dsS { @@ -227,7 +227,7 @@ keep_with_call_p (insn) && fixed_regs[REGNO (SET_DEST (set))]) return true; if (GET_CODE (SET_SRC (set)) == REG - && REG_FUNCTION_VALUE_P (SET_SRC (set))) + && FUNCTION_VALUE_REGNO_P (REGNO (SET_SRC (set)))) return true; } return false; |