aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-range.cc
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@adacore.com>2023-05-24 03:07:41 -0300
committerAlexandre Oliva <oliva@gnu.org>2023-05-24 03:07:41 -0300
commit7c1457c78c465ae0f96a18af602ddd812bfb39cd (patch)
tree25de3ec72893eb1dbe0bf03c39cd16c5d8b6d45c /gcc/gimple-range.cc
parente55c134ebeef2fa23ad5f4d8afa36b5949b2852c (diff)
downloadgcc-7c1457c78c465ae0f96a18af602ddd812bfb39cd.zip
gcc-7c1457c78c465ae0f96a18af602ddd812bfb39cd.tar.gz
gcc-7c1457c78c465ae0f96a18af602ddd812bfb39cd.tar.bz2
Check for sysconf decl on vxworks
The sysconf function is only available in rtp mode on vxworks. In kernel mode, it is not even declared, but the feature test macro in the testsuite doesn't notice its absence because it's a link test, and vxworks kernel mode uses partial linking. This patch introduces an alternate test on vxworks targets to check for a declaration and for an often-used sysconf parameter. for gcc/testsuite/ChangeLog * lib/target-supports.exp (check_effective_target_sysconf): Check for declaration and _SC_PAGESIZE on vxworks.
Diffstat (limited to 'gcc/gimple-range.cc')
0 files changed, 0 insertions, 0 deletions