This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34396] Length of substrings defined by expressions not correctly computed in constructors
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Dec 2007 23:08:32 -0000
- Subject: [Bug fortran/34396] Length of substrings defined by expressions not correctly computed in constructors
- References: <bug-34396-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from dominiq at lps dot ens dot fr 2007-12-08 23:08 -------
> I actually would expect gfortran to diagnose this with -fbounds-check.
Me too, but this works only if the lengths are correctly computed. The test
case pass the bounds check.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34396