c-pragma.c (c_pp_lookup_pragma): Handle PRAGMA_CILK_SIMD.
authorJakub Jelinek <jakub@redhat.com>
Mon, 3 Mar 2014 07:27:46 +0000 (08:27 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 3 Mar 2014 07:27:46 +0000 (08:27 +0100)
commitb3bdf019b761cc75d967e1330f3e90cd4c94e116
tree5211c40837d9bbda568a517fba0223bd536a83b7
parent79c7fda6d56eea84a95df8ea67387b4cf972e9de
c-pragma.c (c_pp_lookup_pragma): Handle PRAGMA_CILK_SIMD.

* c-pragma.c (c_pp_lookup_pragma): Handle PRAGMA_CILK_SIMD.
(init_pragma): Call cpp_register_deferred_pragma for PRAGMA_CILK_SIMD
even when flag_preprocess_only.

* c-c++-common/cilk-plus/PS/vectorlength-2.c: New test.
* c-c++-common/cilk-plus/PS/vectorlength-3.c: New test.

From-SVN: r208268
gcc/c-family/ChangeLog
gcc/c-family/c-pragma.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/cilk-plus/PS/vectorlength-2.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/cilk-plus/PS/vectorlength-3.c [new file with mode: 0644]