public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/c++-modules] Re: PR96493, powerpc local call linkage failure
@ 2020-08-27 18:07 Nathan Sidwell
  0 siblings, 0 replies; only message in thread
From: Nathan Sidwell @ 2020-08-27 18:07 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:2ba0674c657fb2089d8aae4f8c254ce0559c8f53

commit 2ba0674c657fb2089d8aae4f8c254ce0559c8f53
Author: Alan Modra <amodra@gmail.com>
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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-27 18:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-27 18:07 [gcc/devel/c++-modules] Re: PR96493, powerpc local call linkage failure Nathan Sidwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).