diff options
author | Alexandre Oliva <oliva@adacore.com> | 2022-04-01 00:34:57 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2022-04-01 00:34:57 -0300 |
commit | fa79cc4a4332f948317b016e92d88aa616302e1b (patch) | |
tree | a8e024da24ae664c0e6d4ac9974cdc266b390e55 /gcc/function.cc | |
parent | 57ad4462decf18d2548d4a813698ee8fcfb24b2f (diff) | |
download | gcc-fa79cc4a4332f948317b016e92d88aa616302e1b.zip gcc-fa79cc4a4332f948317b016e92d88aa616302e1b.tar.gz gcc-fa79cc4a4332f948317b016e92d88aa616302e1b.tar.bz2 |
Test for linking for arm/size-optimization-ieee-[123].c
These tests require a target that supports arm soft-float. The
problem is that the test checks for compile-time soft-float support,
but they may hit a problem when the linker complains that it can't
combine the testcase's object file with hard-float init files and
target system libraries.
I don't see that the tests actually require linking, and they could be
simplified to dg-do assemble, but I figured a link test for soft-float
support could be useful, so I added that, and adjusted the tests to
require it instead.
for gcc/testsuite/ChangeLog
* lib/target-supports.exp
(check_effective_target_arm_soft_ok_link): New.
* gcc.target/arm/size-optimization-ieee-1.c: Use it.
* gcc.target/arm/size-optimization-ieee-2.c: Likewise.
* gcc.target/arm/size-optimization-ieee-3.c: Likewise.
Diffstat (limited to 'gcc/function.cc')
0 files changed, 0 insertions, 0 deletions