public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-5066] Remove dead Fortran function.
@ 2021-11-09 16:53 Martin Liska
0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2021-11-09 16:53 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:3bc3f6cefc2b92d368affacb74928948388c4786
commit r12-5066-g3bc3f6cefc2b92d368affacb74928948388c4786
Author: Martin Liska <mliska@suse.cz>
Date: Tue Nov 9 14:57:00 2021 +0100
Remove dead Fortran function.
gcc/fortran/ChangeLog:
* symbol.c (gfc_get_ultimate_derived_super_type): Remove.
Diff:
---
gcc/fortran/symbol.c | 17 -----------------
1 file changed, 17 deletions(-)
diff --git a/gcc/fortran/symbol.c b/gcc/fortran/symbol.c
index 8c9a1d00ce0..173c36f51bc 100644
--- a/gcc/fortran/symbol.c
+++ b/gcc/fortran/symbol.c
@@ -5106,23 +5106,6 @@ gfc_get_derived_super_type (gfc_symbol* derived)
}
-/* Get the ultimate super-type of a given derived type. */
-
-static gfc_symbol*
-gfc_get_ultimate_derived_super_type (gfc_symbol* derived)
-{
- if (!derived->attr.extension)
- return NULL;
-
- derived = gfc_get_derived_super_type (derived);
-
- if (derived->attr.extension)
- return gfc_get_ultimate_derived_super_type (derived);
- else
- return derived;
-}
-
-
/* Check if a derived type t2 is an extension of (or equal to) a type t1. */
bool
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-09 16:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-09 16:53 [gcc r12-5066] Remove dead Fortran function Martin Liska
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).