]> gcc.gnu.org Git - gcc.git/commit
re PR tree-optimization/19831 (Missing DSE/malloc/free optimization)
authorRichard Guenther <rguenther@suse.de>
Wed, 1 Jul 2009 12:27:33 +0000 (12:27 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 1 Jul 2009 12:27:33 +0000 (12:27 +0000)
commit14c41b9bb9c2918a0727d6dd43b96c2df0b3bcf8
tree1817c538d837f3cc63a2849dd1c687fef88ed18d
parentf6e0880aa00a47be074e875443587a7665f68071
re PR tree-optimization/19831 (Missing DSE/malloc/free optimization)

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.

From-SVN: r149140
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
This page took 0.063534 seconds and 5 git commands to generate.