summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-alias.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2005-10-06 16:20:14 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2005-10-06 16:20:14 +0000
commitc9b459d199854bebc323b4dc79614ce0853e8879 (patch)
tree5142d432885fa6dc1550e912d748399ee03dcc30 /gcc/tree-ssa-alias.c
parent1b69324d925bb1a4a123026b2f378e1345fb2300 (diff)
downloadgcc-c9b459d199854bebc323b4dc79614ce0853e8879.tar.gz
2005-10-06 Richard Guenther <rguenther@suse.de>
PR tree-optimization/24238 * tree-ssa-alias.c (find_used_portions): Handle PARAM_DECL. * g++.dg/tree-ssa/pr24238.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105043 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-alias.c')
-rw-r--r--gcc/tree-ssa-alias.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c
index 30c1e9d990d..8ce285f9ba5 100644
--- a/gcc/tree-ssa-alias.c
+++ b/gcc/tree-ssa-alias.c
@@ -2765,6 +2765,7 @@ find_used_portions (tree *tp, int *walk_subtrees, void *data ATTRIBUTE_UNUSED)
break;
case VAR_DECL:
case PARM_DECL:
+ case RESULT_DECL:
{
tree var = *tp;
if (DECL_SIZE (var)