From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7CC9F385841B; Fri, 10 Sep 2021 23:10:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7CC9F385841B From: "qing.zhao at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/102285] New flag -ftrivial-auto-var-init=zero causes many crashes in the testsuite Date: Fri, 10 Sep 2021 23:10:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: qing.zhao at oracle dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: Fri, 10 Sep 2021 23:10:14 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102285 --- Comment #4 from Qing Zhao --- > On Sep 10, 2021, at 5:34 PM, pinskia at gcc dot gnu.org wrote: >=20 > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102285 >=20 > --- Comment #3 from Andrew Pinski --- > I wonder if most of these were fixed by r12-3447-g79f488de3036a There are two patches by Richard Biener last night to fix two bugs: commit 79f488de3036a4a4be08df2a782e6eb02419db19 Author: Richard Biener Date: Fri Sep 10 12:28:09 2021 +0200 middle-end/102273 - avoid ICE with auto-init and nested functions This refactors expansion to consider non-decl LHS. I suspect the is_val argument is not needed. commit 1dae802b685937b1dc52e49d0641c75f3186ba14 Author: Richard Biener Date: Fri Sep 10 10:17:24 2021 +0200 middle-end/102269 - avoid auto-init of empty types This avoids initializing empty types for which we'll eventually leave a .DEFERRED_INIT call without a LHS. I checked the failed testing cases listed by David, many of them have empty types. So, I guess that the above two patches might already fix these failures. >=20 > --=20 > You are receiving this mail because: > You are on the CC list for the bug.=