https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92349
David Binderman <dcb314 at hotmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcb314 at hotmail dot com --- Comment #3 from David Binderman <dcb314 at hotmail dot com> --- For the first case, a build of gcc trunk with checking turned on shows this: ./gcc.c-torture/execute/20080222-1.c:17:1: internal compiler error: tree check: expected constructor, have string_cst in get_initializer_for, at tree.c:13553 17 | main () | ^~~~ 0x71bde8 tree_check_failed(tree_node const*, char const*, int, char const*, ...) ../../trunk/gcc/tree.c:9672 0x72363b tree_check(tree_node*, char const*, int, char const*, tree_code) ../../trunk/gcc/tree.h:3267 0x72363b get_initializer_for ../../trunk/gcc/tree.c:13553 0x115d040 component_ref_size(tree_node*, bool*) ../../trunk/gcc/tree.c:13663 I had to use -O2 -Wall to get this.