aboutsummaryrefslogtreecommitdiff
path: root/gcc/graph.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/graph.c')
-rw-r--r--gcc/graph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/graph.c b/gcc/graph.c
index 9dd5c8d..8718319 100644
--- a/gcc/graph.c
+++ b/gcc/graph.c
@@ -152,7 +152,7 @@ darkgrey\n shape: ellipse" : "white",
name = GET_NOTE_INSN_NAME (NOTE_LINE_NUMBER (tmp_rtx));
fprintf (fp, " %s", name);
}
- else if (GET_RTX_CLASS (GET_CODE (tmp_rtx)) == 'i')
+ else if (INSN_P (tmp_rtx))
print_rtl_single (fp, PATTERN (tmp_rtx));
else
print_rtl_single (fp, tmp_rtx);