public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/49636] [F03] ASSOCIATE construct confused with slightly complicated case
Date: Mon, 10 Feb 2014 09:33:00 -0000	[thread overview]
Message-ID: <bug-49636-4-6zcVlBRMYs@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-49636-4@http.gcc.gnu.org/bugzilla/>

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-02-10
                 CC|                            |pault at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed on 4.7, 4.8, and trunk (4.9 r207643). At r207649, compiling the test
gives the following ICE:

pr49636.f90:14:0: internal compiler error: in gfc_get_element_type, at
fortran/trans-types.c:1183
     print '(" i_bad=", 3I10)', i(1:3)

It is caused by r207646

Author:    pault
Date:    Sun Feb 9 20:50:21 2014 UTC (12 hours, 41 minutes ago)
Changed paths:    5
Log Message:    
2014-02-09  Paul Thomas  <pault@gcc.gnu.org>

    PR fortran/57522
    * resolve.c (resolve_assoc_var): Set the subref_array_pointer
    attribute for the 'associate-name' if necessary.
    * trans-stmt.c (trans_associate_var): If the 'associate-name'
    is a subref_array_pointer, assign the element size of the
    associate variable to 'span'.

2014-02-09  Paul Thomas  <pault@gcc.gnu.org>

    PR fortran/57522
    * gfortran.dg/associated_target_5.f03 : New test


  parent reply	other threads:[~2014-02-10  9:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-04 22:59 [Bug fortran/49636] New: Associate " fkrogh#gcc at mathalacarte dot com
2011-07-04 23:21 ` [Bug fortran/49636] " fkrogh#gcc at mathalacarte dot com
2011-07-05  9:06 ` burnus at gcc dot gnu.org
2014-02-10  9:33 ` dominiq at lps dot ens.fr [this message]
2014-02-10 22:14 ` [Bug fortran/49636] [F03] ASSOCIATE " pault at gcc dot gnu.org
2014-02-11 23:40 ` dominiq at lps dot ens.fr
2014-02-12  9:20 ` paul.richard.thomas at gmail dot com
2015-09-08  9:29 ` dominiq at lps dot ens.fr
2015-10-18  9:21 ` pault at gcc dot gnu.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=bug-49636-4-6zcVlBRMYs@http.gcc.gnu.org/bugzilla/ \
    --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).