[COMMITTED] PHIOPT: Remove gate_hoist_loads prototype

Message ID 20230417185223.245929-1-apinski@marvell.com
State Repeat Merge
Headers
Series [COMMITTED] PHIOPT: Remove gate_hoist_loads prototype |

Checks

Context Check Description
snail/gcc-patch-check warning Git am fail log

Commit Message

Andrew Pinski April 17, 2023, 6:52 p.m. UTC
  gate_hoist_loads is defined before its usage so there is
no reason for the declaration (prototype) to be there.

Committed as obvious after a bootstrap/test on x86_64-linux-gnu with no regressions.

gcc/ChangeLog:

	* tree-ssa-phiopt.cc (gate_hoist_loads): Remove
	prototype.
---
 gcc/tree-ssa-phiopt.cc | 1 -
 1 file changed, 1 deletion(-)
  

Patch

diff --git a/gcc/tree-ssa-phiopt.cc b/gcc/tree-ssa-phiopt.cc
index a7ab6ce4ad9..16acd2f1894 100644
--- a/gcc/tree-ssa-phiopt.cc
+++ b/gcc/tree-ssa-phiopt.cc
@@ -77,7 +77,6 @@  static bool cond_if_else_store_replacement (basic_block, basic_block, basic_bloc
 static hash_set<tree> * get_non_trapping ();
 static void hoist_adjacent_loads (basic_block, basic_block,
 				  basic_block, basic_block);
-static bool gate_hoist_loads (void);
 
 /* This pass tries to transform conditional stores into unconditional
    ones, enabling further simplifications with the simpler then and else