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>
This commit is contained in:
David Malcolm 2025-03-27 20:00:29 -04:00
parent 8d6de758cc
commit c88abca94a
2 changed files with 2 additions and 2 deletions

View file

@ -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* } }

View file

@ -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")))