Bug 119172 - g77 compiler crash
g77 compiler crash
Status: CLOSED WONTFIX
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: gcc3 (Show other bugs)
3.0
i686 Linux
low Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
ftp://ftp.comco.com/outgoing/test.F
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-03-25 16:54 EST by Tadeusz Liszka
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-10-29 05:45:08 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
g77 source code (10.86 KB, text/plain)
2004-03-25 16:57 EST, Tadeusz Liszka
no flags Details

  None (edit)
Description Tadeusz Liszka 2004-03-25 16:54:49 EST
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 16:57:25 EST
Created attachment 98862 [details]
g77 source code
Comment 2 Jakub Jelinek 2004-05-27 08:07:28 EDT
Reproduced also with gcc-g77-3.3.3-6.
Comment 3 Jakub Jelinek 2004-05-27 08:37:30 EDT
-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 11:20:36 EDT
http://gcc.gnu.org/PR15683

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