https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65673
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Compound literal with |[9/10/11/12 Regression]
|initializer for zero-sized |Compound literal with
|array drops other |initializer for zero-sized
|initializers |array drops other
| |initializers
Known to work| |4.1.2
Known to fail| |4.4.7
Target Milestone|--- |9.5
Keywords| |wrong-code
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
GCC 4.1.2 produces:
foo:
.long 25
.zero 4
.quad __compound_literal.0
.local __compound_literal.0
.comm __compound_literal.0,0,8
While 4.4.7 (and above) produces:
foo:
.zero 16