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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2022-08-18
            Summary|g++ crashes on funky        |[10/11/12/13 Regression]
                   |operators                   |g++ crashes on funky
                   |                            |operators
      Known to fail|                            |12.1.0, 8.4.0, 8.5.0, 9.1.0
   Target Milestone|---                         |10.5
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Isabella from comment #0)
> g++ from v11 onward crashes on it: https://godbolt.org/z/nYqo1zj31

That is because the language default changed to gnu++17 from gnu++14.

Confirmed. It might be considered a regression even though it was rejected
before GCC 8.4.0.

The ICE is in joust_maybe_elide_copy.

Reply via email to