From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
Description of problem:
Compiling code with both "-g" and "-fno-f2c" gives internal compiler
Compiling my code without the "-fno-f2c" or with "-O" instead of "-g"
and it works fine.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Try compiling the following simplified code. (This is a simplified
routine from the CERN libraries, which compiles on many platforms, yes
it is very very old, from before you were born and physicists wrote in
IF(MIDENT(J,N,JID,KLENID).EQ.0)GO TO 3
GO TO 1
IF(JP.LE.0)GO TO 4
10 IF(NPAR.GT.10)GO TO 6
DO 77 I=2,NPAR+1
6 CALL CSSOUT('CSDCAL: TOO MANY PARAMETERS')
3 REC1='CSCCAL: ERROR IN PARAMETER DESCRIPTION'
GO TO 5
4 REC1='CSCCAL: NO PROGRAM'
5 CALL CSSOUT(REC1)
2. compile on AMD64 machine with: g77 -c -g -fno-f2c
3. Hit internal error.
Actual Results: g77 -c -fno-f2c tmp.F
tmp.F: In function `csccal':
tmp.F:1: Internal compiler error in emit_group_store, at expr.c:2251
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
Expected Results: An object file.
See http://wwwasd.web.cern.ch/wwwasd/index.html for the full library.
Note this library is not yet properly ported to 64-bit and will give
errors during runtime, which is what I am trying to fix.
fixes this. I'll include it in gcc-3.2.3-35.
An errata has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.