https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105684
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c |tree-optimization Keywords| |diagnostic --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I don't think it is defined behavior if it is partially allocated. Unions it would be questionable but not structs.