Bug 917287

Summary: ICE: in declare_return_variable, at tree-inline.c:2833
Product: [Fedora] Fedora Reporter: Dan Horák <dan>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: jakub, law
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Unspecified   
Whiteboard:
Fixed In Version: gcc-4.8.0-0.15.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-05 12:00:29 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: 467765    
Attachments:
Description Flags
preprocessed source file none

Description Dan Horák 2013-03-02 17:10:45 UTC
Created attachment 704496 [details]
preprocessed source file

building coreutils 8.21 fails with an ICE on s390/s390x

...
In function 'process_line':
cc1: internal compiler error: in declare_return_variable, at tree-inline.c:2833
Please submit a full bug report,
with preprocessed source if appropriate.


Version-Release number of selected component (if applicable):
gcc-4.8.0-0.14.fc19.s390x

Comment 1 Dan Horák 2013-03-02 17:21:07 UTC
rerun with verbose output

...
gcc -std=gnu99  -I. -I./lib  -Ilib -I./lib -Isrc -I./src    -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -m64 -march=z9-109 -mtune=z10 -D_GNU_SOURCE=1 -fno-strict-aliasing -fpic -c -o src/numfmt.o src/numfmt.c
In function 'process_line':
cc1: internal compiler error: in declare_return_variable, at tree-inline.c:2833
Please submit a full bug report,

Comment 2 Dan Horák 2013-03-02 17:25:09 UTC
and using -O1 makes the ICE go away

Comment 3 Jakub Jelinek 2013-03-05 11:09:42 UTC
I couldn't reproduce this with a cross compiler, but similar ICE has been fixed recently, so please try gcc-4.8.0-0.15.fc19.

Comment 4 Dan Horák 2013-03-05 12:00:29 UTC
yes, seems to be fixed, no more ICE with gcc-4.8.0-0.15.fc19