This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ipa/60315] [4.8/4.9 Regression] template constructor switch optimization


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]