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/34785] internal compiler error for array constructor for sequence type
Date: Sun, 20 Jan 2008 08:53:00 -0000	[thread overview]
Message-ID: <20080120082343.22035.qmail@sourceware.org> (raw)
In-Reply-To: <bug-34785-15620@http.gcc.gnu.org/bugzilla/>



------- Comment #6 from pault at gcc dot gnu dot org  2008-01-20 08:23 -------
Subject: Bug 34785

Author: pault
Date: Sun Jan 20 08:22:56 2008
New Revision: 131675

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

        PR fortran/34784
        * array.c (gfc_check_constructor_type): Clear the expression ts
        so that the checking starts from the deepest level of array
        constructor.
        * primary.c (match_varspec): If an unknown type is changed to
        default character and the attempt to match a substring fails,
        change it back to unknown.

        PR fortran/34785
        * trans-array.c (gfc_add_loop_ss_code) : If ss->string_length is
        NULL for an array constructor, use the cl.length expression to
        build it.
        (gfc_conv_array_parameter): Change call to gfc_evaluate_now to
        a tree assignment.


2008-01-20  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/34784
        * gfortran.dg/array_constructor_20.f90: New test.
        * gfortran.dg/mapping_2.f90: Correct ubound expression for h4.

        PR fortran/34785
        * gfortran.dg/array_constructor_21.f90: New test.

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


-- 


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


  parent reply	other threads:[~2008-01-20  8:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-14 22:54 [Bug fortran/34785] New: " dick dot hendrickson at gmail dot com
2008-01-14 23:30 ` [Bug fortran/34785] " burnus at gcc dot gnu dot org
2008-01-15  0:11 ` burnus at gcc dot gnu dot org
2008-01-16  9:14 ` pault at gcc dot gnu dot org
2008-01-17 17:00 ` pault at gcc dot gnu dot org
2008-01-18  9:34 ` pault at gcc dot gnu dot org
2008-01-18 11:28 ` pault at gcc dot gnu dot org
2008-01-20  8:53 ` pault at gcc dot gnu dot org [this message]
2008-01-20  9:21 ` 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=20080120082343.22035.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).