https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93318
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jan Hubicka <hubi...@gcc.gnu.org>: https://gcc.gnu.org/g:28307164dfed294855bf3d55bed357de560f083b commit r10-6111-g28307164dfed294855bf3d55bed357de560f083b Author: Jan Hubicka <j...@suse.cz> Date: Tue Jan 21 16:33:43 2020 +0100 Fix updating of call_stmt_site_hash This patch fixes ICE causes by call stmt site hash going out of sync. For speculative edges it is assumed to contain a direct call so if we are removing it hashtable needs to be updated. I realize that the code is ugly but I will leave cleanup for next stage1. Bootstrapped/regtested x86_64-linux. This patch makes it possible to build Firefox again. PR lto/93318 * cgraph.c (cgraph_edge::resolve_speculation, cgraph_edge::redirect_call_stmt_to_callee): Fix update of call_stmt_site_hash.