[Bug fortran/31818] Wrongly accepts namelists with assumed-sized arrays

2007-07-25 Thread dfranke at gcc dot gnu dot org
--- Comment #3 from dfranke at gcc dot gnu dot org 2007-07-25 22:09 --- One should think, this code whould pick it up?! /* Reject namelist arrays that are not constant shape. */ for (nl = sym->namelist; nl; nl = nl->next) { if (is_non_constant_shape_array (nl->sym))

[Bug fortran/31818] Wrongly accepts namelists with assumed-sized arrays

2007-07-24 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-07-24 13:49 --- Index: resolve.c === --- resolve.c (revision 126873) +++ resolve.c (working copy) @@ -7040,6 +7044,13 @@ resolve_fl_namelist (gfc_symbol *sym) /*

[Bug fortran/31818] Wrongly accepts namelists with assumed-sized arrays

2007-05-05 Thread pault at gcc dot gnu dot org
--- Comment #1 from pault at gcc dot gnu dot org 2007-05-05 09:53 --- (In reply to comment #0) > subroutine test(cha) > implicit none > character(len=10) :: cha(:) > namelist /z/ cha > end subroutine test > > See also: > gfortran.dg/namelist_14.f90 > > This is invalid: > "5.4