public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-2155] [Ada] Replace low-level condition with a high-level call
@ 2021-07-08 13:37 Pierre-Marie de Rodat
0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2021-07-08 13:37 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:df0783f81ca9aca026a1db3b81080a8756c6166e
commit r12-2155-gdf0783f81ca9aca026a1db3b81080a8756c6166e
Author: Piotr Trojanek <trojanek@adacore.com>
Date: Tue May 25 17:40:38 2021 +0200
[Ada] Replace low-level condition with a high-level call
gcc/ada/
* lib-writ.adb (Ensure_System_Dependency): Simplify condition.
Diff:
---
gcc/ada/lib-writ.adb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/ada/lib-writ.adb b/gcc/ada/lib-writ.adb
index 1b2912a53b2..738a91e5ae1 100644
--- a/gcc/ada/lib-writ.adb
+++ b/gcc/ada/lib-writ.adb
@@ -147,7 +147,7 @@ package body Lib.Writ is
begin
-- Nothing to do if we already compiled System
- if Unit_Names.Get (System_Uname) /= No_Unit then
+ if Is_Loaded (System_Uname) then
return;
end if;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-08 13:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-08 13:37 [gcc r12-2155] [Ada] Replace low-level condition with a high-level call 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).