Hi. This fixed issue where we have an ifunc function called from another ifunc function. One needs to properly make a reference redirection. Patch can bootstrap on ppc64le-redhat-linux and survives regression tests. MVC tests on x86_64 also work fine. Ready for trunk? Thanks, Martin gcc/ChangeLog: 2018-03-13 Martin Liska PR ipa/84833 * multiple_target.c (create_dispatcher_calls): Redirect reference in the symbol table. gcc/testsuite/ChangeLog: 2018-03-13 Martin Liska PR ipa/84833 * gcc.target/i386/mvc11.c: New test. --- gcc/multiple_target.c | 4 ++++ gcc/testsuite/gcc.target/i386/mvc11.c | 28 ++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 gcc/testsuite/gcc.target/i386/mvc11.c