From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3C7DE385840A; Thu, 11 Nov 2021 18:03:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3C7DE385840A From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/103051] [12 regression] new test case gcc.dg/vect/tsvc/vect-tsvc-s112.c fails in r12-4840 Date: Thu, 11 Nov 2021 18:03:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.0 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: Thu, 11 Nov 2021 18:03:27 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103051 --- Comment #10 from Segher Boessenkool --- (In reply to Martin Li=C5=A1ka from comment #9) > All right, so something like this should work, right? >=20 > diff --git a/gcc/testsuite/gcc.dg/vect/tsvc/vect-tsvc-s112.c > b/gcc/testsuite/gcc.dg/vect/tsvc/vect-tsvc-s112.c > index 3c6ae49f212..851b54e68b1 100644 > --- a/gcc/testsuite/gcc.dg/vect/tsvc/vect-tsvc-s112.c > +++ b/gcc/testsuite/gcc.dg/vect/tsvc/vect-tsvc-s112.c > @@ -36,4 +36,4 @@ int main (int argc, char **argv) > return 0; > } >=20=20 > -/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ > \ No newline at end of file > +/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { tar= get > { !powerpc*-*-* || has_arch_pwr8 } } } } */ Tcl's || is short-circuiting, so that should work yes. But put that newline where it should be. And there should be a space after the ! I think? Never sure about that (it's not Tcl, it's parsed manually by DG, the rules are different).=