[PATCH 0/7] alpha: rounding mode fix and testsuite cleanups
Matt Turner <[email protected]>
| Newsgroups | gmane.comp.gcc.patches |
|---|---|
| Message-ID | <[email protected]> |
This series comes out of running the testsuite on alpha-linux-gnu.
The first patch is a target fix: -frounding-math produced statically
rounded instructions, so fesetround had no effect at run time.
The rest are testsuite changes. Three of them constrain generic tests
that were missing a requirement and so fail on any target lacking the
feature, not only on alpha:
- pr125545.c uses asm goto with outputs without requiring it,
- no-stack-protector-attr.C has a dead dg-do directive, so it runs
everywhere rather than on x86 as intended,
- several tests feed NaNs and infinities through comparisons without
requesting IEEE options.
The remaining three are alpha-specific and follow what sparc, hppa and
powerpc already do in the same tests.
Matt Turner (7):
alpha: honor -frounding-math by selecting dynamic rounding
testsuite: require asm goto with outputs in pr125545.c
testsuite: require stack protector support in
no-stack-protector-attr.C
testsuite: request IEEE options for tests relying on NaN and infinity
testsuite: disable small data for attr-retain tests on alpha
testsuite: skip cmp-mem-const on alpha
testsuite: skip pr119507.C on alpha
gcc/config/alpha/alpha.cc | 6 ++++++
gcc/doc/invoke.texi | 13 ++++++++++---
gcc/testsuite/c-c++-common/attr-retain-2.c | 3 +++
gcc/testsuite/c-c++-common/attr-retain-3.c | 3 +++
gcc/testsuite/c-c++-common/attr-retain-4.c | 3 +++
gcc/testsuite/g++.dg/eh/pr119507.C | 2 ++
gcc/testsuite/g++.dg/no-stack-protector-attr.C | 5 ++---
gcc/testsuite/g++.dg/opt/pr94589-6.C | 1 +
gcc/testsuite/g++.dg/torture/pr116120-2.C | 1 +
gcc/testsuite/gcc.c-torture/compile/attr-retain-1.c | 3 +++
gcc/testsuite/gcc.c-torture/compile/attr-retain-2.c | 3 +++
gcc/testsuite/gcc.c-torture/execute/20190901-1.c | 1 +
gcc/testsuite/gcc.dg/cmp-mem-const-3.c | 3 ++-
gcc/testsuite/gcc.dg/cmp-mem-const-4.c | 3 ++-
gcc/testsuite/gcc.dg/cmp-mem-const-5.c | 3 ++-
gcc/testsuite/gcc.dg/cmp-mem-const-6.c | 3 ++-
gcc/testsuite/gcc.dg/pr108447.c | 1 +
gcc/testsuite/gcc.dg/pr94589-6.c | 1 +
gcc/testsuite/gcc.dg/torture/pr125545.c | 2 +-
gcc/testsuite/gcc.dg/torture/pr126464.c | 1 +
gcc/testsuite/gcc.dg/torture/pr126576.c | 1 +
21 files changed, 51 insertions(+), 11 deletions(-)
--
2.54.0