From c9b459d199854bebc323b4dc79614ce0853e8879 Mon Sep 17 00:00:00 2001 From: rguenth Date: Thu, 6 Oct 2005 16:20:14 +0000 Subject: 2005-10-06 Richard Guenther 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 --- gcc/tree-ssa-alias.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/tree-ssa-alias.c') 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) -- cgit v1.2.1