]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PHIOPT: Remove gate_hoist_loads prototype
authorAndrew Pinski <apinski@marvell.com>
Fri, 31 Mar 2023 01:37:20 +0000 (01:37 +0000)
committerAndrew Pinski <apinski@marvell.com>
Mon, 17 Apr 2023 18:53:28 +0000 (11:53 -0700)
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

index a7ab6ce4ad90b4088b942ea6ad6430beb0c5dcd9..16acd2f1894d9f97e2e53ae7665ea5675981cb98 100644 (file)
@@ -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