https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113111
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 CC| |mpolacek at gcc dot gnu.org Status|UNCONFIRMED |NEW Last reconfirmed| |2024-01-18 --- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Confirmed, if for nothing else then for our ugly diagnostic. clang++ says: 113111.C:13:9: warning: variable 'd' is uninitialized when used within its own initialization [-Wuninitialized] 11 | Dummy d = | ~ 12 | { 13 | d.val = "random text #########################################################" | ^ Much better than a wall of text showing internal code... :/