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/36754] Compile-time bound-checking for allocatable arrays with known bonds



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


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