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/31564] Error: Type/rank mismatch in argument
Date: Wed, 05 Sep 2007 13:35:00 -0000	[thread overview]
Message-ID: <20070905133445.2519.qmail@sourceware.org> (raw)
In-Reply-To: <bug-31564-14284@http.gcc.gnu.org/bugzilla/>



------- Comment #8 from pault at gcc dot gnu dot org  2007-09-05 13:34 -------
Subject: Bug 31564

Author: pault
Date: Wed Sep  5 13:34:25 2007
New Revision: 128130

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128130
Log:
2007-09-05  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/31564
        * primary.c (gfc_match_rvalue): Make expressions that refer
        to derived type parameters that have array references into
        variable expressions.  Remove references to use association
        from the symbol.

        PR fortran/33241
        * decl.c (add_init_expr_to_sym): Provide assumed character
        length parameters with the length of the initialization
        expression, if a constant, or that of the first element of
        an array.

2007-09-05  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/31564
        * gfortran.dg/derived_comp_array_ref_2.f90: New test.

        PR fortran/33241
        * gfortran.dg/char_length_10.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/char_length_10.f90
    trunk/gcc/testsuite/gfortran.dg/derived_comp_array_ref_2.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/decl.c
    trunk/gcc/fortran/primary.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


  parent reply	other threads:[~2007-09-05 13:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-13 17:48 [Bug fortran/31564] New: " michael dot a dot richmond at nasa dot gov
2007-04-13 18:05 ` [Bug fortran/31564] " kargl at gcc dot gnu dot org
2007-04-13 18:40 ` burnus at gcc dot gnu dot org
2007-04-22 17:49 ` eedelman at gcc dot gnu dot org
2007-05-27 23:40 ` burnus at gcc dot gnu dot org
2007-05-28 15:41 ` eedelman at gcc dot gnu dot org
2007-05-28 18:51 ` eedelman at gcc dot gnu dot org
2007-06-03 19:28 ` eedelman at gcc dot gnu dot org
2007-08-18  6:04 ` pault at gcc dot gnu dot org
2007-09-04 18:16 ` pault at gcc dot gnu dot org
2007-09-05 13:35 ` pault at gcc dot gnu dot org [this message]
2007-09-05 13:38 ` pault at gcc dot gnu dot org
2007-09-06 11:56 ` patchapp at dberlin 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=20070905133445.2519.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).