https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99033
G. Steinmetz <gs...@t-online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64-pc-linux-gnu Keywords| |ice-on-valid-code --- Comment #1 from G. Steinmetz <gs...@t-online.de> --- Seems to go back to r6 when configured with --enable-checking=yes : (and then with no need for -fsanitize=undefined) $ g++-11-20210207 -c z1.cc z1.cc:9:1: internal compiler error: tree check: expected constructor, have error_mark in array_size_for_constructor, at varasm.c:5340 9 | } | ^ 0x6629b8 tree_check_failed(tree_node const*, char const*, int, char const*, ...) ../../gcc/tree.c:9814 0x1389b07 tree_check(tree_node*, char const*, int, char const*, tree_code) ../../gcc/tree.h:3349 0x1389b07 array_size_for_constructor ../../gcc/varasm.c:5340 0x1389b07 output_constructor_regular_field ../../gcc/varasm.c:5511 0x1389b07 output_constructor ../../gcc/varasm.c:5797 0x1389ee9 output_constant ../../gcc/varasm.c:5149 #...