https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89252
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2019-02-08
CC| |jakub at redhat dot com
Depends on| |28755
Ever confirmed|0 |1
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
The code in question is added by
commit d4cf8ff76d20953c1113f02bddfc22b61d7dd195
Author: jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Sun Sep 23 09:34:28 2007 +0000
PR middle-end/28755
* expr.c (expand_constructor): New function.
(expand_expr_real_1) <case CONSTRUCTOR>: Call it.
(expand_expr_real_1) <case ARRAY_REF>: Call it if VALUE is
CONSTRUCTOR.
* gcc.dg/pr28755.c: New test.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28755
[Bug 28755] [4.2 Regression] duplicate members of arrays