thumb2-slow-flash-data-2.c
655 Bytes
-
[arm] Fix various tests · e3e266bf
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. From-SVN: r249310
Richard Earnshaw committed