This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/64854] No bound check for explicit-shape arrays
- From: "bugs at stellardeath dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 29 Jan 2015 11:47:54 +0000
- Subject: [Bug fortran/64854] No bound check for explicit-shape arrays
- Auto-submitted: auto-generated
- References: <bug-64854-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64854
--- Comment #2 from Lorenz HÃdepohl <bugs at stellardeath dot org> ---
(Please remove the line "use m1" from my example, its a leftover from a
previous
version)
I'm not denying that there is a mistake in the example program. I just hoped
that -fcheck=bounds would save me from this kind of mistake.
Please consider this not a bug report then, but a feature request :)
It really would help tremendously if this kind of misbehaviour could be checked
at run-time via -fcheck-bounds.