https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66295
--- Comment #12 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Wed Mar 22 14:31:55 2017 New Revision: 246383 URL: https://gcc.gnu.org/viewcvs?rev=246383&root=gcc&view=rev Log: Backport r245155 2017-03-22 Martin Liska <mli...@suse.cz> Backport from mainline 2017-02-03 Martin Liska <mli...@suse.cz> PR lto/66295 * multiple_target.c (create_dispatcher_calls): Redirect edge from a caller of a dispatcher. (expand_target_clones): Make the clones local. (ipa_target_clone): Do both target clones and resolvers. (ipa_dispatcher_calls): Remove the pass. (pass_dispatcher_calls::gate): Likewise. (make_pass_dispatcher_calls): Likewise. * passes.def (pass_target_clone): Put as very first IPA early pass. 2017-03-22 Martin Liska <mli...@suse.cz> Backport from mainline 2017-02-03 Martin Liska <mli...@suse.cz> PR lto/66295 * gcc.target/i386/mvc9.c: New test. Added: branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/mvc9.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/multiple_target.c branches/gcc-6-branch/gcc/passes.def branches/gcc-6-branch/gcc/testsuite/ChangeLog