On 05/10/14 14:24, Richard Sandiford wrote:
Very much like the code to move ORIGINAL_REGNO, but with a few more
knock-on changes.  I handled the printing by dumping the flags
immediately before the SYMBOL_REF_DATA.

Tested on x86_64-linux-gnu.  OK to install?

Thanks,
Richard


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.
OK for the trunk.
jeff

Reply via email to