Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: eedelman at acclab dot helsinki dot fi
CC: gcc-bugs at gcc dot
--- Additional Comments From eedelman at acclab dot helsinki dot fi
2005-06-11 09:39 ---
(In reply to comment #4)
I tested the attached patch, which is equivalent to Erik's
patch with the exception that I remove an unnecesary \n in
the conditional of the if ().
I've also attached
--- Additional Comments From eedelman at acclab dot helsinki dot fi
2005-06-11 12:43 ---
(In reply to comment #7)
One thing that slightly worries my is, why isn't e-rank zero by itself? If
you
make string_comp in the fortran code a PROGRAM instead of SUBROUTINE, e-rank
_is_ zero
--- Additional Comments From eedelman at acclab dot helsinki dot fi
2005-06-10 23:35 ---
This patch seems to fixe the bug:
Index: gcc/fortran/primary.c
===
RCS file: /cvsroot/gcc/gcc/gcc/fortran/primary.c,v
retrieving
--- Additional Comments From eedelman at acclab dot helsinki dot fi
2005-05-06 16:59 ---
(In reply to comment #2)
Reduced testcase (I tried not to reduce it too much):
subroutine difq3 (jmax, ngmax, ams)
implicit none
integer*4 :: jmax, ngmax
real*8
--- Additional Comments From eedelman at acclab dot helsinki dot fi
2004-12-25 00:41 ---
I think the result given by gfortran is correct. Quote from Fortran 95
handbook by Adams, Brainerd et al., section 3.3.1.1
To continue a character constant so that the continued line is indented