aboutsummaryrefslogtreecommitdiff
path: root/gcc/sched-vis.c
diff options
context:
space:
mode:
authorAndrey Belevantsev <abel@ispras.ru>2010-10-14 11:59:57 +0400
committerAndrey Belevantsev <abel@gcc.gnu.org>2010-10-14 11:59:57 +0400
commitcfeb0fa8c91502d26d8e2cab0065ba6946562d4d (patch)
tree2de47a8d5084668e3ae0cf4ea9c11b147f68cb80 /gcc/sched-vis.c
parent3e6a3f6fc3662f0c830f4d3e35634745ace379cf (diff)
downloadgcc-cfeb0fa8c91502d26d8e2cab0065ba6946562d4d.zip
gcc-cfeb0fa8c91502d26d8e2cab0065ba6946562d4d.tar.gz
gcc-cfeb0fa8c91502d26d8e2cab0065ba6946562d4d.tar.bz2
sel-sched-ir.c (init_global_and_expr_for_insn): Set CANT_MOVE on RTX_FRAME_RELATED_P insns and the insn to which...
* sel-sched-ir.c (init_global_and_expr_for_insn): Set CANT_MOVE on RTX_FRAME_RELATED_P insns and the insn to which NOTE_INSN_EPILOGUE_BEG is attached. * sched-vis.c (print_value): Allow NULL value. * gcc.target/ia64/20101005.c: New test. From-SVN: r165455
Diffstat (limited to 'gcc/sched-vis.c')
-rw-r--r--gcc/sched-vis.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/sched-vis.c b/gcc/sched-vis.c
index 98d1d1c..83c423a 100644
--- a/gcc/sched-vis.c
+++ b/gcc/sched-vis.c
@@ -428,6 +428,11 @@ print_value (char *buf, const_rtx x, int verbose)
char t[BUF_LEN];
char *cur = buf;
+ if (!x)
+ {
+ safe_concat (buf, buf, "(nil)");
+ return;
+ }
switch (GET_CODE (x))
{
case CONST_INT: