Bug 78548

Summary: g77 -c -O3 -g stl.f : Internal compiler error in add_abstract_origin_attribute
Product: [Retired] Red Hat Linux Reporter: Peter Dalgaard <p.dalgaard>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED NEXTRELEASE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
URL: http://www.pubhealth.ku.dk/~pd/stl.f
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-01 20:49:32 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
Source code for offending function none

Description Peter Dalgaard 2002-11-25 16:36:06 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020607

Description of problem:
g77 compiler error triggered by -c -g -O3 combination on this file.
Removing -g or reducing -O level clears problem. A file cut qdown to just the
stlez routine removes the error.

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


How reproducible:
Always

Steps to Reproduce:
1.g77 -c -O3 -g stl.f
2.
3.
	

Actual Results:  stl.f: In subroutine `stlez':
stl.f:477: Internal compiler error in add_abstract_origin_attribute, at
dwarf2out.c:9547
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.


Expected Results:  normal compile of stl.o 

Additional info:

Offending file is on my website. See URL above. 

$ rpm -qf `which g77`
gcc-g77-3.2-7

Comment 1 Peter Dalgaard 2002-11-25 16:38:25 UTC
Created attachment 86346 [details]
Source code for offending function

Comment 2 Vladimir Makarov 2004-10-01 20:49:32 UTC
I've checked the current state of redhat gcc3.2 branch
(gcc-3_2-rhl8-branch).  The bug was gone.  Therefore we are closing
the case.