Bug 773565 - ICE in reload_cse_simplify_operands, at postreload.c:403
ICE in reload_cse_simplify_operands, at postreload.c:403
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: gcc (Show other bugs)
rawhide
s390 Linux
unspecified Severity unspecified
: ---
: ---
Assigned To: Jakub Jelinek
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-12 04:36 EST by Dan Horák
Modified: 2012-01-24 02:59 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-01-24 02:46:27 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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


External Trackers
Tracker ID Priority Status Summary Last Updated
GNU Compiler Collection 51856 None None None Never

  None (edit)
Description Dan Horák 2012-01-12 04:36:39 EST
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 04:42:16 EST
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 04:48:58 EST
and last note - it's on s390 (31/32 bit), s390x (64 bit) is OK
Comment 3 Jakub Jelinek 2012-01-24 02:46:27 EST
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 02:59:54 EST
(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.