This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36754] Compile-time bound-checking for allocatable arrays with known bonds
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Apr 2009 16:54:16 -0000
- Subject: [Bug fortran/36754] Compile-time bound-checking for allocatable arrays with known bonds
- References: <bug-36754-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from burnus at gcc dot gnu dot org 2009-04-26 16:54 -------
> I get an error at compile time with gfortran 4.2.3, 4.3.3, 4.4.0, and trunk
> (intel-darwin9). Is this PR valid?
Good question - I get now the same error for comment 0, which makes the report
INVALID<already implemented since a long time>.
I don't get an error for comment 4. I think it is in principle detectable, but
difficult -> WONTFIX?
At run time, I get for comment 4 "(0/11)" instead of the proper "(1/12)", but I
think the off-by-one bug is tracked elsewhere.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36754