public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-656] [Ada] Mark Requires_Transient_Scope as Inline Date: Thu, 19 May 2022 14:08:11 +0000 (GMT) [thread overview] Message-ID: <20220519140811.3032F383F425@sourceware.org> (raw) 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.
reply other threads:[~2022-05-19 14:08 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20220519140811.3032F383F425@sourceware.org \ --to=pmderodat@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /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: linkBe 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).