From: Harald Anlauf <anlauf@gmx.de>
To: Tobias Burnus <tobias@codesourcery.com>
Cc: Paul Richard Thomas <paul.richard.thomas@gmail.com>,
"fortran@gcc.gnu.org" <fortran@gcc.gnu.org>,
gcc-patches <gcc-patches@gcc.gnu.org>,
Juergen Reuter <juergen.reuter@physik.uni-freiburg.de>
Subject: Aw: Re: [Patch, fortran] PR99602 - [11 regression] runtime error: pointer actual argument not associated
Date: Tue, 16 Mar 2021 21:26:50 +0100 [thread overview]
Message-ID: <trinity-d32743f9-41a7-462f-9a5d-a654e9a0909b-1615926410172@3c-app-gmx-bs61> (raw)
In-Reply-To: <4ee532b7-eed8-8dd7-4e01-9a2e8004007c@codesourcery.com>
Hi Tobias,
> Shouldn't there be also a testcase which triggers this run-time error?
The testcase is there, it simply has the wrong dg-foo:
! { dg-do compile }
which should be
! { dg-do run }
*-*-*
There are certainly more cases which should insert checks but currently don't, like:
subroutine p (mm)
implicit none
type :: m_t
end type m_t
type, extends (m_t) :: m2_t
end type m2_t
class(m_t), pointer :: mm
select type (mm)
type is (m2_t)
print *, "m2_t"
end select
end
We've still two or three weeks to solve this before 11-release! :-)
Harald
next prev parent reply other threads:[~2021-03-16 20:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-16 16:42 Paul Richard Thomas
2021-03-16 17:08 ` Tobias Burnus
2021-03-16 20:26 ` Harald Anlauf [this message]
2021-03-18 8:46 ` Tobias Burnus
2021-03-18 13:22 ` Paul Richard Thomas
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=trinity-d32743f9-41a7-462f-9a5d-a654e9a0909b-1615926410172@3c-app-gmx-bs61 \
--to=anlauf@gmx.de \
--cc=fortran@gcc.gnu.org \
--cc=gcc-patches@gcc.gnu.org \
--cc=juergen.reuter@physik.uni-freiburg.de \
--cc=paul.richard.thomas@gmail.com \
--cc=tobias@codesourcery.com \
/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).