https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83257
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2017-12-02 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 Known to fail| |5.4.0, 6.4.0, 7.2.0, 8.0 --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- Confirmed. The first commit to trigger the ICE is r217125, which is also the commit that introduced the -mmpx, -fcheck-pointer-bounds, and -fchkp-narrow-to-innermost-array options, so it doesn't look like a regression. The full stack trace with recent topo of trunk (GCC 8.0) is below: pr83257.c: In function ‘main.chkp’: pr83257.c:14:1: internal compiler error: Segmentation fault } ^ 0xf6f521 crash_signal /ssd/src/gcc/git/gcc/toplev.c:325 0xb87086 is_gimple_variable /ssd/src/gcc/git/gcc/gimple-expr.h:83 0xb89ccb is_gimple_val(tree_node*) /ssd/src/gcc/git/gcc/gimple-expr.c:783 0xbf1648 force_gimple_operand_1(tree_node*, gimple**, bool (*)(tree_node*), tree_node*) /ssd/src/gcc/git/gcc/gimplify-me.c:55 0xbf1872 force_gimple_operand(tree_node*, gimple**, bool, tree_node*) /ssd/src/gcc/git/gcc/gimplify-me.c:98 0x107fd06 chkp_force_gimple_call_op /ssd/src/gcc/git/gcc/tree-chkp.c:1382 0x108296e chkp_make_bounds /ssd/src/gcc/git/gcc/tree-chkp.c:2093 0x1086e49 chkp_narrow_bounds_to_field /ssd/src/gcc/git/gcc/tree-chkp.c:3407 0x1087429 chkp_parse_array_and_component_ref /ssd/src/gcc/git/gcc/tree-chkp.c:3546 0x10890b2 chkp_process_stmt /ssd/src/gcc/git/gcc/tree-chkp.c:4082 0x1089e8f chkp_instrument_function /ssd/src/gcc/git/gcc/tree-chkp.c:4386 0x108aafa chkp_execute /ssd/src/gcc/git/gcc/tree-chkp.c:4599 0x108ac52 execute /ssd/src/gcc/git/gcc/tree-chkp.c:4658 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.