https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81248
--- Comment #2 from wilhelm.me...@hs-kl.de --- 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 wilhelm.me...@hs-kl.de --- 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.