public inbox for libstdc++-cvs@sourceware.org help / color / mirror / Atom feed
From: Jonathan Wakely <redi@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r11-7082] libstdc++: Work around test failures using -mno-tree-vrp Date: Wed, 3 Feb 2021 15:51:19 +0000 (GMT) [thread overview] Message-ID: <20210203155119.F3CB139B8CB9@sourceware.org> (raw) https://gcc.gnu.org/g:3de9bd16c91c5fc050961db6887880b303b3a630 commit r11-7082-g3de9bd16c91c5fc050961db6887880b303b3a630 Author: Matthias Kretz <kretz@kde.org> Date: Wed Feb 3 15:49:30 2021 +0000 libstdc++: Work around test failures using -mno-tree-vrp This is necessary to avoid failures resulting from PR98834. libstdc++-v3/ChangeLog: * testsuite/Makefile.am: Warn about the workaround. Add -fno-tree-vrp to CXXFLAGS passed to the check_simd script. Improve initial user feedback from make check-simd. * testsuite/Makefile.in: Regenerated. Diff: --- libstdc++-v3/testsuite/Makefile.am | 4 +++- libstdc++-v3/testsuite/Makefile.in | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/testsuite/Makefile.am b/libstdc++-v3/testsuite/Makefile.am index 2d3ad481dba..ba5023a8b54 100644 --- a/libstdc++-v3/testsuite/Makefile.am +++ b/libstdc++-v3/testsuite/Makefile.am @@ -191,8 +191,10 @@ check-simd: $(srcdir)/experimental/simd/generate_makefile.sh \ ${glibcxx_srcdir}/scripts/check_simd \ testsuite_files_simd \ ${glibcxx_builddir}/scripts/testsuite_flags + @echo "WARNING: Adding -fno-tree-vrp to CXXFLAGS to work around PR98834." @rm -f .simd.summary - ${glibcxx_srcdir}/scripts/check_simd "${glibcxx_srcdir}" "${glibcxx_builddir}" "$(CXXFLAGS)" | \ + @echo "Generating simd testsuite subdirs and Makefiles ..." + @${glibcxx_srcdir}/scripts/check_simd "${glibcxx_srcdir}" "${glibcxx_builddir}" "$(CXXFLAGS) -fno-tree-vrp" | \ while read subdir; do \ $(MAKE) -C "$${subdir}"; \ tail -n20 $${subdir}/simd_testsuite.sum | \ diff --git a/libstdc++-v3/testsuite/Makefile.in b/libstdc++-v3/testsuite/Makefile.in index ac6207ae75c..c9dd7f5da61 100644 --- a/libstdc++-v3/testsuite/Makefile.in +++ b/libstdc++-v3/testsuite/Makefile.in @@ -716,8 +716,10 @@ check-simd: $(srcdir)/experimental/simd/generate_makefile.sh \ ${glibcxx_srcdir}/scripts/check_simd \ testsuite_files_simd \ ${glibcxx_builddir}/scripts/testsuite_flags + @echo "WARNING: Adding -fno-tree-vrp to CXXFLAGS to work around PR98834." @rm -f .simd.summary - ${glibcxx_srcdir}/scripts/check_simd "${glibcxx_srcdir}" "${glibcxx_builddir}" "$(CXXFLAGS)" | \ + @echo "Generating simd testsuite subdirs and Makefiles ..." + @${glibcxx_srcdir}/scripts/check_simd "${glibcxx_srcdir}" "${glibcxx_builddir}" "$(CXXFLAGS) -fno-tree-vrp" | \ while read subdir; do \ $(MAKE) -C "$${subdir}"; \ tail -n20 $${subdir}/simd_testsuite.sum | \
reply other threads:[~2021-02-03 15:51 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210203155119.F3CB139B8CB9@sourceware.org \ --to=redi@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ --cc=libstdc++-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).