Bug 119172

Summary: g77 compiler crash
Product: Red Hat Enterprise Linux 3 Reporter: Tadeusz Liszka <tad>
Component: gcc3Assignee: Jakub Jelinek <jakub>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 3.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
URL: ftp://ftp.comco.com/outgoing/test.F
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-29 09:45:08 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
g77 source code none

Description Tadeusz Liszka 2004-03-25 21:54:49 UTC
Description of problem:
g77 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -ffast-math
-march=pentiumpro -malign-double -Wno-globals -fno-globals -c
reader/util_2.F -g  -Iheader -Ibcs  -DC_Linux=1 -DLinux_0=1
-DBUILDID=\"0210662_0101000_L0_d\" -DH3D -o _obj_Linux_d/util_2.o
reader/util_2.F: In subroutine `squeez':
reader/util_2.F:362: Internal compiler error in gen_subprogram_die, at
dwarf2out.c:10352
Please submit a full bug report,


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

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:
compiler crash

Expected results:
error message

Additional info:
It is combination of duplicate procedure name with this particular set
of compiler options. simple g77 -g does not crash.

Comment 1 Tadeusz Liszka 2004-03-25 21:57:25 UTC
Created attachment 98862 [details]
g77 source code

Comment 2 Jakub Jelinek 2004-05-27 12:07:28 UTC
Reproduced also with gcc-g77-3.3.3-6.

Comment 3 Jakub Jelinek 2004-05-27 12:37:30 UTC
-fno-globals seems to be really broken by design option.
It allows creating assembly output which will not assemble (duplicate
squeez_ routine).

Comment 4 Jakub Jelinek 2004-05-27 15:20:36 UTC
http://gcc.gnu.org/PR15683