public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/38914] ICE with array inquiry functions above contains in parameter expression
Date: Sat, 21 Feb 2009 22:25:00 -0000	[thread overview]
Message-ID: <20090221222525.12766.qmail@sourceware.org> (raw)
In-Reply-To: <bug-38914-15620@http.gcc.gnu.org/bugzilla/>



------- Comment #7 from tkoenig at gcc dot gnu dot org  2009-02-21 22:25 -------
Subject: Bug 38914

Author: tkoenig
Date: Sat Feb 21 22:25:06 2009
New Revision: 144362

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144362
Log:
2008-02-21  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/38914
        * array.c (ref_dimen_size):  Rename to gfc_ref_dimen_size,
        make global.  Change function name in error messages.
        (ref_size):  Change ref_dimen_size to gfc_ref_dimen_size.
        (gfc_array_ref_shape):  Likewise.
        * gfortran.h:  Add prototype for gfc_ref_dimen_size.
        * simplify.c (simplify_bound_dim):  Add ref argument.
        If the reference isn't a full array, return one for
        the lower bound and the extent for the upper bound.
        (simplify_bound):  For array sections, take as from the
        argument.  Add reference to all to simplify_bound_dim.

2008-02-21  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/38914
        * bound_simplification_2.f90:  New test case.
        * bound_7.f90:  New test case.


Added:
    trunk/gcc/testsuite/gfortran.dg/bound_7.f90
    trunk/gcc/testsuite/gfortran.dg/bound_simplification_2.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/array.c
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/simplify.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


  parent reply	other threads:[~2009-02-21 22:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-19 16:49 [Bug fortran/38914] New: " dick dot hendrickson at gmail dot com
2009-01-19 17:57 ` [Bug fortran/38914] " kargl at gcc dot gnu dot org
2009-01-19 19:47 ` mikael at gcc dot gnu dot org
2009-01-26  9:11 ` tkoenig at gcc dot gnu dot org
2009-01-26  9:14 ` tkoenig at gcc dot gnu dot org
2009-01-26 21:05 ` tkoenig at gcc dot gnu dot org
2009-01-26 22:50 ` tkoenig at gcc dot gnu dot org
2009-02-21 22:25 ` tkoenig at gcc dot gnu dot org [this message]
2009-06-07 14:39 ` [Bug fortran/38914] [4.3 only] " tkoenig 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=20090221222525.12766.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).