OSDN Git Service

2006-01-16 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Jan 2006 19:35:08 +0000 (19:35 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Jan 2006 19:35:08 +0000 (19:35 +0000)
commite27f337edeb1585c8ef04bd7f069bf6c9d3edacb
tree81b34c2198f03ac751ceca53567fb3a0777c0618
parent1c51e1aa8590b0b770f9466e6d45098ec6376404
2006-01-16  Richard Guenther  <rguenther@suse.de>

* tree-ssa-alias.c (struct used_part): Add write_only field.
(get_or_create_used_part_for): Initialize it to true.
(create_overlap_variables_for): Don't create structure variables
for structures that only are written to.
(find_used_portions): Handle MODIFY_EXPR to track whether a
structure is only written to.

* gcc.dg/tree-ssa/20031015-1.c: Adjust testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109766 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/20031015-1.c
gcc/tree-ssa-alias.c