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

--- Comment #16 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Apr 27 14:10:04 2016
New Revision: 235511

URL: https://gcc.gnu.org/viewcvs?rev=235511&root=gcc&view=rev
Log:
2016-04-27  Richard Biener  <rguent...@suse.de>

        PR ipa/70760
        * tree-ssa-structalias.c (find_func_aliases_for_call): Use
        aggregate_value_p to determine if a function result is
        returned by reference.
        (ipa_pta_execute): Functions having their address taken are
        not automatically nonlocal.

        * g++.dg/ipa/ipa-pta-2.C: New testcase.
        * gcc.dg/ipa/ipa-pta-1.c: Adjust.

Added:
    trunk/gcc/testsuite/g++.dg/ipa/ipa-pta-2.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/ipa/ipa-pta-1.c
    trunk/gcc/tree-ssa-structalias.c

Reply via email to