public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-656] [Ada] Mark Requires_Transient_Scope as Inline
@ 2022-05-19 14:08 Pierre-Marie de Rodat
0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2022-05-19 14:08 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:bd6c3f923686bb49e9fb9040781ae89aaf19d9e1
commit r13-656-gbd6c3f923686bb49e9fb9040781ae89aaf19d9e1
Author: Eric Botcazou <ebotcazou@adacore.com>
Date: Fri Apr 15 08:48:30 2022 +0200
[Ada] Mark Requires_Transient_Scope as Inline
The predicate is now a simple disjunction of two other predicates.
gcc/ada/
* sem_util.ads (Requires_Transient_Scope): Add pragma Inline.
Diff:
---
gcc/ada/sem_util.ads | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/ada/sem_util.ads b/gcc/ada/sem_util.ads
index 7038f1188ba..2d9cbd3cf8b 100644
--- a/gcc/ada/sem_util.ads
+++ b/gcc/ada/sem_util.ads
@@ -3068,6 +3068,7 @@ package Sem_Util is
-- previous errors (particularly in -gnatq mode).
function Requires_Transient_Scope (Typ : Entity_Id) return Boolean;
+ pragma Inline (Requires_Transient_Scope);
-- Return true if temporaries of Typ need to be wrapped in a transient
-- scope, either because they are allocated on the secondary stack or
-- finalization actions must be generated before the next instruction.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-19 14:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-19 14:08 [gcc r13-656] [Ada] Mark Requires_Transient_Scope as Inline Pierre-Marie de Rodat
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).