* [Bug lto/113197] [14 Regressiion] ICE in in handle_call_arg, at tree-ssa-structalias.cc:4119
2024-01-02 11:02 [Bug lto/113197] New: [14 Regressiion] ICE in in handle_call_arg, at tree-ssa-structalias.cc:4119 doko at gcc dot gnu.org
@ 2024-01-02 16:13 ` doko at gcc dot gnu.org
2024-01-02 16:20 ` doko at gcc dot gnu.org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: doko at gcc dot gnu.org @ 2024-01-02 16:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113197
--- Comment #1 from Matthias Klose <doko at gcc dot gnu.org> ---
Created attachment 56976
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56976&action=edit
reduced test case
reduced test case, still requires another object file
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug lto/113197] [14 Regressiion] ICE in in handle_call_arg, at tree-ssa-structalias.cc:4119
2024-01-02 11:02 [Bug lto/113197] New: [14 Regressiion] ICE in in handle_call_arg, at tree-ssa-structalias.cc:4119 doko at gcc dot gnu.org
2024-01-02 16:13 ` [Bug lto/113197] " doko at gcc dot gnu.org
@ 2024-01-02 16:20 ` doko at gcc dot gnu.org
2024-01-02 18:04 ` doko at gcc dot gnu.org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: doko at gcc dot gnu.org @ 2024-01-02 16:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113197
--- Comment #2 from Matthias Klose <doko at gcc dot gnu.org> ---
the ICE goes away, if I also build the conntrack.o object file with -fPIC
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug lto/113197] [14 Regressiion] ICE in in handle_call_arg, at tree-ssa-structalias.cc:4119
2024-01-02 11:02 [Bug lto/113197] New: [14 Regressiion] ICE in in handle_call_arg, at tree-ssa-structalias.cc:4119 doko at gcc dot gnu.org
2024-01-02 16:13 ` [Bug lto/113197] " doko at gcc dot gnu.org
2024-01-02 16:20 ` doko at gcc dot gnu.org
@ 2024-01-02 18:04 ` doko at gcc dot gnu.org
2024-01-08 14:29 ` [Bug ipa/113197] [14 Regression] " rguenth at gcc dot gnu.org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: doko at gcc dot gnu.org @ 2024-01-02 18:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113197
--- Comment #3 from Matthias Klose <doko at gcc dot gnu.org> ---
Created attachment 56981
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56981&action=edit
reduced test case
reduced test case, without object files.
the compiler is configured with --enable-pie
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug ipa/113197] [14 Regression] ICE in in handle_call_arg, at tree-ssa-structalias.cc:4119
2024-01-02 11:02 [Bug lto/113197] New: [14 Regressiion] ICE in in handle_call_arg, at tree-ssa-structalias.cc:4119 doko at gcc dot gnu.org
` (2 preceding siblings ...)
2024-01-02 18:04 ` doko at gcc dot gnu.org
@ 2024-01-08 14:29 ` rguenth at gcc dot gnu.org
2024-01-09 11:45 ` jakub at gcc dot gnu.org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-01-08 14:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113197
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |lto, needs-bisection
Component|lto |ipa
Target Milestone|--- |14.0
Summary|[14 Regressiion] ICE in in |[14 Regression] ICE in in
|handle_call_arg, at |handle_call_arg, at
|tree-ssa-structalias.cc:411 |tree-ssa-structalias.cc:411
|9 |9
CC| |hubicka at gcc dot gnu.org,
| |rguenth at gcc dot gnu.org
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Looks like an issue with IPA modref and WPA?
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug ipa/113197] [14 Regression] ICE in in handle_call_arg, at tree-ssa-structalias.cc:4119
2024-01-02 11:02 [Bug lto/113197] New: [14 Regressiion] ICE in in handle_call_arg, at tree-ssa-structalias.cc:4119 doko at gcc dot gnu.org
` (3 preceding siblings ...)
2024-01-08 14:29 ` [Bug ipa/113197] [14 Regression] " rguenth at gcc dot gnu.org
@ 2024-01-09 11:45 ` jakub at gcc dot gnu.org
2024-01-09 11:46 ` jakub at gcc dot gnu.org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2024-01-09 11:45 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113197
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
From the last reproducer, one doesn't really need any extra libraries.
Just
./cc1 -quiet -Wdate-time -std=gnu99 -W -Wall -Wmissing-prototypes
-Wwrite-strings -Wfloat-equal -Wshadow -Wpointer-arith -Wbad-function-cast
-Wsign-compare -Waggregate-return -Wmissing-declarations -Wredundant-decls
-Wnested-externs -Winline -Wstrict-prototypes -Wundef -Wno-unused-parameter -g
-O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto
-ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection libct_proto_udp.i -fPIC
./cc1 -quiet -Wdate-time -std=gnu99 -W -Wall -Wmissing-prototypes
-Wwrite-strings -Wfloat-equal -Wshadow -Wpointer-arith -Wbad-function-cast
-Wsign-compare -Waggregate-return -Wmissing-declarations -Wredundant-decls
-Wnested-externs -Winline -Wstrict-prototypes -Wundef -Wno-unused-parameter -g
-O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto
-ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection conntrack.i -fpie
./xgcc -B ./ -std=gnu99 -W -Wall -Wmissing-prototypes -Wwrite-strings
-Wfloat-equal -Wshadow -Wpointer-arith -Wbad-function-cast -Wsign-compare
-Waggregate-return -Wmissing-declarations -Wredundant-decls -Wnested-externs
-Winline -Wstrict-prototypes -Wundef -Wno-unused-parameter -g -O2
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto
-ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wl,-Bsymbolic-functions -flto=auto
-ffat-lto-objects -Wl,-z -Wl,relro -o conntrack.so conntrack.i
libct_proto_udp.s -v -save-temps
reproduces it.
The ICE is on
4105 /* As an compile time optimization if we make no difference between
4106 direct and indirect accesses make arg transitively closed.
4107 This avoids the need to build indir arg and do everything twice.
*/
4108 if (((flags & EAF_NO_INDIRECT_CLOBBER) != 0)
4109 == ((flags & EAF_NO_DIRECT_CLOBBER) != 0)
4110 && (((flags & EAF_NO_INDIRECT_READ) != 0)
4111 == ((flags & EAF_NO_DIRECT_READ) != 0))
4112 && (((flags & EAF_NO_INDIRECT_ESCAPE) != 0)
4113 == ((flags & EAF_NO_DIRECT_ESCAPE) != 0))
4114 && (((flags & EAF_NOT_RETURNED_INDIRECTLY) != 0)
4115 == ((flags & EAF_NOT_RETURNED_DIRECTLY) != 0)))
4116 {
4117 make_transitive_closure_constraints (tem);
4118 callarg_transitive = true;
4119 gcc_checking_assert (!(flags & EAF_NO_DIRECT_READ));
4120 }
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug ipa/113197] [14 Regression] ICE in in handle_call_arg, at tree-ssa-structalias.cc:4119
2024-01-02 11:02 [Bug lto/113197] New: [14 Regressiion] ICE in in handle_call_arg, at tree-ssa-structalias.cc:4119 doko at gcc dot gnu.org
` (4 preceding siblings ...)
2024-01-09 11:45 ` jakub at gcc dot gnu.org
@ 2024-01-09 11:46 ` jakub at gcc dot gnu.org
2024-01-09 12:13 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2024-01-09 11:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113197
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
Last reconfirmed| |2024-01-09
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Our bisect seed can't bisect lto though...
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug ipa/113197] [14 Regression] ICE in in handle_call_arg, at tree-ssa-structalias.cc:4119
2024-01-02 11:02 [Bug lto/113197] New: [14 Regressiion] ICE in in handle_call_arg, at tree-ssa-structalias.cc:4119 doko at gcc dot gnu.org
` (5 preceding siblings ...)
2024-01-09 11:46 ` jakub at gcc dot gnu.org
@ 2024-01-09 12:13 ` rguenth at gcc dot gnu.org
2024-01-10 13:43 ` jamborm at gcc dot gnu.org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-01-09 12:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113197
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #6)
> Our bisect seed can't bisect lto though...
Honza added this stuff.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug ipa/113197] [14 Regression] ICE in in handle_call_arg, at tree-ssa-structalias.cc:4119
2024-01-02 11:02 [Bug lto/113197] New: [14 Regressiion] ICE in in handle_call_arg, at tree-ssa-structalias.cc:4119 doko at gcc dot gnu.org
` (6 preceding siblings ...)
2024-01-09 12:13 ` rguenth at gcc dot gnu.org
@ 2024-01-10 13:43 ` jamborm at gcc dot gnu.org
2024-01-11 2:23 ` [Bug ipa/113197] [12/13/14 " pinskia at gcc dot gnu.org
2024-01-11 8:13 ` rguenth at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: jamborm at gcc dot gnu.org @ 2024-01-10 13:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113197
Martin Jambor <jamborm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jamborm at gcc dot gnu.org
--- Comment #8 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Indeed this (the reduced testcase from comment #3) can be bisected to Honza's
r12-5177-g494bdadf28d0fb (Enable pure-const discovery in modref).
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug ipa/113197] [12/13/14 Regression] ICE in in handle_call_arg, at tree-ssa-structalias.cc:4119
2024-01-02 11:02 [Bug lto/113197] New: [14 Regressiion] ICE in in handle_call_arg, at tree-ssa-structalias.cc:4119 doko at gcc dot gnu.org
` (7 preceding siblings ...)
2024-01-10 13:43 ` jamborm at gcc dot gnu.org
@ 2024-01-11 2:23 ` pinskia at gcc dot gnu.org
2024-01-11 8:13 ` rguenth at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-01-11 2:23 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113197
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|14.0 |12.4
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug ipa/113197] [12/13/14 Regression] ICE in in handle_call_arg, at tree-ssa-structalias.cc:4119
2024-01-02 11:02 [Bug lto/113197] New: [14 Regressiion] ICE in in handle_call_arg, at tree-ssa-structalias.cc:4119 doko at gcc dot gnu.org
` (8 preceding siblings ...)
2024-01-11 2:23 ` [Bug ipa/113197] [12/13/14 " pinskia at gcc dot gnu.org
@ 2024-01-11 8:13 ` rguenth at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-01-11 8:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113197
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P1 |P2
^ permalink raw reply [flat|nested] 11+ messages in thread