public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "janus at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/42274] [fortran-dev Regression] ICE: segmentation fault
Date: Sat, 05 Dec 2009 11:21:00 -0000 [thread overview]
Message-ID: <20091205112030.12912.qmail@sourceware.org> (raw)
In-Reply-To: <bug-42274-9410@http.gcc.gnu.org/bugzilla/>
------- Comment #9 from janus at gcc dot gnu dot org 2009-12-05 11:20 -------
(In reply to comment #8)
> With the patch in comment #7 the tests in pr41829 and the following ones
> segfault at runtime.
Confirmed. This may be an initialization issue of the vtypes. Reduced test
case:
module m
type :: t1
integer :: i = 42
contains
procedure, pass :: prod => i_m_j
end type t1
contains
integer function i_m_j (arg)
class(t1), intent(in) :: arg
print *,"in i_m_j"
i_m_j = 0
end function i_m_j
end module m
use m
class(t1), pointer :: a
type(t1), target :: b
integer :: itmp
a => b
itmp = a%prod()
print *, itmp
end
--
janus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pault at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42274
next prev parent reply other threads:[~2009-12-05 11:21 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-04 14:30 [Bug fortran/42274] New: " sfilippone at uniroma2 dot it
2009-12-04 14:31 ` [Bug fortran/42274] " sfilippone at uniroma2 dot it
2009-12-04 14:48 ` rguenth at gcc dot gnu dot org
2009-12-04 14:58 ` dominiq at lps dot ens dot fr
2009-12-04 15:02 ` sfilippone at uniroma2 dot it
2009-12-04 15:57 ` [Bug fortran/42274] [fortran-dev Regression] " burnus at gcc dot gnu dot org
2009-12-04 17:06 ` janus at gcc dot gnu dot org
2009-12-04 19:44 ` janus at gcc dot gnu dot org
2009-12-04 21:38 ` dominiq at lps dot ens dot fr
2009-12-05 11:21 ` janus at gcc dot gnu dot org [this message]
2009-12-05 13:31 ` dominiq at lps dot ens dot fr
2009-12-05 15:14 ` janus at gcc dot gnu dot org
2009-12-05 16:41 ` dominiq at lps dot ens dot fr
2009-12-06 13:33 ` pault at gcc dot gnu dot org
2009-12-10 21:21 ` janus at gcc dot gnu dot org
2010-03-02 9:47 ` dominiq at lps dot ens dot fr
2010-04-22 20:59 ` janus at gcc dot gnu dot org
2010-04-25 14:32 ` janus at gcc dot gnu dot org
2010-04-25 14:43 ` janus at gcc dot gnu dot org
2010-04-25 14:57 ` janus at gcc dot gnu dot org
2010-04-25 16:27 ` pault at gcc dot gnu dot org
2010-04-25 16:39 ` dominiq at lps dot ens dot fr
2010-04-25 16:43 ` janus at gcc dot gnu dot org
2010-04-25 17:10 ` janus at gcc dot gnu dot org
2010-04-25 17:16 ` janus at gcc dot gnu dot org
2010-04-25 18:24 ` janus at gcc dot gnu dot org
2010-04-25 18:28 ` paul dot richard dot thomas at gmail dot com
2010-04-25 18:59 ` paul dot richard dot thomas at gmail dot com
2010-04-25 19:17 ` sfilippone at uniroma2 dot it
2010-04-25 19:50 ` janus at gcc dot gnu dot org
2010-04-25 20:17 ` janus at gcc dot gnu dot org
2010-04-25 20:20 ` sfilippone at uniroma2 dot it
2010-04-25 21:44 ` janus at gcc dot gnu dot org
2010-04-25 22:26 ` janus at gcc dot gnu dot org
2010-04-26 8:23 ` dominiq at lps dot ens dot fr
2010-04-26 9:08 ` janus at gcc dot gnu dot org
2010-04-26 10:57 ` pault at gcc dot gnu dot org
2010-04-29 19:12 ` 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=20091205112030.12912.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).