ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gcc.target/powerpc/pr70010-4.c

18 lines
340 B
C
Raw Permalink Normal View History

2024-04-01 15:19:46 +00:00
/* { dg-do compile } */
/* { dg-options "-O2 -mvsx" } */
vector int c, a, b;
static inline void __attribute__ ((__always_inline__, target ("no-vsx")))
foo () /* { dg-error "inlining failed in call to .* target specific option mismatch" } */
{
c = a + b;
}
int
main ()
{
foo (); /* { dg-message "called from here" } */
c = a + b;
}