From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EF5C03858405; Fri, 10 Sep 2021 22:11:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EF5C03858405 From: "qinzhao at gcc dot gnu.org" 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 22:11: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: qinzhao at gcc dot gnu.org 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: cc 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 22:11:15 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102285 qinzhao at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |qinzhao at gcc dot gnu.org --- Comment #1 from qinzhao at gcc dot gnu.org --- (In reply to David Binderman from comment #0) > For the C source code under gcc/trunk/gcc/testsuite, I did: > > ./c-c++-common/dfp/func-vararg-size0.c:16:5: internal compiler error: > Segmentation fault I just tried: [opc@qinzhao-ol8u3-x86 gcc]$ cat t /home/opc/Work/GCC/build/gcc/xgcc -B/home/opc/Work/GCC/build/gcc/ /home/opc/Work/GCC/latest-gcc/gcc/testsuite/c-c++-common/dfp/func-vararg-si= ze0.c -g -ftrivial-auto-var-init=3Dzero -fdump-tree-gimple -O2 [opc@qinzhao-ol8u3-x86 gcc]$ sh t i.e, I didn't get the segmentation fault. could you list the full command line for the above testing case? Did you check with the latest upstream GCC? there are two bugs that had been fixed by Richard B last night.=