diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2018-01-23 10:42:32 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2018-01-23 10:42:32 +0000 |
commit | ef57eeb23260872cb601a848493488c24cb309c1 (patch) | |
tree | 98b0c0d20b46c58cf03d997254c1bb7c56b28b7a /gcc/tree-vrp.c | |
parent | 97e52238b292ca744368f66980533c578838e94c (diff) | |
download | gcc-ef57eeb23260872cb601a848493488c24cb309c1.zip gcc-ef57eeb23260872cb601a848493488c24cb309c1.tar.gz gcc-ef57eeb23260872cb601a848493488c24cb309c1.tar.bz2 |
Fix vect_float markup for a couple of tests (PR 83888)
vect_float is true for arm*-*-* targets, but the support is only
available when -funsafe-math-optimizations is on. This caused
failures in two tests that disable fast-math.
The easiest fix seemed to be to add a new target selector for
"vect_float without special options".
2018-01-23 Richard Sandiford <richard.sandiford@linaro.org>
gcc/
PR testsuite/83888
* doc/sourcebuild.texi (vect_float): Say that the selector
only describes the situation when -funsafe-math-optimizations is on.
(vect_float_strict): Document.
gcc/testsuite/
PR testsuite/83888
* lib/target-supports.exp (check_effective_target_vect_float): Say
that the result only holds when -funsafe-math-optimizations is on.
(check_effective_target_vect_float_strict): New procedure.
* gcc.dg/vect/no-fast-math-vect16.c: Use vect_float_strict instead
of vect_float.
* gcc.dg/vect/vect-reduc-6.c: Likewise.
From-SVN: r256977
Diffstat (limited to 'gcc/tree-vrp.c')
0 files changed, 0 insertions, 0 deletions