aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/tree-ssa-structalias.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 66e0e1d..6acce34 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2005-11-10 Hans-Peter Nilsson <hp@axis.com>
+
+ * tree-ssa-structalias.c (heapvar_lookup): Fix typo: stmt to from.
+
2005-11-04 Jeff Law <law@redhat.com>
PR middle-end/23181
diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c
index db230af..128b142 100644
--- a/gcc/tree-ssa-structalias.c
+++ b/gcc/tree-ssa-structalias.c
@@ -311,10 +311,10 @@ static tree anyoffset_tree;
static unsigned int anyoffset_id;
-/* Lookup a heap var for STMT, and return it if we find one. */
+/* Lookup a heap var for FROM, and return it if we find one. */
static tree
-heapvar_lookup (tree stmt)
+heapvar_lookup (tree from)
{
struct tree_map *h, in;
in.from = from;