Bug 947433

Summary: ICE: in hide_evolution_in_other_loops_than_loop, at tree-chrec.c:715
Product: [Fedora] Fedora Reporter: Dan Horák <dan>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: jakub, law
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-02 18:19:19 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:
Attachments:
Description Flags
preprocessed source file none

Description Dan Horák 2013-04-02 12:16:26 UTC
Created attachment 730731 [details]
preprocessed source file

build of SimGear 2.10.0 fails on s390 with

...
cd /builddir/build/BUILD/simgear-2.10.0/simgear && /usr/bin/c++   -DHAVE_CONFIG_H -DHAVE_INTTYPES_H -DSimGearScene_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -m31 -march=z9-109 -mtune=z10  -Wall  -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION -DBOOST_BIMAP_DISABLE_SERIALIZATION -O3 -DNDEBUG -fPIC -I/builddir/build/BUILD/simgear-2.10.0 -I/builddir/build/BUILD/simgear-2.10.0/simgear/canvas/ShivaVG/include -I/builddir/build/BUILD/simgear-2.10.0/simgear -I/builddir/build/BUILD/simgear-2.10.0/simgear/xml -I/usr/include/AL -I/usr/include/subversion-1     -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1 -o CMakeFiles/SimGearScene.dir/scene/tgdb/SGBuildingBin.cxx.o -c /builddir/build/BUILD/simgear-2.10.0/simgear/scene/tgdb/SGBuildingBin.cxx
/builddir/build/BUILD/simgear-2.10.0/simgear/scene/tgdb/SGBuildingBin.cxx: In member function ‘osg::ref_ptr<osg::Group> simgear::SGBuildingBin::createBuildingsGroup(osg::Matrix, const simgear::SGReaderWriterOptions*)’:
/builddir/build/BUILD/simgear-2.10.0/simgear/scene/tgdb/SGBuildingBin.cxx:720:18: internal compiler error: in hide_evolution_in_other_loops_than_loop, at tree-chrec.c:715
   ref_ptr<Group> SGBuildingBin::createBuildingsGroup(Matrix transInv, const SGReaderWriterOptions* options)
                  ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccYxU6Jm.out file, please attach this to your bugreport.


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

The error message looks almost the same as http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55687

Comment 1 Dan Horák 2013-04-02 12:20:22 UTC
I noticed now -O3 was used, so retried with -O2, it also fails with the same error, and succeeds with -O1

Comment 2 Dan Horák 2013-04-02 12:28:50 UTC
The same problem exists on both s390 and s390x arches.

Comment 3 Jakub Jelinek 2013-04-02 18:19:19 UTC
Tracking upstream.