[Bug fortran/22146] New: ICE when calling ELEMENTAL subroutines

2005-06-22 Thread eedelman at acclab dot helsinki dot fi
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

[Bug fortran/19926] Incorrect rank with PARAMETER and array element.

2005-06-11 Thread eedelman at acclab dot helsinki dot fi
--- 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

[Bug fortran/19926] Incorrect rank with PARAMETER and array element.

2005-06-11 Thread eedelman at acclab dot helsinki dot fi
--- 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

[Bug fortran/19926] Incorrect rank with PARAMETER and array element.

2005-06-10 Thread eedelman at acclab dot helsinki dot fi
--- 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

[Bug fortran/21409] Attached fortran 95 code generates error

2005-05-06 Thread eedelman at acclab dot helsinki dot fi
--- 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

[Bug fortran/19101] missing in character continuation not caught

2004-12-24 Thread eedelman at acclab dot helsinki dot fi
--- 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