This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix PR71254
- From: Richard Biener <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 24 May 2016 12:32:17 +0200 (CEST)
- Subject: [PATCH] Fix PR71254
- Authentication-results: sourceware.org; auth=none
The following testsuite regression on the gcc 5 branch exposes a latent
issue on aarch64. Fixed by compiling the testcase only on the arch
the fix was backported for.
Tested w/ aarch64 cross and x86_64, committed to branch.
Richard.
2016-05-24 Richard Biener <rguenther@suse.de>
PR testsuite/71254
* gcc.dg/simd-7.c: Compile on x86_64 and i?86 only.
Index: gcc/testsuite/gcc.dg/simd-7.c
===================================================================
*** gcc/testsuite/gcc.dg/simd-7.c (revision 236632)
--- gcc/testsuite/gcc.dg/simd-7.c (working copy)
***************
*** 1,4 ****
! /* { dg-do compile } */
/* { dg-options "-w -Wno-psabi" } */
#if __SIZEOF_LONG_DOUBLE__ == 16 || __SIZEOF_LONG_DOUBLE__ == 8
--- 1,4 ----
! /* { dg-do compile { target x86_64-*-* i?86-*-* } } */
/* { dg-options "-w -Wno-psabi" } */
#if __SIZEOF_LONG_DOUBLE__ == 16 || __SIZEOF_LONG_DOUBLE__ == 8