This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/82181] internal compiler error: in change_address_1, at emit-rtl.c:2126
- From: "jcmvbkbc at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 11 Sep 2017 20:04:39 +0000
- Subject: [Bug target/82181] internal compiler error: in change_address_1, at emit-rtl.c:2126
- Auto-submitted: auto-generated
- References: <bug-82181-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82181
--- Comment #2 from jcmvbkbc at gcc dot gnu.org ---
With the current gcc mainline compiling the reproducer source results in
different ICE:
drivers/staging/rtl8188eu/core/rtw_ap.c: In function ‘expire_timeout_chk’:
drivers/staging/rtl8188eu/core/rtw_ap.c:266:41: internal compiler error:
Segmentation fault
if ((psta->sta_stats.last_rx_data_pkts +
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
psta->sta_stats.last_rx_ctrl_pkts) ==
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0xe6f4ab crash_signal
../../gcc/gcc/toplev.c:341
0xd11ec7 expand_binop(machine_mode, optab_tag, rtx_def*, rtx_def*, rtx_def*,
int, optab_methods)
../../gcc/gcc/optabs.c:1137
0xd1397e expand_binop(machine_mode, optab_tag, rtx_def*, rtx_def*, rtx_def*,
int, optab_methods)
../../gcc/gcc/optabs.c:1632
0xa4385d expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
../../gcc/gcc/expr.c:9613
0x8dcf75 expand_gimple_stmt_1
../../gcc/gcc/cfgexpand.c:3691
0x8dd1c7 expand_gimple_stmt
../../gcc/gcc/cfgexpand.c:3751
0x8e4667 expand_gimple_basic_block
../../gcc/gcc/cfgexpand.c:5750
0x8e5e85 execute
../../gcc/gcc/cfgexpand.c:6357
I'll open a different PR for that.