https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97575
Arseny Solokha <asolokha at gmx dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[11 Regression] ICE in |[11 Regression] ICE in
|try_make_edge_direct_simple |try_make_edge_direct_simple
|_call, at ipa-prop.c:3671 |_call, at ipa-prop.c:3671
| |or in
| |propagate_controlled_uses,
| |at ipa-prop.c:4073
--- Comment #1 from Arseny Solokha <asolokha at gmx dot com> ---
Something that looks like a related issue, hence reported here instead of
filing a new PR.
% gcc-11.0.0 -Os -fopenacc -c gcc/testsuite/gcc.dg/pr51012-1.c
during IPA pass: inline
gcc/testsuite/gcc.dg/pr51012-1.c:17:1: internal compiler error: in
propagate_controlled_uses, at ipa-prop.c:4073
17 | }
| ^
0x677dc7 propagate_controlled_uses
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201025/work/gcc-11-20201025/gcc/ipa-prop.c:4073
0x677dc7 ipa_propagate_indirect_call_infos(cgraph_edge*, vec<cgraph_edge*,
va_heap, vl_ptr>*)
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201025/work/gcc-11-20201025/gcc/ipa-prop.c:4135
0xb9bd5c inline_call(cgraph_edge*, bool, vec<cgraph_edge*, va_heap, vl_ptr>*,
int*, bool, bool*)
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201025/work/gcc-11-20201025/gcc/ipa-inline-transform.c:502
0x17d5bb2 inline_small_functions
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201025/work/gcc-11-20201025/gcc/ipa-inline.c:2242
0x17d5bb2 ipa_inline
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201025/work/gcc-11-20201025/gcc/ipa-inline.c:2723
0x17d5bb2 execute
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201025/work/gcc-11-20201025/gcc/ipa-inline.c:3122