aboutsummaryrefslogtreecommitdiff
path: root/libcpp/directives.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2019-09-03 15:08:28 +0000
committerUlrich Weigand <uweigand@gcc.gnu.org>2019-09-03 15:08:28 +0000
commit2f2aeda98f3aa24034a700e7efcb6c1a9397836f (patch)
tree5b5243531a267cc134be476ce30f7405ea5998a4 /libcpp/directives.c
parent934392185369af22fee845e4edd92c420b8c248b (diff)
downloadgcc-2f2aeda98f3aa24034a700e7efcb6c1a9397836f.zip
gcc-2f2aeda98f3aa24034a700e7efcb6c1a9397836f.tar.gz
gcc-2f2aeda98f3aa24034a700e7efcb6c1a9397836f.tar.bz2
Remove Cell Broadband Engine SPU targets
From-SVN: r275343
Diffstat (limited to 'libcpp/directives.c')
-rw-r--r--libcpp/directives.c12
1 files changed, 6 insertions, 6 deletions
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);