public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pault at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/38324] Wrong lbound given to allocatable components
Date: Sun, 31 Jan 2010 14:57:00 -0000	[thread overview]
Message-ID: <20100131145730.5253.qmail@sourceware.org> (raw)
In-Reply-To: <bug-38324-10374@http.gcc.gnu.org/bugzilla/>



------- Comment #6 from pault at gcc dot gnu dot org  2010-01-31 14:57 -------
Subject: Bug 38324

Author: pault
Date: Sun Jan 31 14:57:13 2010
New Revision: 156401

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156401
Log:
2010-01-31  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/38324
        * expr.c (gfc_get_full_arrayspec_from_expr): New function.
        * gfortran.h : Add prototype for above.
        * trans-expr.c (gfc_trans_alloc_subarray_assign): New function.
        (gfc_trans_subcomponent_assign): Call new function to replace
        the code to deal with allocatable components.
        * trans-intrinsic.c (gfc_conv_intrinsic_bound): Call
        gfc_get_full_arrayspec_from_expr to replace existing code.

2010-01-31  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/38324
        * gfortran.dg/alloc_comp_basics_1.f90: Remove option -O2.
        * gfortran.dg/alloc_comp_bounds_1.f90: New test.


Added:
    branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/alloc_comp_bounds_1.f90
Modified:
    branches/gcc-4_4-branch/gcc/fortran/ChangeLog
    branches/gcc-4_4-branch/gcc/fortran/expr.c
    branches/gcc-4_4-branch/gcc/fortran/gfortran.h
    branches/gcc-4_4-branch/gcc/fortran/trans-expr.c
    branches/gcc-4_4-branch/gcc/fortran/trans-intrinsic.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/alloc_comp_basics_1.f90


-- 


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


  parent reply	other threads:[~2010-01-31 14:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-30  7:50 [Bug fortran/38324] New: " pault at gcc dot gnu dot org
2008-12-01 13:55 ` [Bug fortran/38324] " dominiq at lps dot ens dot fr
2008-12-17 12:22 ` pault at gcc dot gnu dot org
2009-01-29 22:03 ` mikael at gcc dot gnu dot org
2010-01-30 18:22 ` pault at gcc dot gnu dot org
2010-01-31 12:05 ` pault at gcc dot gnu dot org
2010-01-31 14:57 ` pault at gcc dot gnu dot org [this message]
2010-01-31 15:00 ` pault 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=20100131145730.5253.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).