Re: [PATCH] Fix _GLIBCXX_DEBUG tests

2020-12-15 Thread Jonathan Wakely via Gcc-patches
On 15/12/20 15:20 +, Jonathan Wakely wrote: On 14/12/20 22:36 +0100, François Dumont wrote: On 14/12/20 11:08 am, Jonathan Wakely wrote: On Mon, 14 Dec 2020, 06:51 François Dumont via Libstdc++, mailto:libstdc%2b...@gcc.gnu.org>> wrote: On 13/12/20 11:17 pm, Jonathan Wakely wrote:

Re: [PATCH] Fix _GLIBCXX_DEBUG tests

2020-12-15 Thread Jonathan Wakely via Gcc-patches
On 14/12/20 22:36 +0100, François Dumont wrote: On 14/12/20 11:08 am, Jonathan Wakely wrote: On Mon, 14 Dec 2020, 06:51 François Dumont via Libstdc++, mailto:libstdc%2b...@gcc.gnu.org>> wrote: On 13/12/20 11:17 pm, Jonathan Wakely wrote: > On 13/12/20 15:52 +0100, François Dumont via

Re: [PATCH] Fix _GLIBCXX_DEBUG tests

2020-12-14 Thread François Dumont via Gcc-patches
On 14/12/20 11:08 am, Jonathan Wakely wrote: On Mon, 14 Dec 2020, 06:51 François Dumont via Libstdc++, mailto:libstdc%2b...@gcc.gnu.org>> wrote: On 13/12/20 11:17 pm, Jonathan Wakely wrote: > On 13/12/20 15:52 +0100, François Dumont via Libstdc++ wrote: >> Some tests are XPASS b

Re: [PATCH] Fix _GLIBCXX_DEBUG tests

2020-12-14 Thread Jonathan Wakely via Gcc-patches
On Mon, 14 Dec 2020, 06:51 François Dumont via Libstdc++, < libstd...@gcc.gnu.org> wrote: > On 13/12/20 11:17 pm, Jonathan Wakely wrote: > > On 13/12/20 15:52 +0100, François Dumont via Libstdc++ wrote: > >> Some tests are XPASS because array assertions have been disabled for > >> a good reason i

Re: [PATCH] Fix _GLIBCXX_DEBUG tests

2020-12-13 Thread François Dumont via Gcc-patches
On 13/12/20 11:17 pm, Jonathan Wakely wrote: On 13/12/20 15:52 +0100, François Dumont via Libstdc++ wrote: Some tests are XPASS because array assertions have been disabled for a good reason in C++11. I wonder if the respective non-constexpr _GLIBCXX_ASSERTION checks shouldn't target C++14 to

Re: [PATCH] Fix _GLIBCXX_DEBUG tests

2020-12-13 Thread Jonathan Wakely via Gcc-patches
On 13/12/20 15:52 +0100, François Dumont via Libstdc++ wrote: Some tests are XPASS because array assertions have been disabled for a good reason in C++11. I wonder if the respective non-constexpr _GLIBCXX_ASSERTION checks shouldn't target C++14 too. At the moment they are failing as expected

[PATCH] Fix _GLIBCXX_DEBUG tests

2020-12-13 Thread François Dumont via Gcc-patches
Some tests are XPASS because array assertions have been disabled for a good reason in C++11. I wonder if the respective non-constexpr _GLIBCXX_ASSERTION checks shouldn't target C++14 too. At the moment they are failing as expected but because of an Undefined Behavior no ? The other test is f

[PATCH] Fix _GLIBCXX_DEBUG tests static_assert lines

2019-12-09 Thread François Dumont
When applying: 2019-11-26  François Dumont      * include/debug/array (array<>::fill): Add C++20 constexpr.     (array<>::swap): Likewise. I forgot to adapt some line numbers. Committed as trivial. François diff --git a/libstdc++-v3/testsuite/23_containers/array/tuple_interface/get_debug_ne