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

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Jun  1 08:20:08 2018
New Revision: 261056

URL: https://gcc.gnu.org/viewcvs?rev=261056&root=gcc&view=rev
Log:
2018-06-01  Richard Biener  <rguent...@suse.de>

        PR ipa/85960
        * tree-ssa-structalias.c (get_function_part_constraint):
        Handle NULL fi->decl.
        (find_func_aliases_for_call): Properly handle indirect
        fi from direct call.
        (find_func_clobbers): Likewise.
        (ipa_pta_execute): Likewise.
        (create_variable_info_for): For functions that are ifunc_resolver
        resolve to a varinfo that contains the result of the resolver
        call.
        (associate_varinfo_to_alias): Do not treat ifunc resolvers as
        aliases.

        * gcc.dg/ipa/ipa-pta-19.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/ipa/ipa-pta-19.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-structalias.c

Reply via email to