From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 345153956C2E; Tue, 9 Mar 2021 10:47:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 345153956C2E From: "ro 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 10:47:34 +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: ro 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: cc 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 10:47:35 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98920 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ro at gcc dot gnu.org --- Comment #17 from Rainer Orth --- As I'd reported upstream, the new test FAILs on Solaris: +FAIL: c-c++-common/asan/pr98920.c -O0 (test for excess errors) +UNRESOLVED: c-c++-common/asan/pr98920.c -O0 compilation failed to produ= ce executable +FAIL: c-c++-common/asan/pr98920.c -O1 (test for excess errors) +UNRESOLVED: c-c++-common/asan/pr98920.c -O1 compilation failed to produ= ce executable +FAIL: c-c++-common/asan/pr98920.c -O2 (test for excess errors) +UNRESOLVED: c-c++-common/asan/pr98920.c -O2 compilation failed to produ= ce executable +FAIL: c-c++-common/asan/pr98920.c -O2 -flto (test for excess errors) +UNRESOLVED: c-c++-common/asan/pr98920.c -O2 -flto compilation failed to produce executable +FAIL: c-c++-common/asan/pr98920.c -O2 -flto -flto-partition=3Dnone (tes= t for excess errors) +UNRESOLVED: c-c++-common/asan/pr98920.c -O2 -flto -flto-partition=3Dnone= =20 compilation failed to produce executable +FAIL: c-c++-common/asan/pr98920.c -O3 -g (test for excess errors) +UNRESOLVED: c-c++-common/asan/pr98920.c -O3 -g compilation failed to produce executable +FAIL: c-c++-common/asan/pr98920.c -Os (test for excess errors) +UNRESOLVED: c-c++-common/asan/pr98920.c -Os compilation failed to produ= ce executable Excess errors: /vol/gcc/src/hg/master/local/gcc/testsuite/c-c++-common/asan/pr98920.c:17:6= 6: error: 'REG_STARTEND' was not declared in this scope; did you mean 'REG_EPAREN'? It should either be restricted to glibc targets if that's what it requires, or to those that do support REG_STARTEND.=