Bug 188183 - ICE compiling with -O
ICE compiling with -O
Product: Fedora
Classification: Fedora
Component: gcc (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
  Show dependency treegraph
Reported: 2006-04-06 14:58 EDT by Kai Engert (:kaie)
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-04-06 15:27:28 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Preprocessed source (10.05 KB, text/x-csrc)
2006-04-06 14:58 EDT, Kai Engert (:kaie)
no flags Details

  None (edit)
Description Kai Engert (:kaie) 2006-04-06 14:58:45 EDT
Description of problem:
internal compiler error: Segmentation fault

Version-Release number of selected component (if applicable):
gcc version 4.1.0 20060304 (Red Hat 4.1.0-3)

How reproducible:

gcc -c -fPIC -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long
-pedantic -pthread -pipe -O x.c

No ICE if I emit -O

Original command:
gcc -o e_pow.o -c -I../../../dist/include/system_wrappers -include
/home/kaie/moz/18-ecc/mozilla/config/gcc_hidden.h -DOSTYPE=\"Linux2.6.16-1\"
-DOSARCH=\"Linux\" -DBUILD_ID=2006040620   -I../../../dist/include/js
-I../../../dist/include -I../../../dist/include/nspr   
-I../../../dist/sdk/include    -fPIC  -Wall -W -Wno-unused -Wpointer-arith
-Wcast-align -Wno-long-long -pedantic -pthread -pipe  -DNDEBUG -DTRIMMED -O
-D_IEEE_LIBM   -include ../../../mozilla-config.h -DMOZILLA_CLIENT
-Wp,-MD,.deps/e_pow.pp /home/kaie/moz/18-ecc/mozilla/js/src/fdlibm/e_pow.c: In
function ‘__ieee754_pow’:
/home/kaie/moz/18-ecc/mozilla/js/src/fdlibm/e_pow.c:386: internal compiler
error: Segmentation fault
Preprocessed source stored into /tmp/cc3vBWE8.out file, please attach this to
your bugreport.
gmake[1]: *** [e_pow.o] Error 1
Comment 1 Kai Engert (:kaie) 2006-04-06 14:58:45 EDT
Created attachment 127421 [details]
Preprocessed source
Comment 2 Kai Engert (:kaie) 2006-04-06 15:11:27 EDT
This seems to work with gcc from rawhide
Comment 3 Kai Engert (:kaie) 2006-04-06 15:20:33 EDT
To elaborate on my previous comment:

On a Rawhide machine with the same gcc version number installed
   gcc version 4.1.0 20060304 (Red Hat 4.1.0-3)
I do not get an ICE.
Comment 4 Kai Engert (:kaie) 2006-04-06 15:27:28 EDT
I'm confused. Although I had been able to repeatedly reproduce the problem, I no
longer can. I wonder if my machine got a hardware memory problem. Let me resolve
this as WORKSFORME for now, I'll reopen if I can reproduce again.

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