https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65966

--- Comment #3 from Lewis Hyatt <lhyatt at gmail dot com> ---
Hello-

I thought it would make sense to ping this one again a month later, I am afraid
I may have confused matters by mixing two separate issues in one report...
Definitely the second issue is already covered in other bug reports, but I
believe the main one is a new regression in 5.1 vs 4.9, so it ought to be
marked as such rather than "unconfirmed", no?

Just to recap, here is the testcase:

========
struct A {
    A();
    ~A();
};

struct B {
    A a{};
};

struct C {
    B array[100][100];
} c;
=========

and it breaks starting at rev 220544:
https://gcc.gnu.org/viewcvs?rev=220544&root=gcc&view=rev

I just confirmed it is still broken on the current mainline.

Thanks!

-Lewis

Reply via email to