public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "kargl at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/36754] Compile-time bound-checking for allocatable arrays with known bonds
Date: Fri, 16 Apr 2010 17:01:00 -0000 [thread overview]
Message-ID: <20100416170043.13326.qmail@sourceware.org> (raw)
In-Reply-To: <bug-36754-13404@http.gcc.gnu.org/bugzilla/>
------- Comment #11 from kargl at gcc dot gnu dot org 2010-04-16 17:00 -------
(In reply to comment #7)
> > 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.
>
The off-by-one bug is fixed.
laptop:kargl[286] gfc4x -o z -fcheck=bounds g.f90
laptop:kargl[287] ./z
At line 4 of file g.f90
Fortran runtime error: Array bound mismatch, size mismatch for dimension 1 of
array 'b' (1/12)
Can we close this PR?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36754
next prev parent reply other threads:[~2010-04-16 17:01 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-07 19:44 [Bug fortran/36754] New: " burnus at gcc dot gnu dot org
2008-07-07 19:52 ` [Bug fortran/36754] " tkoenig at gcc dot gnu dot org
2008-07-07 19:58 ` dominiq at lps dot ens dot fr
2008-07-07 22:47 ` burnus at gcc dot gnu dot org
2008-07-09 14:50 ` tkoenig at gcc dot gnu dot org
2009-01-04 0:13 ` dfranke at gcc dot gnu dot org
2009-04-26 16:44 ` dominiq at lps dot ens dot fr
2009-04-26 16:54 ` burnus at gcc dot gnu dot org
2009-04-26 17:39 ` dominiq at lps dot ens dot fr
2009-04-26 17:47 ` dominiq at lps dot ens dot fr
2009-04-29 14:29 ` dominiq at lps dot ens dot fr
2010-04-16 17:01 ` kargl at gcc dot gnu dot org [this message]
2010-04-16 17:28 ` burnus at gcc dot gnu dot org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100416170043.13326.qmail@sourceware.org \
--to=gcc-bugzilla@gcc.gnu.org \
--cc=gcc-bugs@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).