gcc-patches@gcc.gnu.org
[Top] [All Lists]

Committed: unbreak build tree-ssa-structalias.c (heapvar_lookup): Fix ty

Subject: Committed: unbreak build tree-ssa-structalias.c (heapvar_lookup): Fix typo: stmt to from.
From: Hans-Peter Nilsson
Date: Thu, 10 Nov 2005 19:56:23 +0100
As this was an unbreak-build patch, it wasn't fully tested,
except that tree-ssa-structalias.c now compiles.

gcc/
        * tree-ssa-structalias.c (heapvar_lookup): Fix typo: stmt to from.

Index: tree-ssa-structalias.c
===================================================================
--- tree-ssa-structalias.c      (revision 106744)
+++ tree-ssa-structalias.c      (working copy)
@@ -311,10 +311,10 @@
 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;

brgds, H-P

<Prev in Thread] Current Thread [Next in Thread>
  • Committed: unbreak build tree-ssa-structalias.c (heapvar_lookup): Fix typo: stmt to from., Hans-Peter Nilsson <=