ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gcc.target/powerpc/byte-in-set-2.c

15 lines
437 B
C
Raw Permalink Normal View History

2024-04-01 15:19:46 +00:00
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-require-effective-target powerpc_p9vector_ok } */
/* { dg-options "-mdejagnu-cpu=power9" } */
#include <altivec.h>
/* This test should succeed only on 32-bit configurations. */
int
test_byte_in_set (unsigned char b, unsigned long long set_members)
{
return __builtin_byte_in_set (b, set_members); /* { dg-warning "implicit declaration of function" } */
}