[Bug c++/103265] Default initializer on [[no_unique_address]] member initialized by lambda invoking guaranteed copy elision crashes gcc

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 15 23:38:07 GMT 2021


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-11-15
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
It did not ICE in GCC 8.1.0 but that is because no_unique_address was not
supported. GCC 9.1.0 was the first one to support no_unique_address.

Confirmed.


More information about the Gcc-bugs mailing list