[2/4] Remove outdated comment about execute_fixup_cfg

Message ID 1634619244-18969-3-git-send-email-apinski@marvell.com
State Committed
Commit 0a717f13355928d05f134409bf004f900d358046
Headers
Series Fix PR tree-opt/102703 |

Commit Message

Li, Pan2 via Gcc-patches Oct. 19, 2021, 4:54 a.m. UTC
  From: Andrew Pinski <apinski@marvell.com>

The comment about execute_fixup_cfg not being able to
run as a standalone pass is not true for a long time
now.  It has been a standalone pass for a while now.

gcc/ChangeLog:

	* tree-cfg.c (execute_fixup_cfg): Remove comment
	about standalone pass.
---
 gcc/tree-cfg.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
  

Comments

Jeff Law Oct. 19, 2021, 11:10 p.m. UTC | #1
On 10/18/2021 10:54 PM, apinski--- via Gcc-patches wrote:
> From: Andrew Pinski <apinski@marvell.com>
>
> The comment about execute_fixup_cfg not being able to
> run as a standalone pass is not true for a long time
> now.  It has been a standalone pass for a while now.
>
> gcc/ChangeLog:
>
> 	* tree-cfg.c (execute_fixup_cfg): Remove comment
> 	about standalone pass.
OK
jeff
  

Patch

diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c
index b78e4564e4d..c20fc4980c6 100644
--- a/gcc/tree-cfg.c
+++ b/gcc/tree-cfg.c
@@ -9669,10 +9669,7 @@  make_pass_warn_unused_result (gcc::context *ctxt)
 /* IPA passes, compilation of earlier functions or inlining
    might have changed some properties, such as marked functions nothrow,
    pure, const or noreturn.
-   Remove redundant edges and basic blocks, and create new ones if necessary.
-
-   This pass can't be executed as stand alone pass from pass manager, because
-   in between inlining and this fixup the verify_flow_info would fail.  */
+   Remove redundant edges and basic blocks, and create new ones if necessary. */
 
 unsigned int
 execute_fixup_cfg (void)