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

ktkachov@gcc.gnu.org ktkachov@gcc.gnu.org
Wed Jan 17 19:11:00 GMT 2018


Author: ktkachov
Date: Wed Jan 17 19:11:15 2018
New Revision: 256812

URL: https://gcc.gnu.org/viewcvs?rev=256812&root=gcc&view=rev
Log:
[arm] Fix gcc.target/arm/g2.c and scd42-2.c for --with-mode=thumb hardfloat targets

These -mcpu=xscale tests are ARM-only tests and they go to great pains to reject
explicit overriding options, but they're missing the -marm in their dg-options, which means
they will still give that nasty Thumb1 hard-float error when testing an implicit --with-mode=thumb
toolchain (--with-cpu=cortex-a15 --with-fpu=neon-vfpv4 --with-float=hard --with-mode=thumb, for example).

This patch adds the missing -marm and all is good again.

     * gcc.target/arm/g2.c: Add -marm to dg-options.
     * gcc.target/arm/scd42-2.c: Likewise.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/arm/g2.c
    trunk/gcc/testsuite/gcc.target/arm/scd42-2.c



More information about the Gcc-cvs mailing list