Bug 1798565

Summary: internal compiler error: in get_fns, at cp/tree.c:2507 (gcc 10)
Product: [Fedora] Fedora Reporter: Mattias Ellert <mattias.ellert>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 32CC: aoliva, avi.kivity, dmalcolm, fweimer, jakub, jwakely, law, mpolacek, msebor, nickc, sipoyare
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 10.0.1-0.8.fc32 10.0.1-0.8.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-23 05:12:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1792464, 1799125    
Attachments:
Description Flags
Preprocessed source none

Description Mattias Ellert 2020-02-05 15:23:12 UTC
Description of problem:

With the update from gcc-10.0.1-0.5.fc32 to gcc-10.0.1-0.6.fc32 the build of HepMC3 started failing with an internal compiler error. This happens for all architectures. The package failed the mass rebuild:

https://koji.fedoraproject.org/koji/buildinfo?buildID=1433152

Version-Release number of selected component (if applicable):

gcc-10.0.1-0.6.fc32
gcc-10.0.1-0.7.fc32

How reproducible:

Always

Steps to Reproduce:
1. Rebuild HepMC3 in rawhide

Actual results:

Failure due to internal compiler error.

Expected results:

Successful build

Additional info:

This is a regression from gcc-10.0.1-0.5.fc32. If I download the RPMs from koji for the gcc-10.0.1-0.5.fc32 and install them in a rawhide mock changeroot, the HepMC3 package can be built in this environment.

Comment 1 Marek Polacek 2020-02-05 15:28:34 UTC
I will need a preprocessed source file to look at this ICE; could you perhaps run an x86_64 scratch build with something like
make ... || (tar cf - /tmp/cc*.out | bzip2 -9 | uuencode cc.tar.bz2)
?

Comment 2 Jakub Jelinek 2020-02-05 16:19:43 UTC
Filed upstream as http://gcc.gnu.org/PR93597

Comment 3 Mattias Ellert 2020-02-05 16:20:09 UTC
Created attachment 1657951 [details]
Preprocessed source

Comment 4 Ben Cotton 2020-02-11 16:39:00 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle.
Changing version to 32.