[Bug c/112504] ICE in operand_equal_p, at fold-const.cc:3313

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 13 06:30:13 GMT 2023


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2023-11-13
     Ever confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |NEW

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
The C++ front-end fixes this by wrapping the call of foo with a TARGET_EXPR.


More information about the Gcc-bugs mailing list