Commit bc204393 by Richard Henderson Committed by Richard Henderson

rtlanal.c: Include recog.h.

        * rtlanal.c: Include recog.h.
        (keep_with_call_p): Fix thinko.
        * Makefile.in (rtlanal.o): Update dependencies.

From-SVN: r50623
parent 63adb4ff
2002-03-11 Richard Henderson <rth@redhat.com>
* rtlanal.c: Include recog.h.
(keep_with_call_p): Fix thinko.
* Makefile.in (rtlanal.o): Update dependencies.
2002-03-11 Chris Meyer <cmeyer@gatan.com> 2002-03-11 Chris Meyer <cmeyer@gatan.com>
* genflags.c (gen_insn): Use IS_VSPACE. * genflags.c (gen_insn): Use IS_VSPACE.
......
...@@ -1366,7 +1366,9 @@ print-rtl.o : print-rtl.c $(GCONFIG_H) $(SYSTEM_H) $(RTL_H) $(TREE_H) \ ...@@ -1366,7 +1366,9 @@ print-rtl.o : print-rtl.c $(GCONFIG_H) $(SYSTEM_H) $(RTL_H) $(TREE_H) \
hard-reg-set.h $(BASIC_BLOCK_H) hard-reg-set.h $(BASIC_BLOCK_H)
$(CC) -c $(ALL_CFLAGS) -DGENERATOR_FILE $(ALL_CPPFLAGS) $(INCLUDES) $< $(OUTPUT_OPTION) $(CC) -c $(ALL_CFLAGS) -DGENERATOR_FILE $(ALL_CPPFLAGS) $(INCLUDES) $< $(OUTPUT_OPTION)
rtlanal.o : rtlanal.c $(CONFIG_H) $(SYSTEM_H) toplev.h $(RTL_H) hard-reg-set.h $(TM_P_H) rtlanal.o : rtlanal.c $(CONFIG_H) $(SYSTEM_H) toplev.h $(RTL_H) \
hard-reg-set.h $(TM_P_H) insn-config.h $(RECOG_H)
errors.o : errors.c $(GCONFIG_H) $(SYSTEM_H) errors.h errors.o : errors.c $(GCONFIG_H) $(SYSTEM_H) errors.h
$(CC) -c $(ALL_CFLAGS) -DGENERATOR_FILE $(ALL_CPPFLAGS) $(INCLUDES) $< $(OUTPUT_OPTION) $(CC) -c $(ALL_CFLAGS) -DGENERATOR_FILE $(ALL_CPPFLAGS) $(INCLUDES) $< $(OUTPUT_OPTION)
......
...@@ -25,6 +25,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA ...@@ -25,6 +25,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "toplev.h" #include "toplev.h"
#include "rtl.h" #include "rtl.h"
#include "hard-reg-set.h" #include "hard-reg-set.h"
#include "insn-config.h"
#include "recog.h"
#include "tm_p.h" #include "tm_p.h"
/* Forward declarations */ /* Forward declarations */
...@@ -3140,17 +3142,15 @@ keep_with_call_p (insn) ...@@ -3140,17 +3142,15 @@ keep_with_call_p (insn)
&& GET_CODE (SET_DEST (set)) == REG && GET_CODE (SET_DEST (set)) == REG
&& REGNO (SET_DEST (set)) >= FIRST_PSEUDO_REGISTER) && REGNO (SET_DEST (set)) >= FIRST_PSEUDO_REGISTER)
return true; return true;
/* There may be stack pop just after the call and /* There may be a stack pop just after the call and before the store
before actual store of return register. Search of the return register. Search for the actual store when deciding
for the actual store when deciding if we can break if we can break or not. */
or not. */
if (SET_DEST (set) == stack_pointer_rtx) if (SET_DEST (set) == stack_pointer_rtx)
{ {
rtx i2 = next_nonnote_insn (insn); rtx i2 = next_nonnote_insn (insn);
if (i2 && keep_with_call_p (insn)) if (i2 && keep_with_call_p (i2))
return true; return true;
} }
} }
return false; return false;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment