diff options
author | Marek Polacek <polacek@redhat.com> | 2015-10-20 20:46:45 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2015-10-20 20:46:45 +0000 |
commit | fa60eeb9706dc937fc565b4c6d7fe7efad36c733 (patch) | |
tree | 2573e48cccf51903f26da5491e7c07e051289537 /gcc/c/c-parser.c | |
parent | 0e993e397753503c774c5b411db231b7a8fa1990 (diff) | |
download | gcc-fa60eeb9706dc937fc565b4c6d7fe7efad36c733.zip gcc-fa60eeb9706dc937fc565b4c6d7fe7efad36c733.tar.gz gcc-fa60eeb9706dc937fc565b4c6d7fe7efad36c733.tar.bz2 |
array-notation-common.c (is_cilkplus_vector_p): Define.
* array-notation-common.c (is_cilkplus_vector_p): Define.
* c-common.h (is_cilkplus_vector_p): Declare.
* c-parser.c (is_cilkplus_vector_p): Don't define here.
* parser.c (is_cilkplus_vector_p): Don't define here.
From-SVN: r229099
Diffstat (limited to 'gcc/c/c-parser.c')
-rw-r--r-- | gcc/c/c-parser.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gcc/c/c-parser.c b/gcc/c/c-parser.c index e7b8440..c8c6a2d 100644 --- a/gcc/c/c-parser.c +++ b/gcc/c/c-parser.c @@ -3848,17 +3848,6 @@ c_parser_attribute_any_word (c_parser *parser) return attr_name; } -/* Returns true of NAME is an IDENTIFIER_NODE with identiifer "vector," - "__vector" or "__vector__." */ - -static inline bool -is_cilkplus_vector_p (tree name) -{ - if (flag_cilkplus && is_attribute_p ("vector", name)) - return true; - return false; -} - #define CILK_SIMD_FN_CLAUSE_MASK \ ((OMP_CLAUSE_MASK_1 << PRAGMA_CILK_CLAUSE_VECTORLENGTH) \ | (OMP_CLAUSE_MASK_1 << PRAGMA_CILK_CLAUSE_LINEAR) \ |