c++: normalizing ttp constraints [PR115656]
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr70010-2.c
blobbcd290177d3c56094f7810b35ef1cfce1494fb1d
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 } */
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;