This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/79990] New: [CHKP] ICE in expand_expr_addr_expr_1, at expr.c:7790
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 10 Mar 2017 10:51:15 +0000
- Subject: [Bug middle-end/79990] New: [CHKP] ICE in expand_expr_addr_expr_1, at expr.c:7790
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79990
Bug ID: 79990
Summary: [CHKP] ICE in expand_expr_addr_expr_1, at expr.c:7790
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
Target Milestone: ---
Starting from GCC 5 (when MPX was introduced), we ICE on:
$ gcc
/home/marxin/Programming/gcc/gcc/testsuite/c-c++-common/vector-subscript-5.c
-fcheck-pointer-bounds -mmpx
/home/marxin/Programming/gcc/gcc/testsuite/c-c++-common/vector-subscript-5.c:
In function ‘foo.chkp’:
/home/marxin/Programming/gcc/gcc/testsuite/c-c++-common/vector-subscript-5.c:6:1:
internal compiler error: in expand_expr_addr_expr_1, at expr.c:7790
foo (int i)
^~~
0x78598d expand_expr_addr_expr_1
.././../gcc/expr.c:7790
0x77bf8e expand_expr_addr_expr
.././../gcc/expr.c:7903
0x77bf8e expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
.././../gcc/expr.c:11047
0xc9ea65 expand_normal
.././../gcc/expr.h:282
0xc9ea65 ix86_expand_builtin
.././../gcc/config/i386/i386.c:36788
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
0x785faa store_expr_with_bounds(tree_node*, rtx_def*, int, bool, bool,
tree_node*)
.././../gcc/expr.c:5552
0x786bbe expand_assignment(tree_node*, tree_node*, bool)
.././../gcc/expr.c:5321
0x69add5 expand_call_stmt
.././../gcc/cfgexpand.c:2656
0x69add5 expand_gimple_stmt_1
.././../gcc/cfgexpand.c:3571
0x69add5 expand_gimple_stmt
.././../gcc/cfgexpand.c:3737
0x69bf8f expand_gimple_basic_block
.././../gcc/cfgexpand.c:5744
0x6a0546 execute
.././../gcc/cfgexpand.c:6357