OSDN Git Service

2009-07-01 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Jul 2009 12:27:33 +0000 (12:27 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Jul 2009 12:27:33 +0000 (12:27 +0000)
commit9df58cd1a4883a91fee3ca92ef91cc4afb645bcf
tree1817c538d837f3cc63a2849dd1c687fef88ed18d
parentfa9b8d646ed10fb34b5d389ba472cb89eb1e2abe
2009-07-01  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/19831
* tree-ssa-dce.c (propagate_necessity): Calls to functions
that only act as barriers do not make any previous stores
necessary.
* tree-ssa-structalias.c (handle_lhs_call): Delay making
HEAP variables global, do not add a constraint from nonlocal.
(find_func_aliases): Handle escapes through return statements.
(compute_points_to_sets): Make escaped HEAP variables global.

* gcc.dg/tree-ssa/20041122-1.c: Enable TBAA, scan FRE dump,
make allocated memory escape.  Un-XFAIL.
* gcc.dg/vect/pr21591.c: Make allocated memory escape.
* gcc.dg/vect/pr31699.c: Likewise.
* gcc.dg/tree-ssa/ssa-dce-7.c: New testcase.

libmudflap/
* testsuite/libmudflap.c/fail11-frag.c: Make allocated memory
escape.
* testsuite/libmudflap.c/fail12-frag.c: Likewise.
* testsuite/libmudflap.c/fail16-frag.c: Likewise.
* testsuite/libmudflap.c/fail31-frag.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149140 138bc75d-0d04-0410-961f-82ee72b054a4
13 files changed:
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/20041122-1.c
gcc/testsuite/gcc.dg/tree-ssa/ssa-dce-7.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/pr21591.c
gcc/testsuite/gcc.dg/vect/pr31699.c
gcc/tree-ssa-dce.c
gcc/tree-ssa-structalias.c
libmudflap/ChangeLog
libmudflap/testsuite/libmudflap.c/fail11-frag.c
libmudflap/testsuite/libmudflap.c/fail12-frag.c
libmudflap/testsuite/libmudflap.c/fail16-frag.c
libmudflap/testsuite/libmudflap.c/fail31-frag.c