public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/84007] [OOP] ICE with SAME_TYPE_AS and CLASS(*) entity
[not found] <bug-84007-4@http.gcc.gnu.org/bugzilla/>
@ 2020-05-14 13:00 ` arjen.markus895 at gmail dot com
2021-09-30 17:10 ` cvs-commit at gcc dot gnu.org
2021-10-23 21:54 ` sandra at gcc dot gnu.org
2 siblings, 0 replies; 3+ messages in thread
From: arjen.markus895 at gmail dot com @ 2020-05-14 13:00 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84007
Arjen Markus <arjen.markus895 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |arjen.markus895 at gmail dot com
--- Comment #4 from Arjen Markus <arjen.markus895 at gmail dot com> ---
I encountered this problem with gfortran 9.3.0:
$ gfortran -c dictionary.f90
dictionary.f90:35:0:
35 | if ( .not. same_type_as( key, dict%prototype ) ) then
|
internal compiler error: in wide_int_to_tree_1, at tree.c:1561
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/84007] [OOP] ICE with SAME_TYPE_AS and CLASS(*) entity
[not found] <bug-84007-4@http.gcc.gnu.org/bugzilla/>
2020-05-14 13:00 ` [Bug fortran/84007] [OOP] ICE with SAME_TYPE_AS and CLASS(*) entity arjen.markus895 at gmail dot com
@ 2021-09-30 17:10 ` cvs-commit at gcc dot gnu.org
2021-10-23 21:54 ` sandra at gcc dot gnu.org
2 siblings, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-09-30 17:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84007
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tobias Burnus <burnus@gcc.gnu.org>:
https://gcc.gnu.org/g:643e8f4ee3a2a59a9b96fbcd1ffa8bacbda5b383
commit r12-3990-g643e8f4ee3a2a59a9b96fbcd1ffa8bacbda5b383
Author: Tobias Burnus <tobias@codesourcery.com>
Date: Thu Sep 30 19:08:25 2021 +0200
Fortran: Fix same_type_as
A test for CLASS(*) + assumed rank was missing; adding a test to
unlimited_polymorphic_1.f03 showed an ICE as backend_decl wasn't
set. While gfc_get_symbol_decl would fix it, the code also assumed
that the class(*) was a variable and could not be a subobject of
a derived type.
PR fortran/71703
PR fortran/84007
gcc/fortran/ChangeLog:
* trans-intrinsic.c (gfc_conv_same_type_as): Fix handling
of UNLIMITED_POLY.
* trans.h (gfc_vtpr_hash_get): Renamed prototype to ...
(gfc_vptr_hash_get): ... this to match function name.
gcc/testsuite/ChangeLog:
* gfortran.dg/c-interop/c535b-1.f90: Remove wrong comment.
* gfortran.dg/unlimited_polymorphic_1.f03: Extend.
* gfortran.dg/unlimited_polymorphic_32.f90: New test.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/84007] [OOP] ICE with SAME_TYPE_AS and CLASS(*) entity
[not found] <bug-84007-4@http.gcc.gnu.org/bugzilla/>
2020-05-14 13:00 ` [Bug fortran/84007] [OOP] ICE with SAME_TYPE_AS and CLASS(*) entity arjen.markus895 at gmail dot com
2021-09-30 17:10 ` cvs-commit at gcc dot gnu.org
@ 2021-10-23 21:54 ` sandra at gcc dot gnu.org
2 siblings, 0 replies; 3+ messages in thread
From: sandra at gcc dot gnu.org @ 2021-10-23 21:54 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84007
sandra at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sandra at gcc dot gnu.org
--- Comment #6 from sandra at gcc dot gnu.org ---
I think this issue is fixed now?
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-10-23 21:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-84007-4@http.gcc.gnu.org/bugzilla/>
2020-05-14 13:00 ` [Bug fortran/84007] [OOP] ICE with SAME_TYPE_AS and CLASS(*) entity arjen.markus895 at gmail dot com
2021-09-30 17:10 ` cvs-commit at gcc dot gnu.org
2021-10-23 21:54 ` sandra at gcc dot gnu.org
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).