https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102605

--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:90c3a62272313bb08cd5d9a948ff2d71af73b294

commit r12-4208-g90c3a62272313bb08cd5d9a948ff2d71af73b294
Author: Richard Biener <rguent...@suse.de>
Date:   Tue Oct 5 14:49:42 2021 +0200

    More consistently dump GIMPLE FE consumable stmts

    The following makes more stmts consumable with the GIMPLE FE
    when dumping with -gimple.  In particular addresses in GIMPLE
    operand position require wrapping with _Literal.

    The TDF_ flag space is now exhausted and I've removed overlaps
    and re-ordered things as to how it is supposed to work and
    made it uint32_t and prepared the operator overloads for an
    easy migration to uint64_t once required.

    2021-10-05  Richard Biener  <rguent...@suse.de>

            PR c/102605
            * dumpfile.h (TDF_GIMPLE_VAL): New.
            (dump_flag): Re-order and adjust TDF_* flags.  Make
            the enum uint32_t.  Use std::underlying_type in the
            operator overloads.
            (optgroup_flag): Likewise for the operator overloads.
            * tree-pretty-print.c (dump_generic_node): Wrap ADDR_EXPR
            in _Literal if TDF_GIMPLE_VAL.
            * gimple-pretty-print.c (dump_gimple_assign): Add
            TDF_GIMPLE_VAL to flags when dumping operands where only
            is_gimple_val are allowed.
            (dump_gimple_cond): Likewise.

Reply via email to