[Bug c++/69826] problem with cilkplus pragma and preprocessor variable
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 17 13:55:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69826
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
This compiles just fine, unless -save-temps is used. Therefore, do you have
say ccache installed? Just get rid of it...
Fixing the preprocessing for
#define CILK_FOR_GRAINSIZE 128
#pragma cilk grainsize =CILK_FOR_GRAINSIZE
is very easy, but if there is no whitespace between grainsize (which is not
supposed to be macro expanded) and =, then it is still not expanded.
More information about the Gcc-bugs
mailing list