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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|10.4                        |9.5
            Summary|[10/11/12 Regression] ICE   |[9/10/11/12 Regression] ICE
                   |in                          |in
                   |gimplify_init_constructor,  |gimplify_init_constructor,
                   |at gimplify.c:5228          |at gimplify.c:5228
      Known to work|                            |9.3.0
      Known to fail|                            |10.1.0, 9.4.0
   Last reconfirmed|                            |2021-10-02
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed, also started to ICE in GCC 9.4.0.
Note the full command line needed to get the ICE is:
-fno-elide-constructors -O2 -std=c++14

using -std=c++11 the code does not ICE.
Also note in GCC 9.3 and before -fno-elide-constructors  -std=c++14 rejects the
code.

Reply via email to