[Bug middle-end/101062] [10/11/12 Regression] wrong code with "-O2 -fno-toplevel-reorder -frename-registers"

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 17 09:13:08 GMT 2021


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

--- Comment #15 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Eric, any idea what's going on?  Shall I readd if (TREE_CODE (t) ==
> QUAL_UNION_TYPE) return; at the start function and thus ignore
> QUAL_UNION_TYPE and handle only UNION_TYPEs, or should the bitfield
> representatives in QUAL_UNION_TYPE get some DECL_QUALIFIER (either one that
> always evaluates to false, or the same as corresponding bitfield), something
> else?

Let's try the former, i.e. disable the new code for QUAL_UNION_TYPE.


More information about the Gcc-bugs mailing list