aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-phiopt.cc
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@marvell.com>2023-03-31 01:37:20 +0000
committerAndrew Pinski <apinski@marvell.com>2023-04-17 11:53:28 -0700
commit6d4ad4cca5d2b15d01a50a893348cbcfc340cdd5 (patch)
tree94c5d63851851c27956067c17f7c7a306ea1a16f /gcc/tree-ssa-phiopt.cc
parente11533e2f3dd91eef663f08f8326eefb72680cdf (diff)
downloadgcc-6d4ad4cca5d2b15d01a50a893348cbcfc340cdd5.zip
gcc-6d4ad4cca5d2b15d01a50a893348cbcfc340cdd5.tar.gz
gcc-6d4ad4cca5d2b15d01a50a893348cbcfc340cdd5.tar.bz2
PHIOPT: Remove gate_hoist_loads prototype
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.
Diffstat (limited to 'gcc/tree-ssa-phiopt.cc')
-rw-r--r--gcc/tree-ssa-phiopt.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/tree-ssa-phiopt.cc b/gcc/tree-ssa-phiopt.cc
index a7ab6ce..16acd2f 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