https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96292

            Bug ID: 96292
           Summary: Internal compiler error when compiling Mesa 20.1.x
           Product: gcc
           Version: 10.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: michael at michaelmarley dot com
  Target Milestone: ---

Created attachment 48918
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48918&action=edit
Preprocessed source file

GCC 10.1.x (specifically 10.1.0-6ubuntu1, taken from the gcc-10 git branch on
20200714) fails to compile Mesa 20.1.x with the following error message:

during RTL pass: expand
../src/gallium/auxiliary/tessellator/p_tessellator.cpp: In function
‘pipe_tessellator* p_tess_init(pipe_prim_type, pipe_tess_spacing, bool, bool)’:
../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,
      | ^~~~~~~~~~~

I attached the preprocessed source file causing the error.  The last GCC 10
package in Ubuntu that would successfully compile Mesa was 10.1.0-3ubuntu1,
which was taken from the gcc-10 git branch all the way back on 20200525. 
Sadly, I am not set up to be able to do a git bisect.

Reply via email to