From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 26E7D395A832; Tue, 9 Mar 2021 13:15:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 26E7D395A832 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/98920] [10/11 Regression] uses regexec without support for REG_STARTEND with -fsanitize=address Date: Tue, 09 Mar 2021 13:15:36 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 10.2.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2021 13:15:37 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98920 --- Comment #20 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ea7fff4c43a24dee1db4153250455e6040a1afce commit r11-7576-gea7fff4c43a24dee1db4153250455e6040a1afce Author: Jakub Jelinek 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 ma= cro support. Conditionalize the test on that. 2021-03-09 Jakub Jelinek PR sanitizer/98920 * c-c++-common/asan/pr98920.c: Only include regex.h if the head= er exists. If REG_STARTEND macro isn't defined, just return 0 from main instead of the actual test.=