aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJiong Wang <jiong.wang@arm.com>2016-05-16 08:11:42 +0000
committerJiong Wang <jiwang@gcc.gnu.org>2016-05-16 08:11:42 +0000
commit921d1e735e15a69b4b221cad3cdab6ebe3dfb257 (patch)
tree832a5b7df0dae0d50ce349607ba22feface625e3 /gcc
parentaab2c659494cbc7a65e9935dc15155e3f0bc58c6 (diff)
downloadgcc-921d1e735e15a69b4b221cad3cdab6ebe3dfb257.zip
gcc-921d1e735e15a69b4b221cad3cdab6ebe3dfb257.tar.gz
gcc-921d1e735e15a69b4b221cad3cdab6ebe3dfb257.tar.bz2
[testsuite] PR70227, skip g++.dg/lto/pr69589_0.C on targets without -rdynamic support
PR testsuite/70227 * g++.dg/lto/pr69589_0.C: Skip arm and aarch64 bare-metal targets. From-SVN: r236265
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/g++.dg/lto/pr69589_0.C4
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 8ac56b5..88cc726 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
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;