diff options
author | David Malcolm <dmalcolm@redhat.com> | 2025-03-27 20:00:29 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2025-03-27 20:00:29 -0400 |
commit | c88abca94a6abba20ba0bea32a0192d28e6f04ed (patch) | |
tree | ac88de410f54846b02b14cb4412257e2c58c2108 | |
parent | 8d6de758cca6d16eb930ac1a7008ee54ec5489d9 (diff) | |
download | gcc-c88abca94a6abba20ba0bea32a0192d28e6f04ed.zip gcc-c88abca94a6abba20ba0bea32a0192d28e6f04ed.tar.gz gcc-c88abca94a6abba20ba0bea32a0192d28e6f04ed.tar.bz2 |
testsuite: fix some malformed dg-require-* directives
gcc/testsuite/ChangeLog:
* g++.dg/abi/pure-virtual1.C: Fix dg-require-weak directive.
* g++.target/i386/mangling-alias1.C: Fix dg-require-ifunc
directive.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
-rw-r--r-- | gcc/testsuite/g++.dg/abi/pure-virtual1.C | 2 | ||||
-rw-r--r-- | gcc/testsuite/g++.target/i386/mangling-alias1.C | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.dg/abi/pure-virtual1.C b/gcc/testsuite/g++.dg/abi/pure-virtual1.C index 59eaf22..ce7cd70 100644 --- a/gcc/testsuite/g++.dg/abi/pure-virtual1.C +++ b/gcc/testsuite/g++.dg/abi/pure-virtual1.C @@ -1,6 +1,6 @@ // Test that we don't need libsupc++ just for __cxa_pure_virtual. // { dg-do link } -// { dg-require-weak } +// { dg-require-weak "" } // { dg-additional-options "-fno-rtti -nostdlib++" } // { dg-additional-options "-Wl,-undefined,dynamic_lookup" { target *-*-darwin* } } // { dg-xfail-if "AIX weak" { powerpc-ibm-aix* } } diff --git a/gcc/testsuite/g++.target/i386/mangling-alias1.C b/gcc/testsuite/g++.target/i386/mangling-alias1.C index 70264e2..2d7a25a 100644 --- a/gcc/testsuite/g++.target/i386/mangling-alias1.C +++ b/gcc/testsuite/g++.target/i386/mangling-alias1.C @@ -1,6 +1,6 @@ // PR c++/114992 // { dg-do compile { target { c++11 && x86_64-*-* } } } -// { dg-require-ifunc } +// { dg-require-ifunc "" } template <typename Callable> __attribute__((target_clones("avx2", "default"))) |