https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116469
--- Comment #3 from Arvid Jonasson ---
Modified Example 2 with non-aggregate types:
--
#include
#include
#include
template
struct Inner {
Inner() {}
unsigne
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116469
--- Comment #2 from Arvid Jonasson ---
Quick update: I initially overlooked that the classes were aggregate types,
which don't require zero-initialization. However, the issue persists with
non-aggregate types. To demonstrate this, I've modified
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116469
--- Comment #1 from Arvid Jonasson ---
Created attachment 58981
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58981&action=edit
Example 2 preprocessed