2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr68657.c
blobfcfb489a061963deb658fe1f0b542833f5a198c0
1 /* PR c/68657 */
2 /* { dg-options "-mno-avx512f -Werror=psabi" } */
4 typedef int V __attribute__((vector_size (64)));
6 void foo (V x, V *y) { /* { dg-error "AVX512F vector argument without AVX512F enabled" } */
7 /* { dg-message "The ABI for passing parameters with 64-byte alignment has changed" "" { target *-*-* } .-1 } */
8 *y = x;
11 V bar (V *x) { /* { dg-error "AVX512F vector return without AVX512F enabled" } */
12 return *x;
15 /* { dg-message "some warnings being treated as errors" "" { target *-*-* } 0 } */