diff options
author | Jerome Lambourg <lambourg@adacore.com> | 2021-01-01 01:55:00 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2021-01-01 01:56:25 -0300 |
commit | af655dee7958c1cbcc087ca18902ed2cd570cda8 (patch) | |
tree | 2ccdd4be47d17aef88526795e0e2030517848d4b /gcc | |
parent | 76d00e0045ae2c13f09f122f69131c1e0e660cfc (diff) | |
download | gcc-af655dee7958c1cbcc087ca18902ed2cd570cda8.zip gcc-af655dee7958c1cbcc087ca18902ed2cd570cda8.tar.gz gcc-af655dee7958c1cbcc087ca18902ed2cd570cda8.tar.bz2 |
skip testsuite/g++.dg/other/anon5.C on vxworks_kernel targets
The vxworks kernel-mode linking is partial linking, so it cannot
detect missing symbols.
for gcc/testsuite/ChangeLog
* g++.dg/other/anon5.C: Skip on vxworks kernel.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/g++.dg/other/anon5.C | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/other/anon5.C b/gcc/testsuite/g++.dg/other/anon5.C index dadd92e..09853d4 100644 --- a/gcc/testsuite/g++.dg/other/anon5.C +++ b/gcc/testsuite/g++.dg/other/anon5.C @@ -1,6 +1,9 @@ // PR c++/34094 // { dg-do link { target { ! { *-*-darwin* *-*-hpux* *-*-solaris2.* } } } } // { dg-require-effective-target nonpic } +// Skip on vxworks kernel: The link being partial, the linker doesn't see +// the undefined reference +// { dg-skip-if "partial link" { vxworks_kernel } } // { dg-options "-gdwarf-2" } // Ignore additional message on powerpc-ibm-aix // { dg-prune-output "obtain more information" } */ |