From 452154b9e6d3aca59f09b9470b5cfcb2c206fb3e Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Tue, 20 Mar 2018 09:44:21 +0000 Subject: [PATCH] * c-ada-spec.c (pp_ada_tree_identifier): Deal specifically with _Bool. From-SVN: r258675 --- gcc/c-family/ChangeLog | 4 ++++ gcc/c-family/c-ada-spec.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 6635f37ae41..25ed91f2089 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,7 @@ +2018-03-20 Eric Botcazou + + * c-ada-spec.c (pp_ada_tree_identifier): Deal specifically with _Bool. + 2018-03-16 Jakub Jelinek PR c/84909 diff --git a/gcc/c-family/c-ada-spec.c b/gcc/c-family/c-ada-spec.c index 288a4611de0..bc137a6eae3 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) { -- 2.30.2