aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-rtl.c
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2014-05-13 10:39:16 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2014-05-13 10:39:16 +0000
commitda3cd1136113a13ae25b7deaf4bc02e250af054c (patch)
treebc60a87a8aa3c9a5fb0a854d48dfb065714a3899 /gcc/print-rtl.c
parentfcc74520d0d99921af1d22971465d07225b488f9 (diff)
downloadgcc-da3cd1136113a13ae25b7deaf4bc02e250af054c.zip
gcc-da3cd1136113a13ae25b7deaf4bc02e250af054c.tar.gz
gcc-da3cd1136113a13ae25b7deaf4bc02e250af054c.tar.bz2
rtl.def (SYMBOL_REF): Remove middle "0" field.
gcc/ * rtl.def (SYMBOL_REF): Remove middle "0" field. * rtl.h (block_symbol): Reduce number of fields to 2. (rtx_def): Add u2.symbol_ref_flags. (SYMBOL_REF_FLAGS): Use it. (SYMBOL_REF_DATA, SET_SYMBOL_REF_DECL, SYMBOL_REF_DECL) (SET_SYMBOL_REF_CONSTANT, SYMBOL_REF_CONSTANT): Lower index. * gengtype.c (adjust_field_rtx_def): Remove SYMBOL_REF_FLAGS handling. Lower index of SYMBOL_REF_DATA. * print-rtl.c (print_rtx): Lower index for SYMBOL_REF_DATA. Print SYMBOL_REF_FLAGS at the same time. * genattrtab.c (attr_rtx_1): Only initialize 1 "0" SYMBOL_REF field. From-SVN: r210363
Diffstat (limited to 'gcc/print-rtl.c')
-rw-r--r--gcc/print-rtl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c
index 9d90325..66d98b1 100644
--- a/gcc/print-rtl.c
+++ b/gcc/print-rtl.c
@@ -224,9 +224,6 @@ print_rtx (const_rtx in_rtx)
int flags = SYMBOL_REF_FLAGS (in_rtx);
if (flags)
fprintf (outfile, " [flags %#x]", flags);
- }
- else if (i == 2 && GET_CODE (in_rtx) == SYMBOL_REF)
- {
tree decl = SYMBOL_REF_DECL (in_rtx);
if (decl)
print_node_brief (outfile, "", decl, dump_flags);