https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82888

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Marc Glisse from comment #4)
> The front-end internally uses VEC_INIT_EXPR, and gimplifies it to a loop. I
> believe we should end up with an empty CONSTRUCTOR instead.

Indeed.  Note that using memset in the gimplification might pessimize
followup optimization, but maybe it's not too important cases only
(it forces the destination TREE_ADDRESSABLE).

Reply via email to