http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45982

--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-10-13 
11:33:54 UTC ---
Author: rguenth
Date: Wed Oct 13 11:33:51 2010
New Revision: 165419

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165419
Log:
2010-10-13  Richard Guenther  <rguent...@suse.de>

    PR tree-optimization/45982
    * tree-ssa-structalias.c (make_constraints_to): New function.
    (make_constraint_to): Implement in terms of make_constraints_to.
    (find_func_aliases): Properly make return values of pure/const
    functions escape if they assign to sth that is not a pointer.

    * gcc.dg/torture/pr45982.c: New testcase.
    * gcc.dg/tree-ssa/pr24287.c: Adjust.
    * gcc.dg/tree-ssa/pta-callused.c: Likewise.
    * gcc.dg/torture/pr39074-2.c: Likewise.

Added:
    branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/torture/pr45982.c
Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/torture/pr39074-2.c
    branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/tree-ssa/pr24287.c
    branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/tree-ssa/pta-callused.c
    branches/gcc-4_5-branch/gcc/tree-ssa-structalias.c

Reply via email to