[Bug c++/108242] New: '__FUNCTION__' was not declared when used inside a lambda declared inside a template function

2022-12-28 Thread n.eugene536 at gmail dot com via Gcc-bugs
NCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: n.eugene536 at gmail dot com Target Milestone: --- Target: x86_64-linux-gnu Broken since gcc 12.1; works fine with gcc <= 11.3 g++ a.c

[Bug c++/89239] New: gcc claims that this expression is not constexpr

2019-02-07 Thread n.eugene536 at gmail dot com
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: n.eugene536 at gmail dot com Target Milestone: --- Can't compile the following code: enum E { e }; constexpr bool arr[1][1] = {{true}}; template void check() { static_assert(arr[x][y], ""

[Bug libstdc++/88084] New: basic_string_view::copy doesn't use Traits::copy

2018-11-19 Thread n.eugene536 at gmail dot com
onent: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: n.eugene536 at gmail dot com Target Milestone: --- Target: x86_64-linux-gnu gcc version 8.2.0 (Ubuntu 8.2.0-1ubuntu2~18.04) Case: g++ a.cpp -std=c++17 struct my_trait : std::char_traits { static char* copy