public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-1570] [Ada] AI12-0411 Add "bool" to Interfaces.C
@ 2021-06-17 14:32 Pierre-Marie de Rodat
0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2021-06-17 14:32 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:1b96f017cd4c6eb36afe95c7e7683928274c47fc
commit r12-1570-g1b96f017cd4c6eb36afe95c7e7683928274c47fc
Author: Arnaud Charlet <charlet@adacore.com>
Date: Wed Mar 3 10:14:43 2021 -0500
[Ada] AI12-0411 Add "bool" to Interfaces.C
gcc/ada/
* libgnat/i-c.ads, libgnat/i-cexten.ads,
libgnat/i-cexten__128.ads: bool renamed C_bool.
Diff:
---
gcc/ada/libgnat/i-c.ads | 4 ++--
gcc/ada/libgnat/i-cexten.ads | 2 +-
gcc/ada/libgnat/i-cexten__128.ads | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/gcc/ada/libgnat/i-c.ads b/gcc/ada/libgnat/i-c.ads
index 5c36245c8f4..428ea4985e8 100644
--- a/gcc/ada/libgnat/i-c.ads
+++ b/gcc/ada/libgnat/i-c.ads
@@ -63,8 +63,8 @@ package Interfaces.C is
-- Boolean type
- type bool is new Boolean;
- pragma Convention (C, bool);
+ type C_bool is new Boolean;
+ pragma Convention (C, C_bool);
-- Floating-Point
diff --git a/gcc/ada/libgnat/i-cexten.ads b/gcc/ada/libgnat/i-cexten.ads
index 42eb578a38e..70d2621bb36 100644
--- a/gcc/ada/libgnat/i-cexten.ads
+++ b/gcc/ada/libgnat/i-cexten.ads
@@ -56,7 +56,7 @@ package Interfaces.C.Extensions is
-- C bool
- subtype bool is Interfaces.C.bool;
+ subtype bool is Interfaces.C.C_bool;
-- 64-bit integer types
diff --git a/gcc/ada/libgnat/i-cexten__128.ads b/gcc/ada/libgnat/i-cexten__128.ads
index 70727b71c67..c07c5ab0a13 100644
--- a/gcc/ada/libgnat/i-cexten__128.ads
+++ b/gcc/ada/libgnat/i-cexten__128.ads
@@ -56,7 +56,7 @@ package Interfaces.C.Extensions is
-- C bool
- subtype bool is Interfaces.C.bool;
+ subtype bool is Interfaces.C.C_bool;
-- 64-bit integer types
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-17 14:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-17 14:32 [gcc r12-1570] [Ada] AI12-0411 Add "bool" to Interfaces.C 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).