This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] fix comment in tree-ssa-alias.c


I think the C source and the SSA form don't match in the comment.

Is OK to install?  It was boostrapped and regression tested on
i686-pc-linux-gnu.

Adam

2004-11-18  Adam Nemet  <anemet@lnxw.com> 
 
        * tree-ssa-alias.c: Fix comment. 

Index: tree-ssa-alias.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-ssa-alias.c,v
retrieving revision 2.53
diff -u -p -r2.53 tree-ssa-alias.c
--- tree-ssa-alias.c	12 Nov 2004 00:08:41 -0000	2.53
+++ tree-ssa-alias.c	18 Nov 2004 16:28:49 -0000
@@ -236,15 +236,14 @@ tree global_var;
 
 	    foo (int i)
 	    {
-	      int *p, *q, a, b;
+	      int *p, a, b;
 	    
 	      if (i > 10)
 	        p = &a;
 	      else
-	        q = &b;
+	        p = &b;
 	    
 	      *p = 3;
-	      *q = 5;
 	      a = b + 2;
 	      return *p;
 	    }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]