https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96194
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=48872&action=edit
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 function
'pipe_tessellator* p_tess_init(pipe_prim_type, pipe_tess_spacing, bool, bool)':
../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 <https://bugs.gentoo.org/> for instructions.