http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60315
--- Comment #11 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Created attachment 32439 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32439&action=edit Patch I am testing this patch implements the trick of redirecting call edges to UNREACHABLE. It solves the compile time issues quite well. I wonder why I did not get this idea previously - basically it was always on the TODO list to remove edges corresponding to provably unreachable code, but for that we need bit more support because the known to be dead calls needs to be recorded for verifier and inline-transform machinery. Calls to UNREACHABLE does as well as special purpose markers without needs for changess across the cgraph code.