public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-3983] ada: Assertion failure adding extra formals to late overriding subp.
@ 2023-09-14 12:45 Marc Poulhi?s
0 siblings, 0 replies; only message in thread
From: Marc Poulhi?s @ 2023-09-14 12:45 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:deb34fa91a4b0a8b1d8ff510a9d67a25e1a07a5e
commit r14-3983-gdeb34fa91a4b0a8b1d8ff510a9d67a25e1a07a5e
Author: Javier Miranda <miranda@adacore.com>
Date: Thu Aug 24 19:32:59 2023 +0000
ada: Assertion failure adding extra formals to late overriding subp.
gcc/ada/
* sem_ch6.adb (Parent_Subprogram): Complete assertion.
Diff:
---
gcc/ada/sem_ch6.adb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gcc/ada/sem_ch6.adb b/gcc/ada/sem_ch6.adb
index 297371a2c16..612a9e97221 100644
--- a/gcc/ada/sem_ch6.adb
+++ b/gcc/ada/sem_ch6.adb
@@ -8789,7 +8789,8 @@ package body Sem_Ch6 is
and then Has_Controlling_Result (Subp_Id))
or else Has_Suffix (Ovr_E, 'P')
or else Is_RACW_Stub_Type
- (Find_Dispatching_Type (Subp_Id)));
+ (Find_Dispatching_Type (Subp_Id))
+ or else No (Overridden_Operation (Ovr_E)));
if Present (Overridden_Operation (Ovr_E)) then
Ovr_E := Overridden_Operation (Ovr_E);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-14 12:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-14 12:45 [gcc r14-3983] ada: Assertion failure adding extra formals to late overriding subp Marc Poulhi?s
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).