[Bug c++/69826] problem with cilkplus pragma and preprocessor variable

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 30 12:33:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69826

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Mar 30 12:33:02 2016
New Revision: 234553

URL: https://gcc.gnu.org/viewcvs?rev=234553&root=gcc&view=rev
Log:
        Backported from mainline
        2016-02-19  Jakub Jelinek  <jakub@redhat.com>

        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.

Added:
    branches/gcc-5-branch/gcc/testsuite/c-c++-common/cilk-plus/CK/pr69826-1.c
    branches/gcc-5-branch/gcc/testsuite/c-c++-common/cilk-plus/CK/pr69826-2.c
Modified:
    branches/gcc-5-branch/gcc/c-family/ChangeLog
    branches/gcc-5-branch/gcc/c-family/c-pragma.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list