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:15:36 +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 #8 from janus at gcc dot gnu.org 2011-08-15 09:15:36 UTC ---
(In reply to comment #4)
> Based on chapter 7.1.11, I would say that g95's error message is wrong: z does
> not have to have constant length.
Well, to be precise, it is not really wrong. In the end it enforces the same
restriction as ifort's error message, but in a different wording.
ifort's message is surely closer to the standard, while g95's may be clearer to
people who are not familiar with the standard's definition of "automatic
objects".
So, which wording should we choose for gfortran? I would tend to prefer the g95
version ...