From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 200593857C61; Mon, 10 Aug 2020 03:30:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 200593857C61 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1597030244; bh=2IA6KSPA4ImXcSHUohpbSrfV159AGAl1MhGITzN9piU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=GZwMO59gHconXsy43O9olmsGaHszulRyhUm7V/ZjQ3OXJMXIEbCzsFY/zsSQrwOh2 VdmeWIydq6XPs9QhrHsthdQB5cmbV4KC5SvYIsiKpWxUVgI/yfjjw9x2lOLtGzynlR LvpxpFymMCoHgUfKwx5Ge8zCD3iYmT4WhIHU8N3o= From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/96525] new test gcc.target/powerpc/pr96493.c fails Date: Mon, 10 Aug 2020 03:30:44 +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: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: amodra at gmail dot com X-Bugzilla-Target-Milestone: --- 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: Mon, 10 Aug 2020 03:30:44 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96525 --- Comment #5 from Peter Bergner --- (In reply to Alan Modra from comment #4) > I could make the test { do-do link } but running the test is just that > little bit better test of the linker output, and as far as I know there > isn't a way of saying "link this but only run on power10". Does this work? -/* { dg-do run } */ +/* { dg-do run { target power10_hw } } */ +/* { dg-do link { target { ! power10_hw } } } */ /* { dg-options "-mdejagnu-cpu=3Dpower8 -O2" } */ /* { dg-require-effective-target powerpc_elfv2 } */ +/* { dg-require-effective-target power10_ok } */=