Bug 58648

Summary: Internal compiler error in reload_cse_simplify_operands, at reload1.c:8345
Product: [Retired] Red Hat Raw Hide Reporter: Tim Waugh <twaugh>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-01-22 12:01:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
OmniProxy.cpp none

Description Tim Waugh 2002-01-22 09:59:14 UTC
Description of Problem:
g++ crashes at -fPIC -O2 when compiling this file.

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

How Reproducible:
100%

Steps to Reproduce:
1. g++ -fPIC -O2 -c OmniProxy.cpp

Actual Results:
OmniProxy.cpp: In member function `void OmniProxy::replayBitmaps()':
OmniProxy.cpp:1215: insn does not satisfy its constraints:
(insn 12810 10691 12816 (set (mem:QI (plus:SI (reg/f:SI 6 ebp)
                (const_int -300 [0xfffffed4])) [81 S1 A32])
        (reg:QI 4 sil)) 60 {*movqi_1} (nil)
    (nil))
OmniProxy.cpp:1215: Internal compiler error in reload_cse_simplify_operands, at
   reload1.c:8345
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.

Comment 1 Tim Waugh 2002-01-22 10:00:52 UTC
Created attachment 43155 [details]
OmniProxy.cpp

Comment 2 Jakub Jelinek 2002-01-22 11:57:13 UTC
This sounds like #58579.
I have a minimal testcase for it, no fix yet.
On the other side, why aren't you using RPM_OPT_FLAGS? This bug never happens
with -mcpu=i686...

Comment 3 Tim Waugh 2002-01-22 12:01:51 UTC
Just because CFLAGS="$RPM_OPT_FLAGS" breaks the package because it puts 
includes in CFLAGS in the Makefile.  I'll patch the Makefile so that using 
RPM_OPT_FLAGS works.  Thanks.


Comment 4 Jakub Jelinek 2002-02-01 16:19:49 UTC
Fixed in gcc-3.1-0.19.