docs: Add missing variable name in example
authorMartin Liska <mliska@suse.cz>
Wed, 9 Nov 2022 20:57:08 +0000 (21:57 +0100)
committerMartin Liska <mliska@suse.cz>
Wed, 9 Nov 2022 20:57:08 +0000 (21:57 +0100)
gcc/ChangeLog:

* doc/gccint/analysis-and-optimization-of-gimple-tuples/ssa-operands.rst:
Add missing variable name.

Co-Authored-By: Sinan <sinan.lin@linux.alibaba.com>
gcc/doc/gccint/analysis-and-optimization-of-gimple-tuples/ssa-operands.rst

index 1dd7c86..eaec2f9 100644 (file)
@@ -175,7 +175,7 @@ all the operands for a statement:
   void
   print_ops (tree stmt)
   {
-    ssa_op_iter;
+    ssa_op_iter iter;
     tree var;
 
     FOR_EACH_SSA_TREE_OPERAND (var, stmt, iter, SSA_OP_ALL_OPERANDS)