public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/79755] [8/9/10 Regression] ICE: segfault in cgraph_node::get, at cgraph.h:1261
[not found] <bug-79755-4@http.gcc.gnu.org/bugzilla/>
@ 2020-03-18 0:16 ` xerofoify at gmail dot com
2020-03-18 0:17 ` xerofoify at gmail dot com
` (7 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: xerofoify at gmail dot com @ 2020-03-18 0:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79755
Nicholas Krause <xerofoify at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |xerofoify at gmail dot com
--- Comment #14 from Nicholas Krause <xerofoify at gmail dot com> ---
Created attachment 48052
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48052&action=edit
Patch for this bug
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/79755] [8/9/10 Regression] ICE: segfault in cgraph_node::get, at cgraph.h:1261
[not found] <bug-79755-4@http.gcc.gnu.org/bugzilla/>
2020-03-18 0:16 ` [Bug middle-end/79755] [8/9/10 Regression] ICE: segfault in cgraph_node::get, at cgraph.h:1261 xerofoify at gmail dot com
@ 2020-03-18 0:17 ` xerofoify at gmail dot com
2020-03-18 0:26 ` mpolacek at gcc dot gnu.org
` (6 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: xerofoify at gmail dot com @ 2020-03-18 0:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79755
--- Comment #15 from Nicholas Krause <xerofoify at gmail dot com> ---
(In reply to Nicholas Krause from comment #14)
> Created attachment 48052 [details]
> Patch for this bug
After tracking this down to the new function that replaced
verify_edge_corresponds_to_fndecl, cgraph_edge::verify_corresponds_to_fndecl
which is basically the same we run into this:
if (callee->former_clone_of != node->decl
&& (node != callee->ultimate_alias_target ())
&& !clone_of_p (node, callee))
Basically it appears to be checking we are a former cgraph clone at the same
time as being a current clone or the same node with clone_of_p on the callee
cgraph node. I'm attaching a test patch for this. Gerhard does this fix the
issue?
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/79755] [8/9/10 Regression] ICE: segfault in cgraph_node::get, at cgraph.h:1261
[not found] <bug-79755-4@http.gcc.gnu.org/bugzilla/>
2020-03-18 0:16 ` [Bug middle-end/79755] [8/9/10 Regression] ICE: segfault in cgraph_node::get, at cgraph.h:1261 xerofoify at gmail dot com
2020-03-18 0:17 ` xerofoify at gmail dot com
@ 2020-03-18 0:26 ` mpolacek at gcc dot gnu.org
2020-03-18 3:38 ` xerofoify at gmail dot com
` (5 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2020-03-18 0:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79755
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpolacek at gcc dot gnu.org
--- Comment #16 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
That patch will generate a -Wparentheses warning, and more importantly, doesn't
fix the ICE, which you could have tried by yourself.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/79755] [8/9/10 Regression] ICE: segfault in cgraph_node::get, at cgraph.h:1261
[not found] <bug-79755-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2020-03-18 0:26 ` mpolacek at gcc dot gnu.org
@ 2020-03-18 3:38 ` xerofoify at gmail dot com
2021-05-14 9:48 ` [Bug middle-end/79755] [9/10/11/12 " jakub at gcc dot gnu.org
` (4 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: xerofoify at gmail dot com @ 2020-03-18 3:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79755
--- Comment #17 from Nicholas Krause <xerofoify at gmail dot com> ---
Sorry about that. I've managed to track it down to a problem with a alias issue
And from reading the code in the original cvs commit. I'm not able to read it
currently but the original function mentioned seems to now be
cgraph_edge::verify_corresponds_to_fndecl. I've tried to access the original
commit but it complains about permissions. Maybe I'm wrong but this seems very
odd to me:
node = node->ultimate_alias_target ();
is basically referring to itself meaning:
if (callee->former_clone_of != node->decl
&& (node != node->ultimate_alias_target ())
&& !clone_of_p (node, callee))
the && (node != node->ultimate_alias_target ()) is basically referring to
itself when comparing yet its already being defined equal to the return value
of ultimate_alias_target meaning its always true. Not sure if this fixes this
bug or something else. Thoughts?
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/79755] [9/10/11/12 Regression] ICE: segfault in cgraph_node::get, at cgraph.h:1261
[not found] <bug-79755-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2020-03-18 3:38 ` xerofoify at gmail dot com
@ 2021-05-14 9:48 ` jakub at gcc dot gnu.org
2021-06-01 8:08 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-05-14 9:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79755
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|8.5 |9.4
--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8 branch is being closed.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/79755] [9/10/11/12 Regression] ICE: segfault in cgraph_node::get, at cgraph.h:1261
[not found] <bug-79755-4@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2021-05-14 9:48 ` [Bug middle-end/79755] [9/10/11/12 " jakub at gcc dot gnu.org
@ 2021-06-01 8:08 ` rguenth at gcc dot gnu.org
2022-05-27 9:37 ` [Bug middle-end/79755] [10/11/12/13 " rguenth at gcc dot gnu.org
` (2 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-06-01 8:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79755
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.4 |9.5
--- Comment #19 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9.4 is being released, retargeting bugs to GCC 9.5.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/79755] [10/11/12/13 Regression] ICE: segfault in cgraph_node::get, at cgraph.h:1261
[not found] <bug-79755-4@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2021-06-01 8:08 ` rguenth at gcc dot gnu.org
@ 2022-05-27 9:37 ` rguenth at gcc dot gnu.org
2022-06-28 10:33 ` jakub at gcc dot gnu.org
2023-07-07 10:32 ` [Bug middle-end/79755] [11/12/13/14 " rguenth at gcc dot gnu.org
8 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-27 9:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79755
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.5 |10.4
--- Comment #20 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9 branch is being closed
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/79755] [10/11/12/13 Regression] ICE: segfault in cgraph_node::get, at cgraph.h:1261
[not found] <bug-79755-4@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2022-05-27 9:37 ` [Bug middle-end/79755] [10/11/12/13 " rguenth at gcc dot gnu.org
@ 2022-06-28 10:33 ` jakub at gcc dot gnu.org
2023-07-07 10:32 ` [Bug middle-end/79755] [11/12/13/14 " rguenth at gcc dot gnu.org
8 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-06-28 10:33 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79755
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.4 |10.5
--- Comment #21 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 10.4 is being released, retargeting bugs to GCC 10.5.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/79755] [11/12/13/14 Regression] ICE: segfault in cgraph_node::get, at cgraph.h:1261
[not found] <bug-79755-4@http.gcc.gnu.org/bugzilla/>
` (7 preceding siblings ...)
2022-06-28 10:33 ` jakub at gcc dot gnu.org
@ 2023-07-07 10:32 ` rguenth at gcc dot gnu.org
8 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-07 10:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79755
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.5 |11.5
--- Comment #22 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 10 branch is being closed.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2023-07-07 10:32 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-79755-4@http.gcc.gnu.org/bugzilla/>
2020-03-18 0:16 ` [Bug middle-end/79755] [8/9/10 Regression] ICE: segfault in cgraph_node::get, at cgraph.h:1261 xerofoify at gmail dot com
2020-03-18 0:17 ` xerofoify at gmail dot com
2020-03-18 0:26 ` mpolacek at gcc dot gnu.org
2020-03-18 3:38 ` xerofoify at gmail dot com
2021-05-14 9:48 ` [Bug middle-end/79755] [9/10/11/12 " jakub at gcc dot gnu.org
2021-06-01 8:08 ` rguenth at gcc dot gnu.org
2022-05-27 9:37 ` [Bug middle-end/79755] [10/11/12/13 " rguenth at gcc dot gnu.org
2022-06-28 10:33 ` jakub at gcc dot gnu.org
2023-07-07 10:32 ` [Bug middle-end/79755] [11/12/13/14 " rguenth 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).