]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: arm: Use effective-target for pr98636.c test
authorTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Fri, 1 Nov 2024 10:11:26 +0000 (11:11 +0100)
committerTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Tue, 5 Nov 2024 18:10:30 +0000 (19:10 +0100)
commit4602f628f723688a10c14ab20bd013ba7a825dab
treeeb76e37b3bfa84318a6c3eeb1df88727b0f56c87
parent3621d2ac22b75b154c2964c0db84b58be427f3a8
testsuite: arm: Use effective-target for pr98636.c test

The test case assumes that -mfp16-format=alternative is accepted for the
target, but not all targets support this flag. One such target is
Cortex-M85 that does support FP16, but not the alternative format.

gcc/testsuite/ChangeLog:

* gcc.target/arm/pr98636.c: Use effective-target
arm_fp16_alternative.

Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
gcc/testsuite/gcc.target/arm/pr98636.c