]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/69826 (problem with cilkplus pragma and preprocessor variable)
authorJakub Jelinek <jakub@redhat.com>
Fri, 19 Feb 2016 22:12:54 +0000 (23:12 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 19 Feb 2016 22:12:54 +0000 (23:12 +0100)
commit871b3f473a4bca51d05c1682efb5017385ec9e9e
treead24c0977ac86141c53e210365c0fdb3a06892eb
parent77a37715c6064b4253dc16d7a69ab1751f30a79a
re PR c++/69826 (problem with cilkplus pragma and preprocessor variable)

PR c++/69826
* c-pragma.c (c_pp_lookup_pragma): Handle PRAGMA_CILK_GRAINSIZE.
(init_pragma): Register PRAGMA_CILK_GRAINSIZE even for
flag_preprocess_only.

* c-c++-common/cilk-plus/CK/pr69826-1.c: New test.
* c-c++-common/cilk-plus/CK/pr69826-2.c: New test.

From-SVN: r233571
gcc/c-family/ChangeLog
gcc/c-family/c-pragma.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/cilk-plus/CK/pr69826-1.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/cilk-plus/CK/pr69826-2.c [new file with mode: 0644]