Bug 144166 - internal compiler error: Segmentation fault
internal compiler error: Segmentation fault
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: gcc (Show other bugs)
4.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
David Lawrence
:
Depends On:
Blocks: 137160
  Show dependency treegraph
 
Reported: 2005-01-04 16:27 EST by Steve Singer
Modified: 2007-11-30 17:07 EST (History)
2 users (show)

See Also:
Fixed In Version: RHBA-2005-257
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-06-09 06:57:22 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
The GCC debugging output (154.92 KB, text/plain)
2005-01-04 16:30 EST, Steve Singer
no flags Details

  None (edit)
Description Steve Singer 2005-01-04 16:27:44 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616

Description of problem:
GCC produces an internal compiler error.  
See attachement for the GCC preprocessor output.



Version-Release number of selected component (if applicable):
3.4.2-6.fc3 

How reproducible:
Always

Steps to Reproduce:
1.Rename attached file to segfault.c
2.gcc segfault.c
3.
    

Actual Results:  source/CSWxn_class.c: In function `vCsWxnConstruct':
source/CSWxn_class.c:76: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/cc7rB4iQ.out file, please attach
this to your bugreport.


Expected Results:  GCC 2.96 compiles the program cleanly.

I would expect GCC 3.4 to do the same or at least generate compile
time error/warnings on why it won't.


Additional info:
Comment 1 Steve Singer 2005-01-04 16:30:08 EST
Created attachment 109347 [details]
The GCC debugging output
Comment 2 Steve Singer 2005-01-04 17:07:38 EST
By including a header file(one that should be included) the problem
goes away.

But the compiler still should generate an error not segfault.
Comment 4 Jakub Jelinek 2005-02-21 11:01:10 EST
This is fixed in 3.4.3-12 and up and will be included in RHEL4 U1.
Comment 8 Jay Turner 2005-04-05 08:47:04 EDT
gcc-3.4.3-22 is included in the latest U1-candidate composes.
Comment 9 Jay Turner 2005-04-16 06:44:49 EDT
Moving to PROD_READY.
Comment 10 Tim Powers 2005-06-09 06:57:22 EDT
An advisory 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-2005-257.html

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