public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ipa/97575] New: [11 Regression] ICE in try_make_edge_direct_simple_call, at ipa-prop.c:3671
@ 2020-10-26 5:08 asolokha at gmx dot com
2020-10-26 5:12 ` [Bug ipa/97575] [11 Regression] ICE in try_make_edge_direct_simple_call, at ipa-prop.c:3671 or in propagate_controlled_uses, at ipa-prop.c:4073 asolokha at gmx dot com
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: asolokha at gmx dot com @ 2020-10-26 5:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97575
Bug ID: 97575
Summary: [11 Regression] ICE in
try_make_edge_direct_simple_call, at ipa-prop.c:3671
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: ipa
Assignee: unassigned at gcc dot gnu.org
Reporter: asolokha at gmx dot com
CC: marxin at gcc dot gnu.org
Target Milestone: ---
g++-11.0.0-alpha20201025 snapshot (g:308e40331f9d2820f8286769b5fc764671187364)
ICEs when compiling the following testcase w/ -Os -fopenacc:
template <typename>
struct db;
template <typename WM>
struct db<WM *>
{
typedef WM &k3;
};
template <typename XT>
struct zg
{
typename db<XT>::k3
operator* ();
};
int
fq (int);
template <typename TT, typename HA>
void
ri (TT k2, HA t0)
{
*k2 = t0 (0);
}
void
ai (zg<int *> pb)
{
ri (pb, fq);
}
% g++-11.0.0 -Os -fopenacc -c w6shyynz.cc
during IPA pass: inline
w6shyynz.cc:31:1: internal compiler error: in try_make_edge_direct_simple_call,
at ipa-prop.c:3671
31 | }
| ^
0x73eaf7 try_make_edge_direct_simple_call
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201025/work/gcc-11-20201025/gcc/ipa-prop.c:3671
0x73eaf7 update_indirect_edges_after_inlining
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201025/work/gcc-11-20201025/gcc/ipa-prop.c:3880
0x73eaf7 propagate_info_to_inlined_callees
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201025/work/gcc-11-20201025/gcc/ipa-prop.c:3974
0xe32fe3 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:4136
0xe0ae2c 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
0x1a3d272 inline_small_functions
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201025/work/gcc-11-20201025/gcc/ipa-inline.c:2242
0x1a3d272 ipa_inline
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201025/work/gcc-11-20201025/gcc/ipa-inline.c:2723
0x1a3d272 execute
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201025/work/gcc-11-20201025/gcc/ipa-inline.c:3122
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ipa/97575] [11 Regression] ICE in try_make_edge_direct_simple_call, at ipa-prop.c:3671 or in propagate_controlled_uses, at ipa-prop.c:4073
2020-10-26 5:08 [Bug ipa/97575] New: [11 Regression] ICE in try_make_edge_direct_simple_call, at ipa-prop.c:3671 asolokha at gmx dot com
@ 2020-10-26 5:12 ` asolokha at gmx dot com
2020-10-26 8:13 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: asolokha at gmx dot com @ 2020-10-26 5:12 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ipa/97575] [11 Regression] ICE in try_make_edge_direct_simple_call, at ipa-prop.c:3671 or in propagate_controlled_uses, at ipa-prop.c:4073
2020-10-26 5:08 [Bug ipa/97575] New: [11 Regression] ICE in try_make_edge_direct_simple_call, at ipa-prop.c:3671 asolokha at gmx dot com
2020-10-26 5:12 ` [Bug ipa/97575] [11 Regression] ICE in try_make_edge_direct_simple_call, at ipa-prop.c:3671 or in propagate_controlled_uses, at ipa-prop.c:4073 asolokha at gmx dot com
@ 2020-10-26 8:13 ` rguenth at gcc dot gnu.org
2020-10-26 9:56 ` marxin at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-10-26 8:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97575
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |11.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ipa/97575] [11 Regression] ICE in try_make_edge_direct_simple_call, at ipa-prop.c:3671 or in propagate_controlled_uses, at ipa-prop.c:4073
2020-10-26 5:08 [Bug ipa/97575] New: [11 Regression] ICE in try_make_edge_direct_simple_call, at ipa-prop.c:3671 asolokha at gmx dot com
2020-10-26 5:12 ` [Bug ipa/97575] [11 Regression] ICE in try_make_edge_direct_simple_call, at ipa-prop.c:3671 or in propagate_controlled_uses, at ipa-prop.c:4073 asolokha at gmx dot com
2020-10-26 8:13 ` rguenth at gcc dot gnu.org
@ 2020-10-26 9:56 ` marxin at gcc dot gnu.org
2020-12-01 3:57 ` asolokha at gmx dot com
2020-12-01 10:15 ` marxin at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-10-26 9:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97575
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2020-10-26
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=97551
Priority|P3 |P1
Ever confirmed|0 |1
CC| |hubicka at gcc dot gnu.org
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r11-4267-g0e590b68fa374365. Likely dup.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ipa/97575] [11 Regression] ICE in try_make_edge_direct_simple_call, at ipa-prop.c:3671 or in propagate_controlled_uses, at ipa-prop.c:4073
2020-10-26 5:08 [Bug ipa/97575] New: [11 Regression] ICE in try_make_edge_direct_simple_call, at ipa-prop.c:3671 asolokha at gmx dot com
` (2 preceding siblings ...)
2020-10-26 9:56 ` marxin at gcc dot gnu.org
@ 2020-12-01 3:57 ` asolokha at gmx dot com
2020-12-01 10:15 ` marxin at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: asolokha at gmx dot com @ 2020-12-01 3:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97575
--- Comment #3 from Arseny Solokha <asolokha at gmx dot com> ---
I cannot reproduce it anymore w/ gcc-11.0.0-alpha20201129 snapshot
(g:bb67ad5cff58a707aaae645d4f45a913d8511c86).
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ipa/97575] [11 Regression] ICE in try_make_edge_direct_simple_call, at ipa-prop.c:3671 or in propagate_controlled_uses, at ipa-prop.c:4073
2020-10-26 5:08 [Bug ipa/97575] New: [11 Regression] ICE in try_make_edge_direct_simple_call, at ipa-prop.c:3671 asolokha at gmx dot com
` (3 preceding siblings ...)
2020-12-01 3:57 ` asolokha at gmx dot com
@ 2020-12-01 10:15 ` marxin at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-12-01 10:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97575
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed with r11-4385-g783dc02d89712f52.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-12-01 10:15 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-26 5:08 [Bug ipa/97575] New: [11 Regression] ICE in try_make_edge_direct_simple_call, at ipa-prop.c:3671 asolokha at gmx dot com
2020-10-26 5:12 ` [Bug ipa/97575] [11 Regression] ICE in try_make_edge_direct_simple_call, at ipa-prop.c:3671 or in propagate_controlled_uses, at ipa-prop.c:4073 asolokha at gmx dot com
2020-10-26 8:13 ` rguenth at gcc dot gnu.org
2020-10-26 9:56 ` marxin at gcc dot gnu.org
2020-12-01 3:57 ` asolokha at gmx dot com
2020-12-01 10:15 ` marxin at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).