From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 618263858D35; Tue, 14 Jul 2020 08:12:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 618263858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1594714348; bh=yJsMfl/ZuF01Bp0NajwJ9qVNSy6tNpUizUEpnGeRQW4=; h=From:To:Subject:Date:From; b=KhRyNtNViKInzkoKMwvaVGKwhe99B1kR52QZ4NfGbqr2qVPZfuJAv+ELkVqJw5TuH yZ4O0wZMIibNuJCqjuSo0Uwm8Z8+3GaWBTXAdi0YLsHcO4402pHwjIJNbQpE/lqMC8 MG+tXCZZIRwFdtWDofwaVfmYzc+UaKLjBVRVCNvI= From: "manuel.lauss at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/96194] New: 10.1.1: ICE in assign_temp, at function.c:984 during RTL pass: expand Date: Tue, 14 Jul 2020 08:12:28 +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.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manuel.lauss at googlemail 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: Tue, 14 Jul 2020 08:12:28 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96194 Bug ID: 96194 Summary: 10.1.1: ICE in assign_temp, at function.c:984 during RTL pass: expand Product: gcc Version: 10.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: manuel.lauss at googlemail dot com Target Milestone: --- Created attachment 48872 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D48872&action=3Dedit unreduced testcase The attached unreduced testcase, extracted from current mesa, generates the following ICE with -O2 or higher. Current 10.1.1 as of today (14.07.2020), with the fix to PR96130 applied. # g++ -O2 -c p_tesselator.i during RTL pass: expand ../mesa-9999/src/gallium/auxiliary/tessellator/p_tessellator.cpp: In functi= on 'pipe_tessellator* p_tess_init(pipe_prim_type, pipe_tess_spacing, bool, boo= l)': ../mesa-9999/src/gallium/auxiliary/tessellator/p_tessellator.cpp:130:1: internal compiler error: in assign_temp, at function.c:984 130 | p_tess_init(enum pipe_prim_type tes_prim_mode, | ^~~~~~~~~~~ Please submit a full bug report, with preprocessed source if appropriate. See for instructions.=