* c-pragma.c (c_pp_lookup_pragma): Handle PRAGMA_CILK_SIMD.
commit8b3a6a4c7489fe267e3ac73e48af3076ac3902ca
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Mar 2014 07:27:46 +0000 (3 07:27 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Mar 2014 07:27:46 +0000 (3 07:27 +0000)
tree5211c40837d9bbda568a517fba0223bd536a83b7
parent04e7d9cbac24cfe2f8b3fe8eb0ce7280b41fc5a6
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208268 138bc75d-0d04-0410-961f-82ee72b054a4
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]