Bug 59084 - gcc-3.1-0.18 ICE with -fssa-ccp
Summary: gcc-3.1-0.18 ICE with -fssa-ccp
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: gcc
Version: 1.0
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-01-30 18:44 UTC by Valdis Kletnieks
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-01-30 18:45:43 UTC
Embargoed:


Attachments (Terms of Use)
Source code for -fssa-ccp ICE (20.25 KB, application/octet-stream)
2002-01-30 18:45 UTC, Valdis Kletnieks
no flags Details

Description Valdis Kletnieks 2002-01-30 18:44:37 UTC
Description of Problem: Compiler gets an ICE with the attached source


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

How Reproducible: Compile the attached source file with given flags


Steps to Reproduce:
1. gunzip ssa-botch-1.i.gz
2. gcc -c  -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pipe -s
-mcpu=i686 -march=i686 -ffast-math -fexpensive-optimizations -mmmx -msse -fssa
-fssa-ccp  ssa-botch-1.i

3. Watch the abort happen

Actual Results:
[~]2 gcc -c  -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pipe -s
-mcpu=i686 -march=i686 -ffast-math -fexpensive-optimizations -mmmx -msse -fssa
-fssa-ccp  ssa-botch-1.i 
/home/valdis/src/xemacs-21.5/lib-src/gnuslib.c: In function
`connect_to_internet_server':
/home/valdis/src/xemacs-21.5/lib-src/gnuslib.c:301: Internal compiler error in
ix86_match_ccmode, at config/i386/i386.c:6919
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
[~]2 gcc -c  -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pipe -s
-mcpu=i686 -march=i686 -ffast-math -fexpensive-optimizations -mmmx -msse -fssa 
ssa-botch-1.i 
[~]2

Expected Results:
A completed compilation

Additional Information:  Code compiles if -fssa-ccp is omitted.

Comment 1 Valdis Kletnieks 2002-01-30 18:45:38 UTC
Created attachment 43997 [details]
Source code for -fssa-ccp ICE

Comment 2 Jakub Jelinek 2002-02-06 16:33:24 UTC
Fixed in gcc-3.1-0.21.


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