* [Bug ipa/106260] [10/11/12/13 Regression] ICE in initialize_node_lattices, at ipa-cp.cc:1289 since r8-1887-g0eaf0bfe94ff5a7c
2022-07-11 18:58 [Bug c++/106260] New: [10/11/12/13 Regression] ICE in initialize_node_lattices, at ipa-cp.cc:1289 gscfq@t-online.de
@ 2022-07-11 19:57 ` marxin at gcc dot gnu.org
2022-07-11 21:05 ` pinskia at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-07-11 19:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106260
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2022-07-11
Status|UNCONFIRMED |NEW
Summary|[10/11/12/13 Regression] |[10/11/12/13 Regression]
|ICE in |ICE in
|initialize_node_lattices, |initialize_node_lattices,
|at ipa-cp.cc:1289 |at ipa-cp.cc:1289 since
| |r8-1887-g0eaf0bfe94ff5a7c
CC| |hubicka at gcc dot gnu.org,
| |jamborm at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r8-1887-g0eaf0bfe94ff5a7c.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug ipa/106260] [10/11/12/13 Regression] ICE in initialize_node_lattices, at ipa-cp.cc:1289 since r8-1887-g0eaf0bfe94ff5a7c
2022-07-11 18:58 [Bug c++/106260] New: [10/11/12/13 Regression] ICE in initialize_node_lattices, at ipa-cp.cc:1289 gscfq@t-online.de
2022-07-11 19:57 ` [Bug ipa/106260] [10/11/12/13 Regression] ICE in initialize_node_lattices, at ipa-cp.cc:1289 since r8-1887-g0eaf0bfe94ff5a7c marxin at gcc dot gnu.org
@ 2022-07-11 21:05 ` pinskia at gcc dot gnu.org
2022-07-12 6:35 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-07-11 21:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106260
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |10.5
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug ipa/106260] [10/11/12/13 Regression] ICE in initialize_node_lattices, at ipa-cp.cc:1289 since r8-1887-g0eaf0bfe94ff5a7c
2022-07-11 18:58 [Bug c++/106260] New: [10/11/12/13 Regression] ICE in initialize_node_lattices, at ipa-cp.cc:1289 gscfq@t-online.de
2022-07-11 19:57 ` [Bug ipa/106260] [10/11/12/13 Regression] ICE in initialize_node_lattices, at ipa-cp.cc:1289 since r8-1887-g0eaf0bfe94ff5a7c marxin at gcc dot gnu.org
2022-07-11 21:05 ` pinskia at gcc dot gnu.org
@ 2022-07-12 6:35 ` rguenth at gcc dot gnu.org
2022-07-13 16:58 ` jamborm at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-07-12 6:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106260
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug ipa/106260] [10/11/12/13 Regression] ICE in initialize_node_lattices, at ipa-cp.cc:1289 since r8-1887-g0eaf0bfe94ff5a7c
2022-07-11 18:58 [Bug c++/106260] New: [10/11/12/13 Regression] ICE in initialize_node_lattices, at ipa-cp.cc:1289 gscfq@t-online.de
` (2 preceding siblings ...)
2022-07-12 6:35 ` rguenth at gcc dot gnu.org
@ 2022-07-13 16:58 ` jamborm at gcc dot gnu.org
2022-07-13 21:07 ` jamborm at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jamborm at gcc dot gnu.org @ 2022-07-13 16:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106260
--- Comment #2 from Martin Jambor <jamborm at gcc dot gnu.org> ---
IPA-CP is confused by seeing a local function which does not have any caller,
it expects that all such functions would be removed as unreachable.
The assert has been somewhat useful so I'd rather keep it but perhaps it should
not trigger when there is -fno-toplevel-reorder in place?
Of course, using both -fno-toplevel-reorder and -fwhole-program is a bit
strange .
Interestingly, the manual description of -fno-toplevel-reorder only says that
"unreferenced static variables are not removed" but does not say anything about
not removing static uncalled functions.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug ipa/106260] [10/11/12/13 Regression] ICE in initialize_node_lattices, at ipa-cp.cc:1289 since r8-1887-g0eaf0bfe94ff5a7c
2022-07-11 18:58 [Bug c++/106260] New: [10/11/12/13 Regression] ICE in initialize_node_lattices, at ipa-cp.cc:1289 gscfq@t-online.de
` (3 preceding siblings ...)
2022-07-13 16:58 ` jamborm at gcc dot gnu.org
@ 2022-07-13 21:07 ` jamborm at gcc dot gnu.org
2023-07-07 10:43 ` [Bug ipa/106260] [11/12/13/14 " rguenth at gcc dot gnu.org
2023-12-10 9:07 ` zsojka at seznam dot cz
6 siblings, 0 replies; 8+ messages in thread
From: jamborm at gcc dot gnu.org @ 2022-07-13 21:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106260
--- Comment #3 from Martin Jambor <jamborm at gcc dot gnu.org> ---
I proposed a patch on the mailing list:
https://gcc.gnu.org/pipermail/gcc-patches/2022-July/598371.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug ipa/106260] [11/12/13/14 Regression] ICE in initialize_node_lattices, at ipa-cp.cc:1289 since r8-1887-g0eaf0bfe94ff5a7c
2022-07-11 18:58 [Bug c++/106260] New: [10/11/12/13 Regression] ICE in initialize_node_lattices, at ipa-cp.cc:1289 gscfq@t-online.de
` (4 preceding siblings ...)
2022-07-13 21:07 ` jamborm at gcc dot gnu.org
@ 2023-07-07 10:43 ` rguenth at gcc dot gnu.org
2023-12-10 9:07 ` zsojka at seznam dot cz
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-07 10:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106260
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.5 |11.5
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 10 branch is being closed.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug ipa/106260] [11/12/13/14 Regression] ICE in initialize_node_lattices, at ipa-cp.cc:1289 since r8-1887-g0eaf0bfe94ff5a7c
2022-07-11 18:58 [Bug c++/106260] New: [10/11/12/13 Regression] ICE in initialize_node_lattices, at ipa-cp.cc:1289 gscfq@t-online.de
` (5 preceding siblings ...)
2023-07-07 10:43 ` [Bug ipa/106260] [11/12/13/14 " rguenth at gcc dot gnu.org
@ 2023-12-10 9:07 ` zsojka at seznam dot cz
6 siblings, 0 replies; 8+ messages in thread
From: zsojka at seznam dot cz @ 2023-12-10 9:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106260
--- Comment #5 from Zdenek Sojka <zsojka at seznam dot cz> ---
Created attachment 56843
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56843&action=edit
slightly reduced testcase
$ x86_64-pc-linux-gnu-gcc -O2 -fno-unit-at-a-time -fwhole-program testcase.C
during IPA pass: cp
testcase.C:27:1: internal compiler error: in initialize_node_lattices, at
ipa-cp.cc:1593
27 | }
| ^
0xe60b6b initialize_node_lattices
/repo/gcc-trunk/gcc/ipa-cp.cc:1593
0xe60b6b ipcp_propagate_stage
/repo/gcc-trunk/gcc/ipa-cp.cc:4300
0xe60b6b ipcp_driver
/repo/gcc-trunk/gcc/ipa-cp.cc:6700
0xe60b6b execute
/repo/gcc-trunk/gcc/ipa-cp.cc:6775
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
^ permalink raw reply [flat|nested] 8+ messages in thread