https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63567
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2014-10-16 Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I Just reported this to the mailing list: https://gcc.gnu.org/ml/gcc-patches/2014-10/msg01640.html The reduced testcase that shows the difference between GNU 89 and GNU 11/99: typedef struct { volatile unsigned int lock; } arch_rwlock_t; typedef struct { arch_rwlock_t raw_lock; } rwlock_t; static rwlock_t step_hook_lock = (rwlock_t) { .raw_lock = { 0 }, };