This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/63145] New: [AArch64] ICE with vcombine_u64 at -O2 -g
- From: "christophe.lyon at st dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 02 Sep 2014 17:09:04 +0000
- Subject: [Bug middle-end/63145] New: [AArch64] ICE with vcombine_u64 at -O2 -g
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63145
Bug ID: 63145
Summary: [AArch64] ICE with vcombine_u64 at -O2 -g
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: christophe.lyon at st dot com
Hi,
The attached testcase causes an ICE:
$ aarch64-none-linux-gnu-gcc -O2 -c toto.c -g
toto.c: In function 'fn1':
toto.c:7:37: warning: passing argument 1 of 'vld1_u64' makes pointer from
integer without a cast [-Wint-conversion]
vector64_a_uint64x1 = vld1_u64 (1);
^
In file included from toto.c:1:0:
gcc-fsf-trunk/tools/lib/gcc/aarch64-none-linux-gnu/5.0.0/include/arm_neon.h:16994:1:
note: expected 'const uint64_t *' but argument is of type 'int'
vld1_u64 (const uint64_t *a)
^
toto.c:15:1: internal compiler error: in simplify_const_unary_operation, at
simplify-rtx.c:1555
}
^
0xb79e9e simplify_const_unary_operation(rtx_code, machine_mode, rtx_def*,
machine_mode)
gcc-fsf/trunk/gcc/simplify-rtx.c:1555
0xb77642 simplify_unary_operation(rtx_code, machine_mode, rtx_def*,
machine_mode)
gcc-fsf/trunk/gcc/simplify-rtx.c:814
0xb8b5d7 simplify_rtx(rtx_def const*)
gcc-fsf/trunk/gcc/simplify-rtx.c:5831
0x78ce4f cselib_expand_value_rtx_1
gcc-fsf/trunk/gcc/cselib.c:1831
0x78cb33 cselib_expand_value_rtx_1
gcc-fsf/trunk/gcc/cselib.c:1730
0x78c610 cselib_expand_value_rtx_cb(rtx_def*, bitmap_head*, int, rtx_def*
(*)(rtx_def*, bitmap_head*, int, void*), void*)
gcc-fsf/trunk/gcc/cselib.c:1539
0xeb3b21 vt_expand_var_loc_chain
gcc-fsf/trunk/gcc/var-tracking.c:8298
0xeb441b vt_expand_loc_callback
gcc-fsf/trunk/gcc/var-tracking.c:8460
0x78ca05 cselib_expand_value_rtx_1
gcc-fsf/trunk/gcc/cselib.c:1692
0x78cb33 cselib_expand_value_rtx_1
gcc-fsf/trunk/gcc/cselib.c:1730
0x78cb33 cselib_expand_value_rtx_1
gcc-fsf/trunk/gcc/cselib.c:1730
0x78c610 cselib_expand_value_rtx_cb(rtx_def*, bitmap_head*, int, rtx_def*
(*)(rtx_def*, bitmap_head*, int, void*), void*)
gcc-fsf/trunk/gcc/cselib.c:1539
0xeb3b21 vt_expand_var_loc_chain
gcc-fsf/trunk/gcc/var-tracking.c:8298
0xeb441b vt_expand_loc_callback
gcc-fsf/trunk/gcc/var-tracking.c:8460
0x78ca05 cselib_expand_value_rtx_1
gcc-fsf/trunk/gcc/cselib.c:1692
0x78c610 cselib_expand_value_rtx_cb(rtx_def*, bitmap_head*, int, rtx_def*
(*)(rtx_def*, bitmap_head*, int, void*), void*)
gcc-fsf/trunk/gcc/cselib.c:1539
0xeb3b21 vt_expand_var_loc_chain
gcc-fsf/trunk/gcc/var-tracking.c:8298
0xeb441b vt_expand_loc_callback
gcc-fsf/trunk/gcc/var-tracking.c:8460
0x78ca7a cselib_expand_value_rtx_1
gcc-fsf/trunk/gcc/cselib.c:1705
0x78c610 cselib_expand_value_rtx_cb(rtx_def*, bitmap_head*, int, rtx_def*
(*)(rtx_def*, bitmap_head*, int, void*), void*)
gcc-fsf/trunk/gcc/cselib.c:1539
Please submit a full bug report,
GCC is configured as:
--target=aarch64-none-linux-gnu