From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 767893858417; Sat, 2 Oct 2021 07:42:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 767893858417 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/101071] [9/10/11/12 Regression] ICE in gimplify_init_constructor, at gimplify.c:5228 Date: Sat, 02 Oct 2021 07:42:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone short_desc cf_known_to_work cf_known_to_fail cf_reconfirmed_on bug_status everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Oct 2021 07:42:20 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D101071 Andrew Pinski 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 --- 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=3Dc++14 using -std=3Dc++11 the code does not ICE. Also note in GCC 9.3 and before -fno-elide-constructors -std=3Dc++14 rejec= ts the code.=