https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66295

--- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Fri Feb  3 15:22:47 2017
New Revision: 245155

URL: https://gcc.gnu.org/viewcvs?rev=245155&root=gcc&view=rev
Log:
Simplify creation of target_clones (PR lto/66295)

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-02-03  Martin Liska  <mli...@suse.cz>

        PR lto/66295
        * gcc.target/i386/mvc9.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/i386/mvc9.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/multiple_target.c
    trunk/gcc/passes.def
    trunk/gcc/testsuite/ChangeLog

Reply via email to