r249310 - in /trunk/gcc/testsuite: ChangeLog gc...

rearnsha@gcc.gnu.org rearnsha@gcc.gnu.org
Fri Jun 16 21:07:00 GMT 2017


Author: rearnsha
Date: Fri Jun 16 21:07:20 2017
New Revision: 249310

URL: https://gcc.gnu.org/viewcvs?rev=249310&root=gcc&view=rev
Log:
[arm] Fix various tests


The neon-thumb2-move.c test was overriding the options that had been
detected as being necessary to enable Neon.  The result was that the
combination of the test's options and those auto-detected were not
compatible with neon leading to a test failure.  The correct fix here
is to stick with the options that dg-add-options arm_neon has worked
out.

The thumb2-slow-flash-data tests were relying (incorrectly) on a
particular FPU being enabled by default.  These tests are fixed by
adding +fp to the architecture selected.

	* gcc.target/arm/neon-thumb2-move.c (dg-options): Don't override
	the architecture options added by dg-add-options arm_neon.
	* gcc.target/arm/thumb2-slow-flash-data-2.c (dg-opitions): Add +fp
	to the architecture.
	* gcc.target/arm/thumb3-slow-flash-data-3.c (dg-opitions): Likewise.
	* gcc.target/arm/thumb4-slow-flash-data-3.c (dg-opitions): Likewise.
	* gcc.target/arm/thumb5-slow-flash-data-3.c (dg-opitions): Likewise.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/arm/neon-thumb2-move.c
    trunk/gcc/testsuite/gcc.target/arm/thumb2-slow-flash-data-2.c
    trunk/gcc/testsuite/gcc.target/arm/thumb2-slow-flash-data-3.c
    trunk/gcc/testsuite/gcc.target/arm/thumb2-slow-flash-data-4.c
    trunk/gcc/testsuite/gcc.target/arm/thumb2-slow-flash-data-5.c



More information about the Gcc-cvs mailing list