* c-ada-spec.c (pp_ada_tree_identifier): Deal specifically with _Bool.
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 20 Mar 2018 09:44:21 +0000 (09:44 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 20 Mar 2018 09:44:21 +0000 (09:44 +0000)
From-SVN: r258675

gcc/c-family/ChangeLog
gcc/c-family/c-ada-spec.c

index 6635f37ae4151ba01904130fbd4d46e935246d23..25ed91f208943d515a9a0d60e7e9a9556b5bd8ae 100644 (file)
@@ -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
index 288a4611de0378fc42946c9bf819a49bcba2979c..bc137a6eae37d0627c82ea938ef06781c8b3f4aa 100644 (file)
@@ -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)
          {