This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/50070] Segmentation fault at size_binop_loc in fold-const.c
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 15 Aug 2011 09:49:44 +0000
- Subject: [Bug fortran/50070] Segmentation fault at size_binop_loc in fold-const.c
- Auto-submitted: auto-generated
- References: <bug-50070-4@http.gcc.gnu.org/bugzilla/>
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).