diff options
Diffstat (limited to 'gcc/graph.c')
-rw-r--r-- | gcc/graph.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/graph.c b/gcc/graph.c index 5e1627d..b0e9cba 100644 --- a/gcc/graph.c +++ b/gcc/graph.c @@ -146,9 +146,8 @@ darkgrey\n shape: ellipse" : "white", /* Print the RTL. */ if (NOTE_P (tmp_rtx)) { - const char *name = ""; - if (NOTE_LINE_NUMBER (tmp_rtx) < 0) - name = GET_NOTE_INSN_NAME (NOTE_LINE_NUMBER (tmp_rtx)); + const char *name; + name = GET_NOTE_INSN_NAME (NOTE_KIND (tmp_rtx)); fprintf (fp, " %s", name); } else if (INSN_P (tmp_rtx)) |