From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1059) id 924D9394505B; Thu, 27 Aug 2020 18:07:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 924D9394505B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1598551629; bh=C5ZTX5C3yrURn2WntBa4oIsch2IrZNV7FbhKyMwTqow=; h=From:To:Subject:Date:From; b=qoaoFVarQzoMNeEOftJE+YLETuNvzHG9/g4lUJmR8/jF+ESLPfHkszG+A4UonALXf 1hZI393yWEW7Kv6KIXEDdxyqtvhm9gi58vWf9kSP3qiCcVWP55X8WQ16pYLBeQ8DSz bORF8XXH+RdA1sXHLai/Tk68Eav4kjouCuVPEmhk= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Nathan Sidwell To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/c++-modules] Re: PR96493, powerpc local call linkage failure X-Act-Checkin: gcc X-Git-Author: Alan Modra X-Git-Refname: refs/heads/devel/c++-modules X-Git-Oldrev: a64938091bf13c53cf4dc69eb3c82f8f2f476300 X-Git-Newrev: 2ba0674c657fb2089d8aae4f8c254ce0559c8f53 Message-Id: <20200827180709.924D9394505B@sourceware.org> Date: Thu, 27 Aug 2020 18:07:09 +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: Thu, 27 Aug 2020 18:07:09 -0000 https://gcc.gnu.org/g:2ba0674c657fb2089d8aae4f8c254ce0559c8f53 commit 2ba0674c657fb2089d8aae4f8c254ce0559c8f53 Author: Alan Modra Date: Mon Aug 10 23:01:12 2020 +0930 Re: PR96493, powerpc local call linkage failure PR target/96525 * gcc.target/powerpc/pr96493.c: Make it a link test when no power10_hw. Require power10_ok. Diff: --- gcc/testsuite/gcc.target/powerpc/pr96493.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/powerpc/pr96493.c b/gcc/testsuite/gcc.target/powerpc/pr96493.c index f0de0818813..1e5d43f199d 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr96493.c +++ b/gcc/testsuite/gcc.target/powerpc/pr96493.c @@ -1,6 +1,8 @@ -/* { dg-do run } */ +/* { dg-do run { target { power10_hw } } } */ +/* { dg-do link { target { ! power10_hw } } } */ /* { dg-options "-mdejagnu-cpu=power8 -O2" } */ /* { dg-require-effective-target powerpc_elfv2 } */ +/* { dg-require-effective-target power10_ok } */ /* Test local calls between pcrel and non-pcrel code.