[Bug middle-end/103127] ICE in fold_convert_loc, at fold-const.c:2573

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 8 08:53:56 GMT 2021


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|tree-optimization           |middle-end
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=98872

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The types are OPAQUE_TYPE.

/* This is for types that will use MODE_OPAQUE in the back end.  They are meant
   to be able to go in a register of some sort but are explicitly not to be
   converted or operated on like INTEGER_TYPE.  They will have size and
   alignment information only.  */
DEFTREECODE (OPAQUE_TYPE, "opaque_type", tcc_type, 0)

So if I understand this correctly and PR 98872 correctly. We should not expand
a DEFERRED_INIT for this type.


More information about the Gcc-bugs mailing list