* [DOC] Replace reference to removed macro
@ 2019-10-10 11:08 Joel Hutton
2019-10-14 21:13 ` Jeff Law
0 siblings, 1 reply; 2+ messages in thread
From: Joel Hutton @ 2019-10-10 11:08 UTC (permalink / raw)
To: GCC Patches; +Cc: nd
[-- Attachment #1: Type: text/plain, Size: 270 bytes --]
Hi all,
I noticed when reading the documentation that BREAK_FROM_IMM_USE_SAFE
was removed at some point in 2006 and replaced with BREAK_FROM_IMM_USE_STMT.
2019-10-10 Joel Hutton Joel.Hutton@arm.com
* doc/tree-ssa.texi: Update renamed macro name.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Doc-FOR_EACH_IMM_USE_SAFE-removed.patch --]
[-- Type: text/x-patch; name="0001-Doc-FOR_EACH_IMM_USE_SAFE-removed.patch", Size: 1294 bytes --]
From a9569599ee885842eabc6cc22e718486ceb7034d Mon Sep 17 00:00:00 2001
From: Joel Hutton <Joel.Hutton@arm.com>
Date: Thu, 10 Oct 2019 11:12:17 +0100
Subject: [PATCH] Doc: FOR_EACH_IMM_USE_SAFE removed
---
gcc/doc/tree-ssa.texi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/doc/tree-ssa.texi b/gcc/doc/tree-ssa.texi
index 9714c5addfaad5d8418e88ded309a713439184b0..a7da6f9ef04264465d06cc55eded4a810642eaa5 100644
--- a/gcc/doc/tree-ssa.texi
+++ b/gcc/doc/tree-ssa.texi
@@ -385,14 +385,14 @@ optimization can manipulate the stmt when all the uses have been
processed. This is a little slower than the FAST version since it adds a
placeholder element and must sort through the list a bit for each statement.
This placeholder element must be also be removed if the loop is
-terminated early. The macro @code{BREAK_FROM_IMM_USE_SAFE} is provided
+terminated early. The macro @code{BREAK_FROM_IMM_USE_STMT} is provided
to do this :
@smallexample
FOR_EACH_IMM_USE_STMT (stmt, iterator, ssa_var)
@{
if (stmt == last_stmt)
- BREAK_FROM_SAFE_IMM_USE (iter);
+ BREAK_FROM_IMM_USE_STMT (iter);
FOR_EACH_IMM_USE_ON_STMT (imm_use_p, iterator)
SET_USE (imm_use_p, ssa_var_2);
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [DOC] Replace reference to removed macro
2019-10-10 11:08 [DOC] Replace reference to removed macro Joel Hutton
@ 2019-10-14 21:13 ` Jeff Law
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2019-10-14 21:13 UTC (permalink / raw)
To: Joel Hutton, GCC Patches; +Cc: nd
On 10/10/19 4:40 AM, Joel Hutton wrote:
> Hi all,
>
> I noticed when reading the documentation that BREAK_FROM_IMM_USE_SAFE
> was removed at some point in 2006 and replaced with BREAK_FROM_IMM_USE_STMT.
>
>
> 2019-10-10 Joel Hutton Joel.Hutton@arm.com
>
> Â Â Â * doc/tree-ssa.texi: Update renamed macro name.
>
Thanks. Installed.
jeff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-14 21:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-10 11:08 [DOC] Replace reference to removed macro Joel Hutton
2019-10-14 21:13 ` Jeff Law
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).