https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82875
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2017-11-07 CC| |marxin at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> --- Confirmed, I see same back-trace starting from r254302: $ cat ice.i const int a = 100; void b () { int c[a]; } $ gcc -ftree-ter ice.i -c during RTL pass: expand ice.i: In function ‘b’: ice.i:2:17: internal compiler error: in find_widening_optab_handler_and_mode, at optabs-query.c:414 void b () { int c[a]; } ^ 0xab7891 find_widening_optab_handler_and_mode(optab_tag, machine_mode, machine_mode, machine_mode*) ../../gcc/optabs-query.c:414 0xaaaf7c expand_binop(machine_mode, optab_tag, rtx_def*, rtx_def*, rtx_def*, int, optab_methods) ../../gcc/optabs.c:1152 0xaae410 expand_doubleword_mult ../../gcc/optabs.c:865 0xaac2a7 expand_binop(machine_mode, optab_tag, rtx_def*, rtx_def*, rtx_def*, int, optab_methods) ../../gcc/optabs.c:1705 0x85141d expand_mult(machine_mode, rtx_def*, rtx_def*, rtx_def*, int) ../../gcc/expmed.c:3427 0x876594 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode, expand_modifier) ../../gcc/expr.c:8802 0x746dc9 expand_gimple_stmt_1 ../../gcc/cfgexpand.c:3712 0x746dc9 expand_gimple_stmt ../../gcc/cfgexpand.c:3773 0x74861f expand_gimple_basic_block ../../gcc/cfgexpand.c:5774 0x74e76e execute ../../gcc/cfgexpand.c:6375