diff options
author | Andrey Belevantsev <abel@ispras.ru> | 2010-10-14 11:59:57 +0400 |
---|---|---|
committer | Andrey Belevantsev <abel@gcc.gnu.org> | 2010-10-14 11:59:57 +0400 |
commit | cfeb0fa8c91502d26d8e2cab0065ba6946562d4d (patch) | |
tree | 2de47a8d5084668e3ae0cf4ea9c11b147f68cb80 /gcc/sched-vis.c | |
parent | 3e6a3f6fc3662f0c830f4d3e35634745ace379cf (diff) | |
download | gcc-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.c | 5 |
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: |