Support 'UNSUPPORTED: [...]: exception handling disabled' for libstdc++ testing
commit5faaabef3819434d13fcbf749bd07bfc98ca7c3c
authorThomas Schwinge <thomas@codesourcery.com>
Wed, 7 Jun 2023 06:46:38 +0000 (7 08:46 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Wed, 7 Jun 2023 08:54:36 +0000 (7 10:54 +0200)
treee589f12b3cde9a181aebb423d60aee643be08f13
parent00bfc503cc3b3e8f354afeac9b482649418fb70f
Support 'UNSUPPORTED: [...]: exception handling disabled' for libstdc++ testing

Verbatim copy of what was added to 'gcc/testsuite/lib/gcc-dg.exp:gcc-dg-prune'
in Subversion r279246 (Git commit a9046e9853024206bec092dd63e21e152cb5cbca)
"[MSP430] -Add fno-exceptions multilib".

This greatly improves 'make check-target-libstdc++-v3' results for, for
example, x86_64-pc-linux-gnu with:

    RUNTESTFLAGS='--target_board=unix/-fno-exceptions\{,-m32\}'

libstdc++-v3/
* testsuite/lib/prune.exp (libstdc++-dg-prune): Support
'UNSUPPORTED: [...]: exception handling disabled'.
libstdc++-v3/testsuite/lib/prune.exp