public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "mikael at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/41587] [OOP] ICE with ALLOCATABLE CLASS components
Date: Thu, 02 Feb 2012 23:37:00 -0000	[thread overview]
Message-ID: <bug-41587-4-drkdJeXpaJ@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-41587-4@http.gcc.gnu.org/bugzilla/>

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

Mikael Morin <mikael at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
   Last reconfirmed|                            |2012-02-02
                 CC|                            |mikael at gcc dot gnu.org
         Resolution|FIXED                       |
     Ever Confirmed|0                           |1

--- Comment #5 from Mikael Morin <mikael at gcc dot gnu.org> 2012-02-02 23:37:09 UTC ---
(In reply to comment #1)
> I don't get an ICE with the coed in comment#0. However I get one with the
> following (valid?) changes:
> 
> type t0
>   integer :: j = 42
> end type t0
> type t
>   integer :: i
>   class(t0), allocatable :: foo(:)
> end type t
> type(t) :: k
> allocate(t0 :: k%foo(3))
> print *, k%foo%j
> end
> 
> pr41587_db.f90: In function 'MAIN__':
> pr41587_db.f90:9:0: internal compiler error: in gfc_conv_descriptor_data_get,
> at fortran/trans-array.c:147
> 
The ICE is gone, but the program above prints 0 0 42 instead of 42 42 42.
Reopening...


  parent reply	other threads:[~2012-02-02 23:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-41587-4@http.gcc.gnu.org/bugzilla/>
2012-02-02 23:13 ` mikael at gcc dot gnu.org
2012-02-02 23:37 ` mikael at gcc dot gnu.org [this message]
2012-02-03  7:35 ` burnus at gcc dot gnu.org
2012-02-06 14:21 ` pault at gcc dot gnu.org
2012-04-23 12:59 ` burnus at gcc dot gnu.org
2012-05-06 20:33 ` burnus at gcc dot gnu.org
2012-05-06 20:49 ` burnus at gcc dot gnu.org
2009-10-05 13:31 [Bug fortran/41587] New: " burnus at gcc dot gnu dot org
2009-10-14  8:42 ` [Bug fortran/41587] " dominiq at lps dot ens dot fr
2009-10-17 18:10 ` pault at gcc dot gnu dot org
2009-10-18 12:25 ` 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=bug-41587-4-drkdJeXpaJ@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).