Bug 75046 - ICE
Product: Red Hat Linux
Classification: Retired
Component: gcc (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2002-10-03 18:38 EDT by David Woodhouse
Modified: 2007-04-18 12:47 EDT (History)
0 users

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

Attachments (Terms of Use)
offending C file (2.57 KB, text/plain)
2002-10-03 18:39 EDT, David Woodhouse
no flags Details

  None (edit)
Description Red Hat Bugzilla 2002-10-03 18:38:31 EDT
passion /home/dwmw2 $ gcc -O asd.c -c
asd.c: In function `MOBreal':
asd.c:49: warning: right shift count >= width of type
asd.c:51: warning: right shift count >= width of type
asd.c:108: warning: right shift count >= width of type
asd.c:109: warning: right shift count >= width of type
asd.c:124: Internal compiler error in simplify_subreg, at simplify-rtx.c:2452
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
passion /home/dwmw2 $ rpm -q gcc
Comment 1 Red Hat Bugzilla 2002-10-03 18:39:35 EDT
Created attachment 78464 [details]
offending C file
Comment 2 Red Hat Bugzilla 2002-10-15 15:15:09 EDT
I hit this trying to build a PPC cross-binutils (binutils/gas/config/tc-ppc.c).
It seems to only occur with -O (or -O2 in binutils case), so removing -O is a
temporary workaround.
Comment 3 Red Hat Bugzilla 2002-11-27 12:18:50 EST
Should be fixed in gcc-3.2.1-1 in rawhide.

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