diff options
author | Richard Earnshaw <rearnsha@arm.com> | 2025-09-02 17:02:21 +0100 |
---|---|---|
committer | Richard Earnshaw <rearnsha@arm.com> | 2025-09-02 17:20:16 +0100 |
commit | 4ce7722c02e449b5f9947a255705502d13632c90 (patch) | |
tree | 3c3b3433d9cf55c042c91d12b7aa7b566ddade8a /libgrust/libformat_parser | |
parent | edeb5b8258382a58e1ce8e1e79e61386250d42b2 (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
On arm, overriding -march can lead to warnings if the testsuite
options try to pass -mcpu. Avoid these by ensuring the -mcpu is unset
before adding the architecture.
Also, improve the compatibility of asm-hard-reg-error-3.c for
hard-float environment by allowing FP instructions in the
architecture.
gcc/testsuite:
* gcc.dg/asm-hard-reg-4.c: On Arm, unset the CPU before
setting the arch.
* gcc.dg/asm-hard-reg-error-3.c: Similarly. Also add
floating-point instructions to aid hard-float variants.
Match on arm* not just arm.
Diffstat (limited to 'libgrust/libformat_parser')
0 files changed, 0 insertions, 0 deletions