This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]