[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr70010-2.c
blobdd24208153721b9ab89fd3155b5a638ab7a564c4
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -flto -maltivec -mno-vsx" } */
3 /* { dg-require-effective-target lto } */
4 /* { dg-require-effective-target powerpc_altivec_ok } */
6 vector int c, a, b;
8 static inline void __attribute__ ((__always_inline__, target ("no-vsx")))
9 foo ()
11 c = a + b;
14 int
15 main ()
17 foo ();
18 c = a + b;