From 2f2aeda98f3aa24034a700e7efcb6c1a9397836f Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Tue, 3 Sep 2019 15:08:28 +0000 Subject: Remove Cell Broadband Engine SPU targets From-SVN: r275343 --- libcpp/ChangeLog | 5 +++++ libcpp/directives.c | 12 ++++++------ libcpp/expr.c | 4 ++-- 3 files changed, 13 insertions(+), 8 deletions(-) (limited to 'libcpp') diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 8af0ad2..6791b36 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,8 @@ +2019-09-03 Ulrich Weigand + + * directives.c: Remove references to spu from comments. + * expr.c: Likewise. + 2019-08-29 Nathan Sidwell * internal.h (enum include_type): Add IT_MAIN, IT_DIRECTIVE_HWM, diff --git a/libcpp/directives.c b/libcpp/directives.c index 48271e1..29d21ed 100644 --- a/libcpp/directives.c +++ b/libcpp/directives.c @@ -1952,9 +1952,9 @@ do_ifdef (cpp_reader *pfile) if (node) { /* Do not treat conditional macros as being defined. This is due to - the powerpc and spu ports using conditional macros for 'vector', - 'bool', and 'pixel' to act as conditional keywords. This messes - up tests like #ifndef bool. */ + the powerpc port using conditional macros for 'vector', 'bool', + and 'pixel' to act as conditional keywords. This messes up tests + like #ifndef bool. */ skip = !cpp_macro_p (node) || (node->flags & NODE_CONDITIONAL); _cpp_mark_macro_used (node); _cpp_maybe_notify_macro_use (pfile, node); @@ -1981,9 +1981,9 @@ do_ifndef (cpp_reader *pfile) if (node) { /* Do not treat conditional macros as being defined. This is due to - the powerpc and spu ports using conditional macros for 'vector', - 'bool', and 'pixel' to act as conditional keywords. This messes - up tests like #ifndef bool. */ + the powerpc port using conditional macros for 'vector', 'bool', + and 'pixel' to act as conditional keywords. This messes up tests + like #ifndef bool. */ skip = (cpp_macro_p (node) && !(node->flags & NODE_CONDITIONAL)); _cpp_mark_macro_used (node); diff --git a/libcpp/expr.c b/libcpp/expr.c index d8438a5..4b514b1 100644 --- a/libcpp/expr.c +++ b/libcpp/expr.c @@ -1075,8 +1075,8 @@ parse_defined (cpp_reader *pfile) pfile->state.prevent_expansion--; /* Do not treat conditional macros as being defined. This is due to the - powerpc and spu ports using conditional macros for 'vector', 'bool', and - 'pixel' to act as conditional keywords. This messes up tests like #ifndef + powerpc port using conditional macros for 'vector', 'bool', and 'pixel' + to act as conditional keywords. This messes up tests like #ifndef bool. */ result.unsignedp = false; result.high = 0; -- cgit v1.1