public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "burnus at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/43895] [OOP] internal compiler error: verify_ssa failed
Date: Tue, 18 May 2010 12:25:00 -0000	[thread overview]
Message-ID: <20100518122450.20499.qmail@sourceware.org> (raw)
In-Reply-To: <bug-43895-9410@http.gcc.gnu.org/bugzilla/>



------- Comment #11 from burnus at gcc dot gnu dot org  2010-05-18 12:24 -------
(In reply to comment #8)
> > If one adds "b = ALLOCATED(x)" one finds:
> Where do you add this?

Add in bug14 of attachment 20491 before 'end subroutine':
  logical b
  b = allocated(a%a)

However, this is now fixed.

 * * *

There are other problems related to allocatable scalars, but I think those are
tracked in PR 42647. For instance (again based on attachment 20491):

  use d_mat_mod
  implicit none
  type(d_sparse_mat), ALLOCATABLE :: x
  call bug14(x) ! << OK around here
contains
subroutine bug14(a)
  type(d_sparse_mat), ALLOCATABLE, intent(out) :: a
  logical b
  ! <<< ICE here
  b = allocated(a); if (b) call abort() ! << OK here
end subroutine bug14
end


-- 


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


  parent reply	other threads:[~2010-05-18 12:25 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-26 14:32 [Bug fortran/43895] New: [fortran-dev] " sfilippone at uniroma2 dot it
2010-04-26 14:34 ` [Bug fortran/43895] " sfilippone at uniroma2 dot it
2010-04-26 14:38 ` rguenth at gcc dot gnu dot org
2010-04-26 14:56 ` janus at gcc dot gnu dot org
2010-04-26 15:04 ` [Bug fortran/43895] [OOP] " janus at gcc dot gnu dot org
2010-04-26 15:33 ` sfilippone at uniroma2 dot it
2010-05-06 16:28 ` burnus at gcc dot gnu dot org
2010-05-17 20:22 ` burnus at gcc dot gnu dot org
2010-05-17 20:35 ` janus at gcc dot gnu dot org
2010-05-18 10:41 ` sfilippone at uniroma2 dot it
2010-05-18 12:19 ` janus at gcc dot gnu dot org
2010-05-18 12:25 ` burnus at gcc dot gnu dot org [this message]
2010-06-05 10:40 ` pault at gcc dot gnu dot org
2010-06-05 14:08 ` pault at gcc dot gnu dot org
2010-06-05 17:52 ` pault at gcc dot gnu dot org
2010-06-06  3:17 ` janus 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=20100518122450.20499.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).