aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2025-04-30 16:50:17 -0400
committerDavid Malcolm <dmalcolm@redhat.com>2025-04-30 16:50:17 -0400
commit49d2c6ced2c894a8fe21ec0a21c1458cb3086ee8 (patch)
treed8da236b0180cf3927281ed4a9a42df60c698011 /gcc
parente504a59bd149f8def875f8924db8fa0c2a164c11 (diff)
downloadgcc-49d2c6ced2c894a8fe21ec0a21c1458cb3086ee8.zip
gcc-49d2c6ced2c894a8fe21ec0a21c1458cb3086ee8.tar.gz
gcc-49d2c6ced2c894a8fe21ec0a21c1458cb3086ee8.tar.bz2
prime-paths.cc: remove redundant semicolons
Fixes a couple of pedantic warnings. gcc/ChangeLog: * prime-paths.cc (limit_checked_add): Remove redundant trailing ';'. (enters_through_p): Likewise. Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc')
-rw-r--r--gcc/prime-paths.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/prime-paths.cc b/gcc/prime-paths.cc
index cde630c..838343c 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