diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2018-03-20 09:44:21 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2018-03-20 09:44:21 +0000 |
commit | 452154b9e6d3aca59f09b9470b5cfcb2c206fb3e (patch) | |
tree | e0a3d1cb552a6477471727a99553f4e25e9ad1f8 | |
parent | b0b592fc7b750423b8310756a24a06b2ac7e412c (diff) | |
download | gcc-452154b9e6d3aca59f09b9470b5cfcb2c206fb3e.zip gcc-452154b9e6d3aca59f09b9470b5cfcb2c206fb3e.tar.gz gcc-452154b9e6d3aca59f09b9470b5cfcb2c206fb3e.tar.bz2 |
* c-ada-spec.c (pp_ada_tree_identifier): Deal specifically with _Bool.
From-SVN: r258675
-rw-r--r-- | gcc/c-family/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/c-family/c-ada-spec.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 6635f37..25ed91f 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,7 @@ +2018-03-20 Eric Botcazou <ebotcazou@adacore.com> + + * c-ada-spec.c (pp_ada_tree_identifier): Deal specifically with _Bool. + 2018-03-16 Jakub Jelinek <jakub@redhat.com> PR c/84909 diff --git a/gcc/c-family/c-ada-spec.c b/gcc/c-family/c-ada-spec.c index 288a461..bc137a6 100644 --- a/gcc/c-family/c-ada-spec.c +++ b/gcc/c-family/c-ada-spec.c @@ -1409,7 +1409,7 @@ pp_ada_tree_identifier (pretty_printer *buffer, tree node, tree type, else pp_string(buffer, s); else - if (!strcmp (s, "bool")) + if (!strcmp (s, "u_Bool") || !strcmp (s, "bool")) { if (package_prefix) { |