gcc/ PR target/64703 * target.def (has_function_descriptors): New hook. * doc/tm.texi.in: Add TARGET_HAS_FUNCTION_DESCRIPTORS. * doc/tc.texi: Regenerate. * tree-ssa-alias.c (pt_solution_includes_base): New function, extracted from.. (ref_maybe_used_by_call_p_1): ..here. Handle potential memory reference by indirect calls on targets using function descriptors. * config/rs6000/rs6000.c (TARGET_HAS_FUNCTION_DESCRIPTORS): Define. (rs6000_has_function_descriptors): New function. gcc/testsuite/ * gcc.target/powerpc/pr64703.c: New.
The rs6000 parts of the patch are okay. Thanks for fixing this, David