public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/28129] gfortran -fbounds-check: Shows invalid array out of bounds error
Date: Thu, 06 Jul 2006 20:37:00 -0000	[thread overview]
Message-ID: <20060706203745.4807.qmail@sourceware.org> (raw)
In-Reply-To: <bug-28129-1719@http.gcc.gnu.org/bugzilla/>



------- Comment #3 from fxcoudert at gcc dot gnu dot org  2006-07-06 20:37 -------
Subject: Bug 28129

Author: fxcoudert
Date: Thu Jul  6 20:37:36 2006
New Revision: 115231

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115231
Log:
        PR fortran/28129

        * trans-array.c (gfc_trans_array_bound_check): Add a locus
        argument, and use it in the error messages.
        (gfc_conv_array_index_offset): Donc perform bounds checking on
        the last dimension of assumed-size arrays.

        * gfortran.dg/bounds_check_4.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/bounds_check_4.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-array.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28129


  parent reply	other threads:[~2006-07-06 20:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-21 20:49 [Bug fortran/28129] New: " tobias dot burnus at physik dot fu-berlin dot de
2006-06-22  9:26 ` [Bug fortran/28129] " fxcoudert at gcc dot gnu dot org
2006-07-05 11:50 ` fxcoudert at gcc dot gnu dot org
2006-07-06 20:37 ` fxcoudert at gcc dot gnu dot org [this message]
2006-07-24 21:03 ` [Bug fortran/28129] [4.1 only] " fxcoudert at gcc dot gnu dot org
2006-07-24 21:04 ` [Bug fortran/28129] " fxcoudert 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=20060706203745.4807.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).