Bug 143806 - ICE on compiling file with -msse2
ICE on compiling file with -msse2
Product: Fedora
Classification: Fedora
Component: gcc34 (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
  Show dependency treegraph
Reported: 2004-12-28 09:02 EST by Richard Chan
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version: 3.4.3-11
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-12-29 07:50:39 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Preprocessed output (163.03 KB, application/octet-stream)
2004-12-28 09:07 EST, Richard Chan
no flags Details
Source file causing ICE + header files (201.29 KB, text/plain)
2004-12-28 09:08 EST, Richard Chan
no flags Details

  None (edit)
Description Richard Chan 2004-12-28 09:02:39 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041111 Firefox/1.0

Description of problem:
Compiling the file integer.cpp from



g++ -c -O2 -msse2 -pipe integer.cpp

results in ICE 
~/PROJECTS/Crypto/cryptopp-5.2.1> /usr/bin/c++ -g -O2 -msse2 
integer.cpp -c
integer.cpp: In static member function `static void
CryptoPP::P4Optimized::Multiply4(CryptoPP::word*, const
CryptoPP::word*, const CryptoPP::word*)':
integer.cpp:1704: error: insn does not satisfy its constraints:
(insn 794 793 628 0
/usr/lib/gcc/i386-redhat-linux/3.4.2/include/mmintrin.h:281 (set
(reg/v:V2SI 21 xmm0 [orig:193 <anonymous> ] [193])
        (mem:V2SI (plus:SI (reg/f:SI 6 bp)
                (const_int -136 [0xffffff78])) [0 S8 A8])) 499
{movv2si_internal} (nil)
integer.cpp:1704: internal compiler error: in
reload_cse_simplify_operands, at postreload.c:391
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccD8OQO1.out file, please attach
this to your bugreport.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Download zip file and unzip
2. Try to compile integer.cpp

Actual Results:  ICE as above

Expected Results:  File is compiled to integer.o file.

gcc -O -msse2 succeeds

Additional info:
Comment 1 Richard Chan 2004-12-28 09:07:20 EST
Created attachment 109147 [details]
Preprocessed output
Comment 2 Richard Chan 2004-12-28 09:08:49 EST
Created attachment 109148 [details]
Source file causing ICE + header files

Extracted from full package
Comment 3 Richard Chan 2004-12-28 09:24:43 EST
ICE does not happen using gcc 3.3.5 or
gcc 3.4.4 prerelease 20041228 (just tried it from CVS).
Comment 4 Jakub Jelinek 2004-12-29 07:50:39 EST
This is fixed in gcc-3.4.3-11 (that should appear in rawhide today).

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