summaryrefslogtreecommitdiff
path: root/gcc/rtlanal.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-12 01:08:11 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-12 01:08:11 +0000
commitaee989f56dda50cd86c46cc0dfca485dfde5e1e9 (patch)
treec8335b3369540a14b42975cea7b005816c103e24 /gcc/rtlanal.c
parentb65e027cf3f5ab06a97475b51c4e54b8c15d2b41 (diff)
downloadgcc-aee989f56dda50cd86c46cc0dfca485dfde5e1e9.tar.gz
* rtlanal.c: Include recog.h.
(keep_with_call_p): Fix thinko. * Makefile.in (rtlanal.o): Update dependencies. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50623 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtlanal.c')
-rw-r--r--gcc/rtlanal.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c
index 997bb525a2b..70cbbf8e21d 100644
--- a/gcc/rtlanal.c
+++ b/gcc/rtlanal.c
@@ -25,6 +25,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "toplev.h"
#include "rtl.h"
#include "hard-reg-set.h"
+#include "insn-config.h"
+#include "recog.h"
#include "tm_p.h"
/* Forward declarations */
@@ -3140,17 +3142,15 @@ keep_with_call_p (insn)
&& GET_CODE (SET_DEST (set)) == REG
&& REGNO (SET_DEST (set)) >= FIRST_PSEUDO_REGISTER)
return true;
- /* There may be stack pop just after the call and
- before actual store of return register. Search
- for the actual store when deciding if we can break
- or not. */
+ /* There may be a stack pop just after the call and before the store
+ of the return register. Search for the actual store when deciding
+ if we can break or not. */
if (SET_DEST (set) == stack_pointer_rtx)
{
rtx i2 = next_nonnote_insn (insn);
- if (i2 && keep_with_call_p (insn))
+ if (i2 && keep_with_call_p (i2))
return true;
}
}
return false;
}
-