From 921d1e735e15a69b4b221cad3cdab6ebe3dfb257 Mon Sep 17 00:00:00 2001 From: Jiong Wang Date: Mon, 16 May 2016 08:11:42 +0000 Subject: [PATCH] [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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/lto/pr69589_0.C | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) 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 + + PR testsuite/70227 + * g++.dg/lto/pr69589_0.C: Skip arm and aarch64 bare-metal targets. + 2016-05-15 Harald Anlauf 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 struct B; -- 2.7.4