Debian Codegraph @

gcc/testsuite/gcc.target/powerpc/pr103627-3.c

raw
1 /* There are no error messages for either LE or BE 64bit. */
2 /* { dg-require-effective-target be } */
3 /* { dg-require-effective-target ilp32 } */
4 /* { dg-options "-mdejagnu-cpu=power6" } */
5
6 /* Verify compiler emits error message instead of ICE. */
7
8 /* Option -mno-avoid-indexed-addresses is to disable the unexpected
9 warning on indexed addressing which can affect dg checks. */
10 #pragma GCC target "cpu=power10,no-avoid-indexed-addresses"
11 int
12 main ()
13 {
14 float *b;
15 __vector_quad c;
16 __builtin_mma_disassemble_acc (b, &c);
17 /* { dg-error "'__builtin_mma_disassemble_acc' requires the '-mmma' option" "" { target *-*-* } .-1 } */
18 return 0;
19 }
20