https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88235
--- Comment #2 from Martin Jambor ---
I have looked at this a bit more and the problem is that thunk
inlining expands a thunk which then makes the clone_of_p() part of
cgraph_edge::verify_corresponds_to_fndecl() fail.
I must say that I found the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88235
--- Comment #3 from Martin Jambor ---
Created attachment 45841
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45841&action=edit
Heavy handed fix
This patch fixes the verification because it stores to cgraph_node
information that the node i
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88235
--- Comment #4 from Jan Hubicka ---
I think you can add cgraph predicate
former_thunk_p which tests that
return !thunk_p && (thunk_info.fixed_offset || virtual_offset_p ||
indirect_offset)
Every thunk should set one of those (it may be good to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88235
--- Comment #5 from Martin Jambor ---
I have proposed such patch on the mailing list:
https://gcc.gnu.org/ml/gcc-patches/2019-03/msg00262.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88235
--- Comment #6 from Martin Jambor ---
Author: jamborm
Date: Thu Mar 7 16:03:34 2019
New Revision: 269462
URL: https://gcc.gnu.org/viewcvs?rev=269462&root=gcc&view=rev
Log:
Relax cgraph_node::clone_of_p to also look through former clones
2019-0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88235
--- Comment #7 from Martin Jambor ---
Author: jamborm
Date: Fri Mar 8 22:55:20 2019
New Revision: 269517
URL: https://gcc.gnu.org/viewcvs?rev=269517&root=gcc&view=rev
Log:
Relax cgraph_node::clone_of_p to also look through former clones
2019-0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88235
Martin Liška changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88235
Richard Biener changed:
What|Removed |Added
Priority|P3 |P2
Target Milestone|9.0