[Bug middle-end/79755] [8/9/10 Regression] ICE: segfault in cgraph_node::get, at cgraph.h:1261

2020-03-17 Thread xerofoify at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79755 --- Comment #17 from Nicholas Krause --- 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

[Bug middle-end/79755] [8/9/10 Regression] ICE: segfault in cgraph_node::get, at cgraph.h:1261

2020-03-17 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79755 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug middle-end/79755] [8/9/10 Regression] ICE: segfault in cgraph_node::get, at cgraph.h:1261

2020-03-17 Thread xerofoify at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79755 --- Comment #15 from Nicholas Krause --- (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,

[Bug middle-end/79755] [8/9/10 Regression] ICE: segfault in cgraph_node::get, at cgraph.h:1261

2020-03-17 Thread xerofoify at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79755 Nicholas Krause changed: What|Removed |Added CC||xerofoify at gmail dot com ---

[Bug middle-end/79755] [8/9/10 Regression] ICE: segfault in cgraph_node::get, at cgraph.h:1261

2020-03-05 Thread xerofoify at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79755 --- Comment #13 from Nicholas Krause --- Please forget the previous comment in verify_edge_corresponds_to_fndecl we need to switch it to this: if (e->callee->former_clone_of != node->symbol.decl && (!n->symbol.cpp_implicit_alias ||

[Bug middle-end/79755] [8/9/10 Regression] ICE: segfault in cgraph_node::get, at cgraph.h:1261

2020-03-05 Thread xerofoify at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79755 --- Comment #12 from Nicholas Krause --- Sorry about not reading the comment carefully. I'm not if this helps but after looking at the change to this file: https://gcc.gnu.org/viewcvs/gcc/trunk/gcc/cgraph.c?r1=199577=199576=199577 n =

[Bug middle-end/79755] [8/9/10 Regression] ICE: segfault in cgraph_node::get, at cgraph.h:1261

2020-03-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79755 Andrew Pinski changed: What|Removed |Added Keywords||ice-checking --- Comment #11 from

[Bug middle-end/79755] [8/9/10 Regression] ICE: segfault in cgraph_node::get, at cgraph.h:1261

2020-03-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79755 --- Comment #10 from Jakub Jelinek --- --enable-checking=release (the default on release branches) is not --enable-checking=yes (which is needed to reproduce this checking error-recovery failure).

[Bug middle-end/79755] [8/9/10 Regression] ICE: segfault in cgraph_node::get, at cgraph.h:1261

2020-03-05 Thread xerofoify at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79755 --- Comment #9 from Nicholas Krause --- Sorry source code is: void foo () {} #pragma weak foo = _foo int _foo = 0; Copy and Pasted line numbers by mistake.

[Bug middle-end/79755] [8/9/10 Regression] ICE: segfault in cgraph_node::get, at cgraph.h:1261

2020-03-05 Thread xerofoify at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79755 --- Comment #8 from Nicholas Krause --- (In reply to Jakub Jelinek from comment #7) > This does happen even with 9.2 and current trunk, you just need to read the > first line in #c0. While I ran it as on a Ubuntu 9.2 Toolchain configured as:

[Bug middle-end/79755] [8/9/10 Regression] ICE: segfault in cgraph_node::get, at cgraph.h:1261

2020-03-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79755 --- Comment #7 from Jakub Jelinek --- This does happen even with 9.2 and current trunk, you just need to read the first line in #c0.

[Bug middle-end/79755] [8/9/10 Regression] ICE: segfault in cgraph_node::get, at cgraph.h:1261

2020-03-05 Thread xerofoify at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79755 Nicholas Krause changed: What|Removed |Added CC||xerofoify at gmail dot com ---

[Bug middle-end/79755] [8/9/10 Regression] ICE: segfault in cgraph_node::get, at cgraph.h:1261

2020-03-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79755 Jakub Jelinek changed: What|Removed |Added Target Milestone|8.4 |8.5 --- Comment #5 from Jakub Jelinek