https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71871
--- Comment #1 from Micha³ Miros³aw <mirq-gccboogs at rere dot qmqm.pl> --- Created attachment 38894 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38894&action=edit test case 2 Small change (second variable instead of constant) changes the ICE to: $ g++ -c b.cc b.cc: In function ‘void foo() [with unsigned int N = 0u]’: b.cc:7:2: internal compiler error: in make_decl_rtl, at varasm.c:1313 x = x ? x : y; ^ 0x94b229 make_decl_rtl(tree_node*) ../../src/gcc/varasm.c:1309 0xea0272 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) ../../src/gcc/expr.c:9581 0xea17b8 expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) ../../src/gcc/expr.c:8018 0xea17b8 store_expr_with_bounds(tree_node*, rtx_def*, int, bool, tree_node*) ../../src/gcc/expr.c:5382 0xea0fbc expand_assignment(tree_node*, tree_node*, bool) ../../src/gcc/expr.c:5154 0xdfbf10 expand_gimple_stmt_1 ../../src/gcc/cfgexpand.c:3426 0xdfbf10 expand_gimple_stmt ../../src/gcc/cfgexpand.c:3522 0xdf4f18 expand_gimple_basic_block ../../src/gcc/cfgexpand.c:5534 0xdf4f18 execute ../../src/gcc/cfgexpand.c:6152 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.