[Bug fortran/50070] Segmentation fault at size_binop_loc in fold-const.c

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Aug 15 09:53:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50070

--- Comment #9 from janus at gcc dot gnu.org 2011-08-15 09:49:44 UTC ---
Btw, for a related test case ...


subroutine sub
  common n,z
  integer z(n)
end


... gfortran spits out:

  integer z(n)
            1
Error: Variable 'n' at (1) in this context must be constant


Here we also complain about non-constant expressions (instead of "automatic
objects"), so we should probably stick to this kind of wording also for the
original test case (which had non-constant character lengths).



More information about the Gcc-bugs mailing list