blob: 9fd97d10074a67ffa81c7d97d43f1588c250e684 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2 -maltivec -mno-vsx" } */
/* { dg-require-effective-target powerpc_altivec_ok } */
vector int c, a, b;
static inline void __attribute__ ((__always_inline__, target ("no-vsx")))
foo ()
{
c = a + b;
}
int
main ()
{
foo ();
c = a + b;
}