[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 8ac56b5113bad74f1e8819e69c68edf9fbfea475..88cc72684c873b05496cea7183fddfe3250e0be1 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 bbdcb73dfc748c6969ef4e7eb663a1e4393ea3b0..1457d2eb13e866643b8f038b5c5819089d1070f8 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;