re PR target/38811 (internal compiler error: in compensate_edge, at reg-stack.c:2754)
2009-01-13 Vladimir Makarov <vmakarov@redhat.com> PR target/38811 * Makefile.in (ira-lives.o): Add except.h. * ira-lives.c: Include except.h. (process_bb_node_lives): Process can_throw_internal. From-SVN: r143362
This commit is contained in:
parent
41d3c94943
commit
cf0c2a602b
|
@ -1,3 +1,11 @@
|
||||||
|
2009-01-13 Vladimir Makarov <vmakarov@redhat.com>
|
||||||
|
|
||||||
|
PR target/38811
|
||||||
|
* Makefile.in (ira-lives.o): Add except.h.
|
||||||
|
|
||||||
|
* ira-lives.c: Include except.h.
|
||||||
|
(process_bb_node_lives): Process can_throw_internal.
|
||||||
|
|
||||||
2009-01-13 Jakub Jelinek <jakub@redhat.com>
|
2009-01-13 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
PR rtl-optimization/38774
|
PR rtl-optimization/38774
|
||||||
|
|
|
@ -2936,7 +2936,7 @@ ira-emit.o: ira-emit.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
||||||
$(EXPR_H) $(BASIC_BLOCK_H) $(TOPLEV_H) $(TM_P_H) $(PARAMS_H) \
|
$(EXPR_H) $(BASIC_BLOCK_H) $(TOPLEV_H) $(TM_P_H) $(PARAMS_H) \
|
||||||
$(IRA_INT_H)
|
$(IRA_INT_H)
|
||||||
ira-lives.o: ira-lives.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
ira-lives.o: ira-lives.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
||||||
$(TARGET_H) $(RTL_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) \
|
$(TARGET_H) $(RTL_H) $(REGS_H) except.h hard-reg-set.h $(FLAGS_H) \
|
||||||
insn-config.h $(RECOG_H) $(BASIC_BLOCK_H) $(TOPLEV_H) $(TM_P_H) $(PARAMS_H) \
|
insn-config.h $(RECOG_H) $(BASIC_BLOCK_H) $(TOPLEV_H) $(TM_P_H) $(PARAMS_H) \
|
||||||
$(DF_H) sparseset.h $(IRA_INT_H)
|
$(DF_H) sparseset.h $(IRA_INT_H)
|
||||||
ira.o: ira.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
ira.o: ira.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
||||||
|
|
|
@ -28,6 +28,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
#include "tm_p.h"
|
#include "tm_p.h"
|
||||||
#include "target.h"
|
#include "target.h"
|
||||||
#include "flags.h"
|
#include "flags.h"
|
||||||
|
#include "except.h"
|
||||||
#include "hard-reg-set.h"
|
#include "hard-reg-set.h"
|
||||||
#include "basic-block.h"
|
#include "basic-block.h"
|
||||||
#include "insn-config.h"
|
#include "insn-config.h"
|
||||||
|
@ -985,6 +986,13 @@ process_bb_node_lives (ira_loop_tree_node_t loop_tree_node)
|
||||||
SET_HARD_REG_SET (ALLOCNO_CONFLICT_HARD_REGS (a));
|
SET_HARD_REG_SET (ALLOCNO_CONFLICT_HARD_REGS (a));
|
||||||
SET_HARD_REG_SET (ALLOCNO_TOTAL_CONFLICT_HARD_REGS (a));
|
SET_HARD_REG_SET (ALLOCNO_TOTAL_CONFLICT_HARD_REGS (a));
|
||||||
}
|
}
|
||||||
|
if (can_throw_internal (insn))
|
||||||
|
{
|
||||||
|
IOR_HARD_REG_SET (ALLOCNO_TOTAL_CONFLICT_HARD_REGS (a),
|
||||||
|
call_used_reg_set);
|
||||||
|
IOR_HARD_REG_SET (ALLOCNO_CONFLICT_HARD_REGS (a),
|
||||||
|
call_used_reg_set);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue