Debian Codegraph @

gcc/testsuite/gcc.target/powerpc/gnuattr1.c

raw
1 /* { dg-do compile { target { powerpc*-linux-* } } } */
2 /* { dg-options "-O2 -mvsx -mlong-double-64" } */
3 /* { dg-require-effective-target powerpc_vsx } */
4 /* { dg-final { scan-assembler "gnu_attribute 4, 9" } } */
5
6 /* Check that if we can do the long double operation without doing an emulator
7 call, such as with 64-bit long double support, that we still set the
8 appropriate .gnu_attribute. */
9
10 long double a;
11
12 void add1 (void)
13 {
14 a++;
15 }