+2017-05-04 Tom de Vries <tom@codesourcery.com>
+
+ PR testsuite/80557
+ * gcc.target/i386/pr57655.c: Replace absolute line numbers.
+ * gcc.target/i386/pr68657.c: Same.
+ * gcc.target/i386/pr69255-1.c: Same.
+ * gcc.target/i386/pr69255-2.c: Same.
+ * gcc.target/i386/pr69255-3.c: Same.
+
2017-05-04 Richard Biener <rguenther@suse.de>
PR tree-optimization/31130
/* { dg-do compile } */
-/* { dg-options "-mavx -mvzeroupper -mno-fp-ret-in-387" }
-
-/* { dg-error "x87 register return with x87 disabled" "" { target { ! ia32 } } 8 } */
+/* { dg-options "-mavx -mvzeroupper -mno-fp-ret-in-387" } */
long double
foo (long double x)
-{
+{ /* { dg-error "x87 register return with x87 disabled" "" { target { ! ia32 } } } */
return __builtin_ilogbl (x);
}
typedef int V __attribute__((vector_size (64)));
void foo (V x, V *y) { /* { dg-error "AVX512F vector argument without AVX512F enabled" } */
+ /* { dg-message "The ABI for passing parameters with 64-byte alignment has changed" "" { target *-*-* } .-1 } */
*y = x;
}
return *x;
}
-/* { dg-message "The ABI for passing parameters with 64-byte alignment has changed" "" { target *-*-* } 6 } */
/* { dg-message "some warnings being treated as errors" "" { target *-*-* } 0 } */
foo (const long long *p)
{
a = __builtin_ia32_gather3siv4di (a, p, b, 1, 1); /* { dg-error "needs isa option -m32 -mavx512vl" } */
+ /* { dg-warning "AVX vector return without AVX enabled changes the ABI" "" { target *-*-* } .-1 } */
+ /* { dg-warning "AVX vector argument without AVX enabled changes the ABI" "" { target *-*-* } .-2 } */
}
-
-/* { dg-warning "AVX vector return without AVX enabled changes the ABI" "" { target *-*-* } 15 } */
-/* { dg-warning "AVX vector argument without AVX enabled changes the ABI" "" { target *-*-* } 15 } */
foo (const long long *p)
{
__builtin_ia32_gather3siv4di (a, p, b, 1, 1); /* { dg-error "needs isa option -m32 -mavx512vl" } */
+ /* { dg-warning "AVX vector return without AVX enabled changes the ABI" "" { target *-*-* } .-1 } */
+ /* { dg-warning "AVX vector argument without AVX enabled changes the ABI" "" { target *-*-* } .-2 } */
}
-
-/* { dg-warning "AVX vector return without AVX enabled changes the ABI" "" { target *-*-* } 15 } */
-/* { dg-warning "AVX vector argument without AVX enabled changes the ABI" "" { target *-*-* } 15 } */
foo (const long long *p, __attribute__ ((__vector_size__ (32))) long long *q)
{
*q = __builtin_ia32_gather3siv4di (a, p, b, 1, 1); /* { dg-error "needs isa option -m32 -mavx512vl" } */
+ /* { dg-warning "AVX vector return without AVX enabled changes the ABI" "" { target *-*-* } .-1 } */
+ /* { dg-warning "AVX vector argument without AVX enabled changes the ABI" "" { target *-*-* } .-2 } */
}
-
-/* { dg-warning "AVX vector return without AVX enabled changes the ABI" "" { target *-*-* } 15 } */
-/* { dg-warning "AVX vector argument without AVX enabled changes the ABI" "" { target *-*-* } 15 } */