Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 917287 - ICE: in declare_return_variable, at tree-inline.c:2833
Summary: ICE: in declare_return_variable, at tree-inline.c:2833
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: s390x
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ZedoraTracker
TreeView+ depends on / blocked
 
Reported: 2013-03-02 17:10 UTC by Dan Horák
Modified: 2013-03-05 12:00 UTC (History)
2 users (show)

Fixed In Version: gcc-4.8.0-0.15.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-05 12:00:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
preprocessed source file (290.14 KB, application/octet-stream)
2013-03-02 17:10 UTC, Dan Horák
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.