Why is there a save-temps option in some libstdc++-v3/testsuite/*/constexpr.cc tests?

Dominique Dhumieres dominiq@lps.ens.fr
Mon Nov 26 14:31:00 GMT 2012


Hi!

While trying to understand the origin of pr55429, I notices that the only tests in
libstdc++-v3/testsuite/* which use scan-assembler are

libstdc++-v3/testsuite/20_util/enable_shared_from_this/cons/constexpr.cc
libstdc++-v3/testsuite/20_util/shared_ptr/cons/constexpr.cc
libstdc++-v3/testsuite/20_util/unique_ptr/cons/constexpr.cc
libstdc++-v3/testsuite/20_util/weak_ptr/cons/constexpr.cc
libstdc++-v3/testsuite/26_numerics/complex/abi_tag.cc
libstdc++-v3/testsuite/30_threads/future/cons/constexpr.cc
libstdc++-v3/testsuite/30_threads/shared_future/cons/constexpr.cc

All of them, but 26_numerics/complex/abi_tag.cc pass the -save-temps option
through the dg-options dejagnu directive.

Questions:
(1) is the -save-temps required for scan-assembler in the libstdc++-v3 test
suite (tests using dg-do compile)?
(2) if yes, does 26_numerics/complex/abi_tag.cc require -save-temps?

TIA

Dominique



More information about the Libstdc++ mailing list