Bug 106113 - Internal compiler error in extract_insn, at recog.c:2149
Summary: Internal compiler error in extract_insn, at recog.c:2149
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: gcc
Version: 3.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: David Lawrence
URL:
Whiteboard:
: 106114 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-10-02 21:41 UTC by Tru Huynh
Modified: 2007-11-30 22:06 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-01-16 17:25:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
asm file (24.41 KB, application/octet-stream)
2003-10-02 22:05 UTC, Tru Huynh
no flags Details
preprocessed file (107.00 KB, application/octet-stream)
2003-10-02 22:34 UTC, Tru Huynh
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2003:354 0 normal SHIPPED_LIVE Updated gcc packages fix multiple bugs 2003-11-17 05:00:00 UTC

Description Tru Huynh 2003-10-02 21:41:22 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030708

Description of problem:
background:

Dual opteron 242, 4 GB of RAM running taroon (all updates applied
as of 2003/09/29).

[tru@calimero build]$ rpm -q gcc
gcc-3.2.3-20
[tru@calimero build]$ gcc -v
Reading specs from /usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-syst
em-zlib --enable-__cxa_atexit --host=x86_64-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-20)

pb:
gcc  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -c  -I../include
-I/usr/X11R6/include -L/usr/X11R6/lib64 -DWIN_MOTIF alignmgr.c 

exits with an internal compiler error.

workaround:
install gcc-3.3.1 on the opteron and compile with it.

the default compilers on the taroon fails whereas, gcc-3.3.1
(rebuild on taroon) works, the default SuSE and Mandrake compilers
for x86_64 are working out of the box.


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

How reproducible:
Always

Steps to Reproduce:
1.Dual opteron 242, 4 GB of RAM running taroon (all updates applied
as of 2003/09/29).
2. gcc  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -c  -I../include
-I/usr/X11R6/include -L/usr/X11R6/lib64 -DWIN_MOTIF alignmgr.c 

3.
    

Actual Results:  In file included from ../include/ncbi.h:57,
                 from ../include/alignmgr.h:261,
                 from alignmgr.c:573:
../include/ncbilcl.h:104:2: warning: #warning Unknown processor type. Please
define something appropriate.
alignmgr.c: In function `AlnMgrIndexParentSA':
alignmgr.c:1586: warning: cast to pointer from integer of different size
alignmgr.c: In function `AlnMgrGetAllNForSip':
alignmgr.c:4799: unrecognizable insn:
(insn 367 374 328 (set (reg/v:SI 64)
        (plus:SI (reg:SI 97)
            (const_int 1 [0x1]))) -1 (nil)
    (expr_list:REG_DEAD (reg:SI 97)
        (nil)))
alignmgr.c:4799: Internal compiler error in extract_insn, at recog.c:2149
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.


Expected Results:  should produce the correct object.



Additional info:

Comment 1 Bill Nottingham 2003-10-02 21:51:56 UTC
*** Bug 106114 has been marked as a duplicate of this bug. ***

Comment 2 Tru Huynh 2003-10-02 21:59:42 UTC
I can't upload the tarball containing the source files:

 You did not specify a file to attach.

did you received the file anyway?

Tru

Comment 3 Tru Huynh 2003-10-02 22:05:16 UTC
Created attachment 94899 [details]
asm file

I am splitting the tarball (too big)

Comment 4 Jakub Jelinek 2003-10-02 22:07:33 UTC
The tarball is not something I'm looking for.
What I need to debug this is preprocessed source, ie. if you can add
-save-temps to the gcc command line which reproduces it and attach
(or mail me if you cannot get attach to work) alignmgr.i it creates.

Comment 5 Tru Huynh 2003-10-02 22:34:09 UTC
Created attachment 94900 [details]
preprocessed file

Comment 6 Jakub Jelinek 2003-10-06 10:27:44 UTC
Fixed by http://gcc.gnu.org/ml/gcc-cvs/2003-10/msg00204.html
Will appear in gcc-3.2.3-21.

Comment 7 David Lawrence 2004-01-16 17:25:09 UTC
An errata has been issued which should help the problem described in this bug report. 
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen 
this bug report if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2003-354.html



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