ICE in 4.8.2 with compound literal

Marek Polacek
Tue Nov 25 09:19:00 GMT 2014

On Tue, Nov 25, 2014 at 09:30:05AM +0100, Mason wrote:
> Hello,
> This ICE may have gotten lost in the noise of my own message.
> (The code snippet might be invalid C)
> $ gcc -std=gnu99 -O3 -S test.c
> test.c: In function 'main':
> test.c:3:5: internal compiler error: in expand_expr_real_1, at expr.c:10540
>  int main() { return *(adds[0]); }
>      ^

I can reproduce the error.  Please do...

> Please submit a full bug report,

this, and don't forget about:

> with preprocessed source if appropriate.
> See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
> Preprocessed source stored into /tmp/cc2RJY0y.out file, please attach this to your bugreport.

(If you need to create a BZ account, please mail overseers and I'll
take care of that.)



More information about the Gcc mailing list