[testsuite] PR70227, skip g++.dg/lto/pr69589_0.C on targets without -rdynamic support
authorJiong Wang <jiong.wang@arm.com>
Mon, 16 May 2016 08:11:42 +0000 (08:11 +0000)
committerJiong Wang <jiwang@gcc.gnu.org>
Mon, 16 May 2016 08:11:42 +0000 (08:11 +0000)
  PR testsuite/70227
  * g++.dg/lto/pr69589_0.C: Skip arm and aarch64 bare-metal targets.

From-SVN: r236265

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/pr69589_0.C

index 8ac56b5..88cc726 100644 (file)
@@ -1,3 +1,8 @@
+2016-05-16  Jiong Wang  <jiong.wang@arm.com>
+
+       PR testsuite/70227
+       * g++.dg/lto/pr69589_0.C: Skip arm and aarch64 bare-metal targets.
+
 2016-05-15  Harald Anlauf  <anlauf@gmx.de>
 
        PR fortran/69603
index bbdcb73..1457d2e 100644 (file)
@@ -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;