Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: thomgree at cisco dot com
Target Milestone: ---
minimal example program:
int main()
{
struct thing
{
char str[100] = "foo";
//char str[100] = {'f&
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90926
--- Comment #5 from thomgree at cisco dot com ---
I made a fix for this bug here:
https://gcc.gnu.org/pipermail/gcc-patches/2020-December/562259.html
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: thomgree at cisco dot com
Target Milestone: ---
Minimal code to reproduce (compile with -std=c++20 or later):
#include
#include
struct VEC
{
std::vector pane = {};
};
struct FOO
{
VEC screen[1] = {};
std
: unassigned at gcc dot gnu.org
Reporter: thomgree at cisco dot com
Target Milestone: ---
Minimal example code:
int main()
{
enum MY_ENUM
{
ZERO,
};
struct FOO
{
MY_ENUM type = ZERO;
};
struct ARR
{
FOO array[1] = {};
};
ARR arr;
arr = {};
return 0