https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94479

--- Comment #3 from Thomas Klausner <tk at giga dot or.at> ---
Here's a backtrace from 9.3.0:

rebase.i:5:1: warning: no semicolon at end of struct or union
    5 | } e() {
      | ^
rebase.i: In function 'e':
rebase.i:6:23: warning: initialization of 'char' from 'char *' makes integer
from pointer without a cast [-Wint-conversion]
    6 |   struct b f[] = {{}, "", f, a};
      |                       ^~
rebase.i:6:23: note: (near initialization for 'f[1].c')
rebase.i:6:27: internal compiler error: in
recompute_tree_invariant_for_addr_expr, at tree.c:4556
    6 |   struct b f[] = {{}, "", f, a};
      |                           ^
0x1399587 recompute_tree_invariant_for_addr_expr(tree_node*)
        ../.././gcc/tree.c:4556
0xc37df2 gimplify_addr_expr
        ../.././gcc/gimplify.c:6101
0xc5824a gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../.././gcc/gimplify.c:12556
0xc36133 gimplify_modify_expr
        ../.././gcc/gimplify.c:5671
0xc57eca gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../.././gcc/gimplify.c:12509
0xc3a4aa gimplify_stmt(tree_node**, gimple**)
        ../.././gcc/gimplify.c:6719
0xc2545a gimplify_and_add(tree_node*, gimple**)
        ../.././gcc/gimplify.c:466
0xc331ef gimplify_init_ctor_eval
        ../.././gcc/gimplify.c:4625
0xc3319c gimplify_init_ctor_eval
        ../.././gcc/gimplify.c:4620
0xc34375 gimplify_init_constructor
        ../.././gcc/gimplify.c:5015
0xc34ee6 gimplify_modify_expr_rhs
        ../.././gcc/gimplify.c:5279
0xc36006 gimplify_modify_expr
        ../.././gcc/gimplify.c:5626
0xc57eca gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../.././gcc/gimplify.c:12509
0xc3a4aa gimplify_stmt(tree_node**, gimple**)
        ../.././gcc/gimplify.c:6719
0xc2545a gimplify_and_add(tree_node*, gimple**)
        ../.././gcc/gimplify.c:466
0xc29558 gimplify_decl_expr
        ../.././gcc/gimplify.c:1741
0xc58c1c gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../.././gcc/gimplify.c:12706
0xc3a4aa gimplify_stmt(tree_node**, gimple**)
        ../.././gcc/gimplify.c:6719
0xc27e27 gimplify_bind_expr
        ../.././gcc/gimplify.c:1362
0xc58c3d gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../.././gcc/gimplify.c:12710
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

Reply via email to