aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-phiopt.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2021-03-09 14:14:09 +0100
committerJakub Jelinek <jakub@redhat.com>2021-03-09 14:15:26 +0100
commitea7fff4c43a24dee1db4153250455e6040a1afce (patch)
tree9e8c6b742288a49f5ccb2ffa654c9f9d3ece17b8 /gcc/tree-ssa-phiopt.c
parent4b3d86a7768a7562798f17f074f540fbc288ec3b (diff)
downloadgcc-ea7fff4c43a24dee1db4153250455e6040a1afce.zip
gcc-ea7fff4c43a24dee1db4153250455e6040a1afce.tar.gz
gcc-ea7fff4c43a24dee1db4153250455e6040a1afce.tar.bz2
testsuite: Fix up pr98920.c on non-glibc or old glibc targets [PR98920]
Not all OSes have regex.h and not all OSes that do have REG_STARTEND macro support. Conditionalize the test on that. 2021-03-09 Jakub Jelinek <jakub@redhat.com> PR sanitizer/98920 * c-c++-common/asan/pr98920.c: Only include regex.h if the header exists. If REG_STARTEND macro isn't defined, just return 0 from main instead of the actual test.
Diffstat (limited to 'gcc/tree-ssa-phiopt.c')
0 files changed, 0 insertions, 0 deletions