[Bug c/98715] New: ICE in make_decl_rtl, at varasm.c
alserkli at inbox dot ru
gcc-bugzilla@gcc.gnu.org
Sun Jan 17 20:46:21 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98715
Bug ID: 98715
Summary: ICE in make_decl_rtl, at varasm.c
Product: gcc
Version: 11.0
URL: https://godbolt.org/z/z763xG
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: alserkli at inbox dot ru
Target Milestone: ---
<https://godbolt.org/z/z763xG>:
void f(int n) {
int a[n][n] = {{}};
}
gives on trunk (also gcc 4.9.0, but not 4.8.5):
during RTL pass: expand
<source>: In function 'void f(int)':
<source>:2:22: internal compiler error: in make_decl_rtl, at varasm.c:1427
2 | int a[n][n] = {{}};
| ^
0x1cd4199 internal_error(char const*, ...)
???:0
0x6b4a01 fancy_abort(char const*, int, char const*)
???:0
0x13d7265 make_decl_rtl(tree_node*)
???:0
0xc42451 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
???:0
0xc41a1e expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
???:0
0xc4f0d1 store_expr(tree_node*, rtx_def*, int, bool, bool)
???:0
More information about the Gcc-bugs
mailing list