Bug 773565 - ICE in reload_cse_simplify_operands, at postreload.c:403
Summary: ICE in reload_cse_simplify_operands, at postreload.c:403
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: s390
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-12 09:36 UTC by Dan Horák
Modified: 2012-01-24 07:59 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-24 07:46:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
preprocessed source (455.87 KB, text/plain)
2012-01-12 09:42 UTC, Dan Horák
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 51856 0 None None None Never

Description Dan Horák 2012-01-12 09:36:39 UTC
cd /builddir/build/BUILD/mysql-5.5.19/storage/myisam && /usr/bin/gcc  -DDBUG_OFF -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -m31 -march=z9-109 -mtune=z10 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -fPIC  -fPIC -Wall -I/builddir/build/BUILD/mysql-5.5.19/include -I/builddir/build/BUILD/mysql-5.5.19/sql -I/builddir/build/BUILD/mysql-5.5.19/regex    -o CMakeFiles/myisam.dir/mi_create.c.o   -c /builddir/build/BUILD/mysql-5.5.19/storage/myisam/mi_create.c
/builddir/build/BUILD/mysql-5.5.19/storage/myisam/mi_create.c: In function 'mi_create':
/builddir/build/BUILD/mysql-5.5.19/storage/myisam/mi_create.c:844:1: error: insn does not satisfy its constraints:
(insn 1697 4412 4413 208 (set (mem/s/j/c:QI (plus:SI (reg/f:SI 15 %r15)
                (const_int 3659 [0xe4b])) [0 share.state.header.uniques+0 S1 A8])
        (mem/c/i:QI (plus:SI (plus:SI (reg/f:SI 15 %r15)
                    (reg:SI 1 %r1))
                (const_int 435 [0x1b3])) [0 uniques+3 S1 A32])) /builddir/build/BUILD/mysql-5.5.19/storage/myisam/mi_create.c:530 73 {*movqi}
     (nil))
/builddir/build/BUILD/mysql-5.5.19/storage/myisam/mi_create.c:844:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:403
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccInOfel.out file, please attach this to your bugreport.

Comment 1 Dan Horák 2012-01-12 09:42:16 UTC
Created attachment 552364 [details]
preprocessed source

gcc version 4.7.0 20120106 (Red Hat 4.7.0-0.5)

Comment 2 Dan Horák 2012-01-12 09:48:58 UTC
and last note - it's on s390 (31/32 bit), s390x (64 bit) is OK

Comment 3 Jakub Jelinek 2012-01-24 07:46:27 UTC
Should be fixed already in gcc-4.7.0-0.8.fc17.  Note, not sure what's going on in the s390 buildroots, but gcc-4.7.0-0.9.fc17 doesn't build there, it dies already very early in configure scripts, would need to see config.log what exactly is going on, but probably something is wrong with the compiler or its dependencies that are in the buildroots right now.

Comment 4 Dan Horák 2012-01-24 07:59:54 UTC
(In reply to comment #3)
> Should be fixed already in gcc-4.7.0-0.8.fc17.  Note, not sure what's going on
> in the s390 buildroots, but gcc-4.7.0-0.9.fc17 doesn't build there, it dies
> already very early in configure scripts, would need to see config.log what
> exactly is going on, but probably something is wrong with the compiler or its
> dependencies that are in the buildroots right now.

Jakub, I'm looking what's wrong right (the compiler segfaults) now and will let you know the result.


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