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

Mason <mpeg.blue at free dot fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE involving compound      |ICE in expand_expr_real_1,
                   |literal shenanigans         |at expr.c:10540, involving
                   |                            |compound literal
                   |                            |shenanigans

--- Comment #3 from Mason <mpeg.blue at free dot fr> ---
The bit-field is a red-herring.
Simpler test case:

union foo { struct { int bar; } xx; int val; };
int * const adds[] = {&(((union foo){.xx={ 42 }}).val)};
int main(void) { return *(adds[0]); }

Reply via email to