https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79988
Bug ID: 79988 Summary: [7 Regression][CHKP] ICE in tree check: accessed operand 5 of call_expr with 4 operands in ix86_expand_builtin, at config/i386/i386.c:36851 Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: rguenth at gcc dot gnu.org Target Milestone: --- Starting from r238709, we ICE on: $ timeout 3 gcc /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/pr79723.c -fcheck-pointer-bounds -mmpx /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/pr79723.c: In function ‘memset_pattern_seg_gs.chkp’: /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/pr79723.c:7:10: internal compiler error: Segmentation fault s[i] = 0; ~~~~~^~~ 0x9fc2ef crash_signal .././../gcc/toplev.c:337 0x77e7f0 expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) .././../gcc/expr.c:8064 0xc9fb4a expand_normal .././../gcc/expr.h:282 0xc9fb4a ix86_expand_builtin .././../gcc/config/i386/i386.c:36854 0x67eea9 expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int) .././../gcc/builtins.c:6362 0x77d28e expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) .././../gcc/expr.c:10822 0x69b0ee expand_expr .././../gcc/expr.h:276 0x69b0ee expand_call_stmt .././../gcc/cfgexpand.c:2658 0x69b0ee expand_gimple_stmt_1 .././../gcc/cfgexpand.c:3571 0x69b0ee expand_gimple_stmt .././../gcc/cfgexpand.c:3737 0x69bf8f expand_gimple_basic_block .././../gcc/cfgexpand.c:5744 0x6a0546 execute .././../gcc/cfgexpand.c:6357