https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98920
--- Comment #20 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:ea7fff4c43a24dee1db4153250455e6040a1afce commit r11-7576-gea7fff4c43a24dee1db4153250455e6040a1afce Author: Jakub Jelinek <ja...@redhat.com> Date: Tue Mar 9 14:14:09 2021 +0100 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 <ja...@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.