OSDN Git Service

* tree-ssa-alias.c (create_name_tags): Ignore pointers that
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Jul 2004 15:32:47 +0000 (15:32 +0000)
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Jul 2004 15:32:47 +0000 (15:32 +0000)
commitcb2d734ceee1aeef2fbf55f00c2b617f78a4ab33
tree2b9d2fb0b1c90b07e3cc9d57a576a487ffca1759
parenta255f65a7c9820a126c7f94f5fa7b1c885a92807
* tree-ssa-alias.c (create_name_tags): Ignore pointers that
don't have PT_VARS nor PT_MALLOC set.
Clear name tag from pointers that have not been dereferenced.
(set_pt_anything, set_pt_malloc): Forward declare.
* tree-ssa-copy.c (may_propagate_copy): Compare alias sets,
not type compatibility when determining if a pointer can be
copy propagated.

testsuite/ChangeLog

* gcc.c-torture/compile/20040727-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85220 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20040727-1.c [new file with mode: 0644]
gcc/tree-ssa-alias.c
gcc/tree-ssa-copy.c