Bug 174087

Summary: internal compiler error with -g and -O3entry and external
Product: [Fedora] Fedora Reporter: Patrice Dumas <pertusus>
Component: compat-gcc-32Assignee: Jakub Jelinek <jakub>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4   
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: 2005-11-24 12:08:37 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:

Description Patrice Dumas 2005-11-24 12:03:33 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7

Description of problem:
The following program:

      SUBROUTINE MINNEW
      ENTRY MINTLD
      EXTERNAL FCN
      END

When compiled with
 g77 old506.F -g -O3  -c -o old506.o

leads to
old506.F:4: Internal compiler error in add_abstract_origin_attribute, at dwarf2out.c:9574
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.




Version-Release number of selected component (if applicable):
compat-gcc-32-g77-3.2.3-47.fc4

How reproducible:
Always

Steps to Reproduce:
1. compile the above program with the above flags
2.
3.
  

Additional info:

gfortran don't ICE

Comment 1 Jakub Jelinek 2005-11-24 12:08:37 UTC
compat-gcc-32* is for compatibility only.

Comment 2 Patrice Dumas 2005-11-24 14:22:39 UTC
Ok. I was reluctant to post it for that reason, but gfortran still lacks some
g77 features and there is no non compat g77 package... Not a big deal for this
bug as it can be worked-around with less agressive optimization, but if a
serious bug pops up....