https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65184
Bug ID: 65184
Summary: ICE: in expand_expr_addr_expr_1, at expr.c:7760 with
-mabi=ms -fcheck-pointer-bounds -mmpx
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: zsojka at seznam dot cz
Created attachment 34850
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34850&action=edit
reduced testcase
Compiler output:
$ gcc -O2 -mabi=ms -fcheck-pointer-bounds -mmpx testcase.c
testcase.c: In function 'bar.chkp':
testcase.c:9:1: internal compiler error: in expand_expr_addr_expr_1, at
expr.c:7760
bar (int *a)
^
0x910813 expand_expr_addr_expr_1
/mnt/svn/gcc-trunk/gcc/expr.c:7760
0x902175 expand_expr_addr_expr
/mnt/svn/gcc-trunk/gcc/expr.c:7849
0x902175 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
/mnt/svn/gcc-trunk/gcc/expr.c:10723
0x7eb5d9 expand_normal
/mnt/svn/gcc-trunk/gcc/expr.h:260
0x7eb5d9 precompute_register_parameters
/mnt/svn/gcc-trunk/gcc/calls.c:885
0x7eb5d9 expand_call(tree_node*, rtx_def*, int)
/mnt/svn/gcc-trunk/gcc/calls.c:3135
0x901b53 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
/mnt/svn/gcc-trunk/gcc/expr.c:10491
0x7ff998 expand_expr
/mnt/svn/gcc-trunk/gcc/expr.h:254
0x7ff998 expand_call_stmt
/mnt/svn/gcc-trunk/gcc/cfgexpand.c:2383
0x7ff998 expand_gimple_stmt_1
/mnt/svn/gcc-trunk/gcc/cfgexpand.c:3327
0x7ff998 expand_gimple_stmt
/mnt/svn/gcc-trunk/gcc/cfgexpand.c:3481
0x804ee6 expand_gimple_tailcall
/mnt/svn/gcc-trunk/gcc/cfgexpand.c:3528
0x804ee6 expand_gimple_basic_block
/mnt/svn/gcc-trunk/gcc/cfgexpand.c:5447
0x806f26 execute
/mnt/svn/gcc-trunk/gcc/cfgexpand.c:6088
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
$ gcc -v
Using built-in specs.
COLLECT_GCC=/mnt/svn/gcc-trunk/binary-latest/bin/gcc
COLLECT_LTO_WRAPPER=/mnt/svn/gcc-trunk/binary-220888-lto-fortran-checking-yes-rtl-df/libexec/gcc/x86_64-unknown-linux-gnu/5.0.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /mnt/svn/gcc-trunk//configure --enable-checking=yes,rtl,df
--enable-languages=c,c++,lto,fortran
--prefix=/mnt/svn/gcc-trunk/binary-220888-lto-fortran-checking-yes-rtl-df/
--without-cloog --without-ppl
Thread model: posix
gcc version 5.0.0 20150221 (experimental) (GCC)