c++: normalizing ttp constraints [PR115656]
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr106680-3.c
blobbca012e2cf663f9a28de6f958b1ae83206cc3d34
1 /* { dg-require-effective-target lp64 } */
2 /* { dg-options "-m64 -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 } */