diff options
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: |