https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81248
--- Comment #2 from [email protected] --- The problem remains if A is really POD: struct A { uint8_t m1{0}; }; As I understand this optimization it should not depend on POD kind of the type A.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81248
--- Comment #2 from [email protected] --- The problem remains if A is really POD: struct A { uint8_t m1{0}; }; As I understand this optimization it should not depend on POD kind of the type A.