On Mon, 2 May 2011, Simon Martin wrote:
2011-05-01 Simon Martin simar...@users.sourceforge.net
PR c/35445
* c-decl.c (finish_decl): Only create a composite if the types are
compatible.
2011-05-01 Simon Martin simar...@users.sourceforge.net
PR c/35445
*
Hello,
The following invalid snippet triggers an ICE since 4.0.1:
extern int i;
extern int i;
int i[] = { 0 };
The problem is that 'finish_decl' ends up calling 'composite_type' with
incompatible types when updating the type of the declaration of 'i'
already encountered.
The