tree-ssa.texi (Immediate Uses): Fix FOR_EACH_IMM_USE_STMT example.
authorRichard Biener <rguenther@suse.de>
Tue, 29 Oct 2019 11:32:04 +0000 (11:32 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 29 Oct 2019 11:32:04 +0000 (11:32 +0000)
2019-10-29  Richard Biener  <rguenther@suse.de>

* doc/tree-ssa.texi (Immediate Uses): Fix FOR_EACH_IMM_USE_STMT
example.

From-SVN: r277568

gcc/ChangeLog
gcc/doc/tree-ssa.texi

index 1c429520386e17bce92c51c87a91c792b97bb855..e710f884642b07e7d971e1ac0a4a109b809131cf 100644 (file)
@@ -1,3 +1,8 @@
+2019-10-29  Richard Biener  <rguenther@suse.de>
+
+       * doc/tree-ssa.texi (Immediate Uses): Fix FOR_EACH_IMM_USE_STMT
+       example.
+
 2019-10-29  Richard Sandiford  <richard.sandiford@arm.com>
 
        * tree-vect-stmts.c (vectorizable_condition): Get the reduction
index a7da6f9ef04264465d06cc55eded4a810642eaa5..20cbe1869d7bb25b9a00aef64edc9bd03ba511c8 100644 (file)
@@ -392,7 +392,7 @@ to do this :
   FOR_EACH_IMM_USE_STMT (stmt, iterator, ssa_var)
     @{
       if (stmt == last_stmt)
-        BREAK_FROM_IMM_USE_STMT (iter);
+        BREAK_FROM_IMM_USE_STMT (iterator);
 
       FOR_EACH_IMM_USE_ON_STMT (imm_use_p, iterator)
         SET_USE (imm_use_p, ssa_var_2);