From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D1DC93857C40; Sat, 11 Jul 2020 13:16:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D1DC93857C40 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1594473369; bh=Mqxdrxxg0si8X6IbzOrGfZ3TfTga7Tokkm7ZEzi/7Oo=; h=From:To:Subject:Date:From; b=eTfTeny+MjHkiWDLNqCF6ZzXgL4ruerjUFCY+HRVGLWRg96AUx4NLaHNXWFBSAlcF Z+KXooZayY7ptd9GaOi14h0EbEkiwkIf7oxHtVXELdIqknDt0h/RJmFaowmPGdeuub W2hpWAyPj8RFfmeiIXRpieq73uEVejfpxG5kIJ7U= From: "jpalus+gcc at fastmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/96165] New: internal compiler error during IPA pass: fnsummary Date: Sat, 11 Jul 2020 13:16:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 10.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jpalus+gcc at fastmail 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: 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, 11 Jul 2020 13:16:09 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96165 Bug ID: 96165 Summary: internal compiler error during IPA pass: fnsummary Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: jpalus+gcc at fastmail dot com Target Milestone: --- Created attachment 48863 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D48863&action=3Dedit preprocessed source file During Mesa compilation gcc segfaults with: during IPA pass: fnsummary ../src/gallium/drivers/softpipe/sp_tex_sample.c: In function =E2=80=98sample_compare=E2=80=99: ../src/gallium/drivers/softpipe/sp_tex_sample.c:3862:1: internal compil= er error: Segmentation fault Confirmed on both aarch64 and x86_64, note that issue occurs only if -O flag was passed. Attached source file after preprocessor. Command to reproduce: gcc -O2 -c test.c -o test.o=