Fixes a couple of pedantic warnings.
Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu.
Pushed to trunk as r16-315-g49d2c6ced2c894.
gcc/ChangeLog:
* prime-paths.cc (limit_checked_add): Remove redundant trailing
';'.
(enters_through_p): Likewise.
---
gcc/prime-paths.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/prime-paths.cc b/gcc/prime-paths.cc
index cde630cb5e0..838343c8427 100644
--- a/gcc/prime-paths.cc
+++ b/gcc/prime-paths.cc
@@ -53,7 +53,7 @@ limit_checked_add (size_t approx)
{
approx_limit -= approx < approx_limit ? approx : approx_limit;
return approx_limit == 0;
-};
+}
/* Check if adding APPROX would exceed the path limit. This is necessary when
(pessimistically counted) trie insertions would exceed the limit and yields
@@ -1061,7 +1061,7 @@ enters_through_p (const struct graph *cfg, const vec<int>
&path, int vertex)
if (cfg->vertices[last].component == cfg->vertices[vertex].component)
return false;
return edge_p (cfg, last, vertex);
-};
+}
/* Worker for scc_entry_prime_paths. CFG is the CFG for the function,
SCC_ENTRY_PATHS the accumulated scc_entry_paths for all the SCCs,
PRIME_PATHS
--
2.26.3