Re: Fix test 86658 in Debug mode

2018-08-20 Thread Jonathan Wakely
On 18/08/18 22:09 +0200, François Dumont wrote: This test fails when using 'make check-debug' because it redefines _GLIBCXX_DEBUG. Using dg-options fixes this problem. Changing it to "#define _GLIBCXX_DEBUG 1" would also have fixed it, because that would be the same value as -D_GLIBCXX_DEBUG se

Fix test 86658 in Debug mode

2018-08-18 Thread François Dumont
This test fails when using 'make check-debug' because it redefines _GLIBCXX_DEBUG. Using dg-options fixes this problem. Committed as trivial. François diff --git a/libstdc++-v3/testsuite/25_algorithms/copy/86658.cc b/libstdc++-v3/testsuite/25_algorithms/copy/86658.cc index 600747a..dd4f7ba 100