[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr106680-1.c
blobaadaa614cfeba250def82fb8308b436fb9bd30a2
1 /* { dg-require-effective-target lp64 } */
2 /* { dg-options "-mno-powerpc64" } */
4 /* Verify there is an error message about PowerPC64 requirement. */
6 int foo ()
8 return 1;
11 /* { dg-error "'-m64' requires a PowerPC64 cpu" "PR106680" { target powerpc*-*-linux* powerpc*-*-freebsd* powerpc-*-rtems* powerpc*-*-vxworks* } 0 } */
12 /* { dg-warning "'-m64' requires PowerPC64 architecture, enabling" "PR106680" { target powerpc*-*-darwin* } 0 } */
13 /* { dg-warning "'-maix64' requires PowerPC64 architecture remain enabled" "PR106680" { target powerpc*-*-aix* } 0 } */