This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fixup the recently added arm/pr91603.c test case


Hi!

It was pointed out in the PR that the test case fails on big endian
targets.

This is probably obvious, since the test case scans the assembler
output for vld1.32, vst1.32, vldr and vstr, but these are never
generated for -mbig-endian.

So added dg-require-effective-target arm_little_endian.


Is it OK for trunk?


Thanks
Bernd.
2019-09-06  Bernd Edlinger  <bernd.edlinger@hotmail.de>

	* gcc.target/arm/pr91603.c: Add dg-require-effective-target
	arm_little_endian.

Index: gcc/testsuite/gcc.target/arm/pr91603.c
===================================================================
--- gcc/testsuite/gcc.target/arm/pr91603.c	(revision 275409)
+++ gcc/testsuite/gcc.target/arm/pr91603.c	(working copy)
@@ -1,5 +1,6 @@
 /* { dg-do compile }  */
 /* { dg-require-effective-target arm_neon_ok } */
+/* { dg-require-effective-target arm_little_endian } */
 /* { dg-options "-O3" } */
 /* { dg-add-options arm_neon } */
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]