Re: [PATCH] [C] fix for ICE with -g

2015-10-28 Thread Joseph Myers
I believe we now prefer to declare variables at the point of first use, so tree var_type = build_qualified_type (type, type_quals); instead of a declaration at the top of the function. OK with that change. -- Joseph S. Myers jos...@codesourcery.com

[PATCH] [C] fix for ICE with -g

2015-10-28 Thread Jim Wilson
Compiling a simple testcase that defines an incomplete struct/union and then a variant of that type and then completes the struct/union gives an ICE in verify_type. palantir:2257$ cat tmp.c struct S a; const struct S b; struct S { }; palantir:2258$ ./xgcc -B./ -O -g tmp.c tmp.c:5:1: error: type va