public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [Patch, testsuite] PR70227, skip g++.dg/lto/pr69589_0.C on targets without -rdynamic support
@ 2016-05-13 13:54 Jiong Wang
  2016-05-13 16:34 ` Mike Stump
  0 siblings, 1 reply; 2+ messages in thread
From: Jiong Wang @ 2016-05-13 13:54 UTC (permalink / raw)
  To: GCC Patches

[-- Attachment #1: Type: text/plain, Size: 506 bytes --]

This patch skip g++.dg/lto/pr69589_0.C on typical arm & aarch64
bare-metal targets as they don't support "-rdynamic".

spu-unknown-elf is known to be failing also, but I'd leave it to
those who are more familar with all relevant spu targets.

dg-skip-if is used instead of dg-xfail-if because the latter is not
supported inside lto.exp.

OK for trunk?

2016-05-13  Jiong Wang  <jiong.wang@arm.com>

gcc/testsuite/
   PR testsuite/70227
   * g++.dg/lto/pr69589_0.C: Skip arm and aarch64 bare-metal targets.

[-- Attachment #2: testcase.patch --]
[-- Type: text/x-patch, Size: 584 bytes --]

diff --git a/gcc/testsuite/g++.dg/lto/pr69589_0.C b/gcc/testsuite/g++.dg/lto/pr69589_0.C
index bbdcb73..1457d2e 100644
--- a/gcc/testsuite/g++.dg/lto/pr69589_0.C
+++ b/gcc/testsuite/g++.dg/lto/pr69589_0.C
@@ -1,6 +1,8 @@
 // { dg-lto-do link }
-// { dg-lto-options "-O2 -rdynamic" } 
+// { dg-lto-options "-O2 -rdynamic" }
 // { dg-extra-ld-options "-r -nostdlib" }
+// { dg-skip-if "Skip targets without -rdynamic support" { arm*-none-eabi aarch64*-*-elf } { "*" } { "" } }
+
 #pragma GCC visibility push(hidden)
 struct A { int &operator[] (long); };
 template <typename> struct B;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Patch, testsuite] PR70227, skip g++.dg/lto/pr69589_0.C on targets without -rdynamic support
  2016-05-13 13:54 [Patch, testsuite] PR70227, skip g++.dg/lto/pr69589_0.C on targets without -rdynamic support Jiong Wang
@ 2016-05-13 16:34 ` Mike Stump
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Stump @ 2016-05-13 16:34 UTC (permalink / raw)
  To: Jiong Wang; +Cc: GCC Patches

On May 13, 2016, at 6:53 AM, Jiong Wang <jiong.wang@foss.arm.com> wrote:
> 
> This patch skip g++.dg/lto/pr69589_0.C on typical arm & aarch64
> bare-metal targets as they don't support "-rdynamic".
> 
> OK for trunk?

Ok.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-13 16:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-13 13:54 [Patch, testsuite] PR70227, skip g++.dg/lto/pr69589_0.C on targets without -rdynamic support Jiong Wang
2016-05-13 16:34 ` Mike Stump

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).