From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1005) id BB155385E449; Wed, 9 Jun 2021 04:42:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BB155385E449 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Michael Meissner To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/meissner/heads/work055)] PR 100168: Fix tests when running on power10. X-Act-Checkin: gcc X-Git-Author: Michael Meissner X-Git-Refname: refs/users/meissner/heads/work055 X-Git-Oldrev: 99aef549541b9f4070e306ef82c6c5a64a1d7799 X-Git-Newrev: 7aba937fd325ce93a4de48d103c016a8b9fb50bd Message-Id: <20210609044222.BB155385E449@sourceware.org> Date: Wed, 9 Jun 2021 04:42:22 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2021 04:42:22 -0000 https://gcc.gnu.org/g:7aba937fd325ce93a4de48d103c016a8b9fb50bd commit 7aba937fd325ce93a4de48d103c016a8b9fb50bd Author: Michael Meissner Date: Wed Jun 9 00:41:49 2021 -0400 PR 100168: Fix tests when running on power10. Fix a test that was checking for 64-bit TOC calls, to also allow for PC-relative calls. gcc/testsuite 2021-06-09 Michael Meissner PR testsuite/100168 * gcc.dg/pr56727-2.c: Add support for PC-relative calls. Diff: --- gcc/testsuite/gcc.dg/pr56727-2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/pr56727-2.c b/gcc/testsuite/gcc.dg/pr56727-2.c index c54369ed25e..77fdf4bc350 100644 --- a/gcc/testsuite/gcc.dg/pr56727-2.c +++ b/gcc/testsuite/gcc.dg/pr56727-2.c @@ -18,4 +18,4 @@ void h () /* { dg-final { scan-assembler "@(PLT|plt)" { target i?86-*-* x86_64-*-* } } } */ /* { dg-final { scan-assembler "@(PLT|plt)" { target { powerpc*-*-linux* && ilp32 } } } } */ -/* { dg-final { scan-assembler "bl f\n\\s*nop" { target { powerpc*-*-linux* && lp64 } } } } */ +/* { dg-final { scan-assembler "(bl f\n\\s*nop)|(bl f@notoc)" { target { powerpc*-*-linux* && lp64 } } } } */