aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-rtl.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2015-08-21 20:03:33 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2015-08-21 20:03:33 +0000
commit27294e9f02f9752a842d2ebb615f222aaef3a7a7 (patch)
treedabc99615a73357f7db3124e133df3dbd32b15d1 /gcc/print-rtl.c
parent2d88904a41a16649193d96b42ccd415c57e08b71 (diff)
downloadgcc-27294e9f02f9752a842d2ebb615f222aaef3a7a7.zip
gcc-27294e9f02f9752a842d2ebb615f222aaef3a7a7.tar.gz
gcc-27294e9f02f9752a842d2ebb615f222aaef3a7a7.tar.bz2
fix -fdump-unnumbered-links
for gcc/ChangeLog * print-rtl.c (print_rtx): Check the correct range for flag_dump_unnumbered_links to behave as documented. From-SVN: r227086
Diffstat (limited to 'gcc/print-rtl.c')
-rw-r--r--gcc/print-rtl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c
index aacadbb..b541d83 100644
--- a/gcc/print-rtl.c
+++ b/gcc/print-rtl.c
@@ -550,7 +550,7 @@ print_rtx (const_rtx in_rtx)
}
if (flag_dump_unnumbered
- || (flag_dump_unnumbered_links && (i == 1 || i == 2)
+ || (flag_dump_unnumbered_links && i <= 1
&& (INSN_P (in_rtx) || NOTE_P (in_rtx)
|| LABEL_P (in_rtx) || BARRIER_P (in_rtx))))
fputs (" #", outfile);