: 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], ""
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
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