[PATCH] D33211: [builtins] Fix a check from __GNU__ to __GNUC__ for disabling executable stack.
Manoj Gupta via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 15 13:45:25 PDT 2017
manojgupta added a comment.
Tested that GCC and Clang do not define __GNU__
$ cat blah.c
#ifdef __GNU__
aabb // Should error out if __GNU__ is defined
#endif
$ gcc -c blah.c // No error
$ bin/clang -c blah.c // No error
https://reviews.llvm.org/D33211
More information about the llvm-commits
mailing list