Debian Codegraph @

gcc/testsuite/gcc.target/powerpc/pr70010-2.c

raw
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 } */
5
6 vector int c, a, b;
7
8 static inline void __attribute__ ((__always_inline__, target ("no-vsx")))
9 foo ()
10 {
11 c = a + b;
12 }
13
14 int
15 main ()
16 {
17 foo ();
18 c = a + b;
19 }