https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80136
Bug ID: 80136 Summary: ICE in gimplify_modify_expr, at gimplify.c:5627 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- Created attachment 41015 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41015&action=edit vfscanf.i Hi, Since r246319 to fix pr79908, I've noticed an ICE while building glibc for aarch64-linux-gnu. aarch64-none-linux-gnu-gcc vfscanf.i -O2 -c In function '_IO_vfscanf_internal': cc1: internal compiler error: in gimplify_modify_expr, at gimplify.c:5627 0x8ea10f gimplify_modify_expr /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk/gcc/gimplify.c:5626 0x8d6f8b gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk/gcc/gimplify.c:11198 0x8daad6 gimplify_stmt(tree_node**, gimple**) /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk/gcc/gimplify.c:6477 0x8e0042 gimplify_cond_expr /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk/gcc/gimplify.c:3971 0x8d81c1 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk/gcc/gimplify.c:11154 0x8daad6 gimplify_stmt(tree_node**, gimple**) /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk/gcc/gimplify.c:6477 0x8df819 gimplify_cond_expr /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk/gcc/gimplify.c:3864 0x8d81c1 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk/gcc/gimplify.c:11154 0x8d96f8 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk/gcc/gimplify.c:11356 0x8f8155 force_gimple_operand_1(tree_node*, gimple**, bool (*)(tree_node*), tree_node*) /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk/gcc/gimplify-me.c:78 0xd892ac expand_ifn_va_arg_1 /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk/gcc/tree-stdarg.c:1064 0xd892ac expand_ifn_va_arg /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk/gcc/tree-stdarg.c:1105 0xd8b35e execute /home/christophe.lyon/src/GCC/sources/gcc-fsf/trunk/gcc/tree-stdarg.c:1158