Bug 174087 - internal compiler error with -g and -O3entry and external
Summary: internal compiler error with -g and -O3entry and external
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: compat-gcc-32
Version: 4
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-11-24 12:03 UTC by Patrice Dumas
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-11-24 12:08:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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....


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