aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorClaudiu Zissulescu <claziss@synopsys.com>2017-03-28 10:56:44 +0200
committerClaudiu Zissulescu <claziss@gcc.gnu.org>2017-03-28 10:56:44 +0200
commit0dee55fec92e299eb584f2d8e4bfb797e0c2328c (patch)
tree338a990483999f993f6b1d918dc249eae9fc9a0b /gcc/fold-const.c
parentd1ab0a32adf366f2254e05235efbf88b20a0e3a1 (diff)
downloadgcc-0dee55fec92e299eb584f2d8e4bfb797e0c2328c.zip
gcc-0dee55fec92e299eb584f2d8e4bfb797e0c2328c.tar.gz
gcc-0dee55fec92e299eb584f2d8e4bfb797e0c2328c.tar.bz2
[ARC] Define _REENTRANT when -pthread is passed.
The compiler is supposed to have the builtin defined _REENTRANT defined when -pthread is passed, which wasn't done on the ARC architecture. When _REENTRANT is not passed, the C library will not use reentrant functions, and the latest version of ax_pthread.m4 from the autoconf-archive will no longer detect that thread support is available (see https://savannah.gnu.org/patch/?8186). gcc/ 2017-03-28 Claudiu Zissulescu <claziss@synopsys.com> Thomas Petazzoni <thomas.petazzoni@free-electrons.com> * config/arc/arc.h (CPP_SPEC): Add subtarget_cpp_spec. (EXTRA_SPECS): Define. (SUBTARGET_EXTRA_SPECS): Likewise. (SUBTARGET_CPP_SPEC): Likewise. * config/arc/elf.h (EXTRA_SPECS): Renamed to SUBTARGET_EXTRA_SPECS. * config/arc/linux.h (SUBTARGET_CPP_SPEC): Define. Co-Authored-By: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> From-SVN: r246524
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions