Commit 0478a14c by Jan Hubicka Committed by Jan Hubicka

integrate.c (copy_insn_list): Properly pace the INSN_SCOPE copies.


	* integrate.c (copy_insn_list): Properly pace the INSN_SCOPE copies.
	* toplev.c: Include cfglahout.h
	* Makefile.in (toplev.c): Add dependnecy.

From-SVN: r54212
parent 6d38783a
Mon Jun 3 11:53:01 CEST 2002 Jan Hubicka <jh@suse.cz>
* integrate.c (copy_insn_list): Properly pace the INSN_SCOPE copies.
* toplev.c: Include cfglahout.h
* Makefile.in (toplev.c): Add dependnecy.
2002-06-03 Neil Booth <neil@daikokuya.demon.co.uk> 2002-06-03 Neil Booth <neil@daikokuya.demon.co.uk>
* config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): New. * config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): New.
......
...@@ -1369,7 +1369,7 @@ toplev.o : toplev.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(RTL_H) function.h \ ...@@ -1369,7 +1369,7 @@ toplev.o : toplev.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(RTL_H) function.h \
dwarf2out.h sdbout.h dbxout.h $(EXPR_H) hard-reg-set.h $(BASIC_BLOCK_H) \ dwarf2out.h sdbout.h dbxout.h $(EXPR_H) hard-reg-set.h $(BASIC_BLOCK_H) \
graph.h $(LOOP_H) except.h $(REGS_H) $(TIMEVAR_H) $(lang_options_files) \ graph.h $(LOOP_H) except.h $(REGS_H) $(TIMEVAR_H) $(lang_options_files) \
ssa.h $(PARAMS_H) $(TM_P_H) reload.h dwarf2asm.h $(TARGET_H) halfpic.h \ ssa.h $(PARAMS_H) $(TM_P_H) reload.h dwarf2asm.h $(TARGET_H) halfpic.h \
langhooks.h insn-flags.h options.h langhooks.h insn-flags.h options.h cfglayout.h
$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
-DTARGET_NAME=\"$(target_alias)\" \ -DTARGET_NAME=\"$(target_alias)\" \
-c $(srcdir)/toplev.c $(OUTPUT_OPTION) -c $(srcdir)/toplev.c $(OUTPUT_OPTION)
......
...@@ -1334,7 +1334,6 @@ copy_insn_list (insns, map, static_chain_value) ...@@ -1334,7 +1334,6 @@ copy_insn_list (insns, map, static_chain_value)
switch (GET_CODE (insn)) switch (GET_CODE (insn))
{ {
case INSN: case INSN:
INSN_SCOPE (copy) = INSN_SCOPE (insn);
pattern = PATTERN (insn); pattern = PATTERN (insn);
set = single_set (insn); set = single_set (insn);
copy = 0; copy = 0;
...@@ -1505,10 +1504,10 @@ copy_insn_list (insns, map, static_chain_value) ...@@ -1505,10 +1504,10 @@ copy_insn_list (insns, map, static_chain_value)
#else #else
try_constants (copy, map); try_constants (copy, map);
#endif #endif
INSN_SCOPE (copy) = INSN_SCOPE (insn);
break; break;
case JUMP_INSN: case JUMP_INSN:
INSN_SCOPE (copy) = INSN_SCOPE (insn);
if (map->integrating && returnjump_p (insn)) if (map->integrating && returnjump_p (insn))
{ {
if (map->local_return_label == 0) if (map->local_return_label == 0)
...@@ -1526,6 +1525,7 @@ copy_insn_list (insns, map, static_chain_value) ...@@ -1526,6 +1525,7 @@ copy_insn_list (insns, map, static_chain_value)
cc0_insn = 0; cc0_insn = 0;
#endif #endif
try_constants (copy, map); try_constants (copy, map);
INSN_SCOPE (copy) = INSN_SCOPE (insn);
/* If this used to be a conditional jump insn but whose branch /* If this used to be a conditional jump insn but whose branch
direction is now know, we must do something special. */ direction is now know, we must do something special. */
...@@ -1555,7 +1555,6 @@ copy_insn_list (insns, map, static_chain_value) ...@@ -1555,7 +1555,6 @@ copy_insn_list (insns, map, static_chain_value)
/* If this is a CALL_PLACEHOLDER insn then we need to copy the /* If this is a CALL_PLACEHOLDER insn then we need to copy the
three attached sequences: normal call, sibling call and tail three attached sequences: normal call, sibling call and tail
recursion. */ recursion. */
INSN_SCOPE (copy) = INSN_SCOPE (insn);
if (GET_CODE (PATTERN (insn)) == CALL_PLACEHOLDER) if (GET_CODE (PATTERN (insn)) == CALL_PLACEHOLDER)
{ {
rtx sequence[3]; rtx sequence[3];
...@@ -1594,6 +1593,7 @@ copy_insn_list (insns, map, static_chain_value) ...@@ -1594,6 +1593,7 @@ copy_insn_list (insns, map, static_chain_value)
SIBLING_CALL_P (copy) = SIBLING_CALL_P (insn); SIBLING_CALL_P (copy) = SIBLING_CALL_P (insn);
CONST_OR_PURE_CALL_P (copy) = CONST_OR_PURE_CALL_P (insn); CONST_OR_PURE_CALL_P (copy) = CONST_OR_PURE_CALL_P (insn);
INSN_SCOPE (copy) = INSN_SCOPE (insn);
/* Because the USAGE information potentially contains objects other /* Because the USAGE information potentially contains objects other
than hard registers, we need to copy it. */ than hard registers, we need to copy it. */
......
...@@ -70,6 +70,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA ...@@ -70,6 +70,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "debug.h" #include "debug.h"
#include "target.h" #include "target.h"
#include "langhooks.h" #include "langhooks.h"
#include "cfglayout.h"
#if defined (DWARF2_UNWIND_INFO) || defined (DWARF2_DEBUGGING_INFO) #if defined (DWARF2_UNWIND_INFO) || defined (DWARF2_DEBUGGING_INFO)
#include "dwarf2out.h" #include "dwarf2out.h"
......
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