From 3ab768774318cff1ecc7951a59bc9f66ceb015ff Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Tue, 29 Oct 2019 11:32:04 +0000 Subject: [PATCH] tree-ssa.texi (Immediate Uses): Fix FOR_EACH_IMM_USE_STMT example. 2019-10-29 Richard Biener * doc/tree-ssa.texi (Immediate Uses): Fix FOR_EACH_IMM_USE_STMT example. From-SVN: r277568 --- gcc/ChangeLog | 5 +++++ gcc/doc/tree-ssa.texi | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1c429520386..e710f884642 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-10-29 Richard Biener + + * doc/tree-ssa.texi (Immediate Uses): Fix FOR_EACH_IMM_USE_STMT + example. + 2019-10-29 Richard Sandiford * tree-vect-stmts.c (vectorizable_condition): Get the reduction diff --git a/gcc/doc/tree-ssa.texi b/gcc/doc/tree-ssa.texi index a7da6f9ef04..20cbe1869d7 100644 --- a/gcc/doc/tree-ssa.texi +++ b/gcc/doc/tree-ssa.texi @@ -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); -- 2.30.2