Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu.
Pushed to trunk as r15-5699-g67458ea13895ba.
gcc/ChangeLog:
PR translation/80760
* tree-ssa-loop-prefetch.cc (pass_loop_prefetch::execute): Add
missing colon to not-a-power-of-two param warning.
gcc/testsuite/ChangeLog:
PR translation/80760
* gcc.dg/tree-ssa/pr79803.c: Add ':' to expected warning.
Signed-off-by: David Malcolm <[email protected]>
---
gcc/testsuite/gcc.dg/tree-ssa/pr79803.c | 2 +-
gcc/tree-ssa-loop-prefetch.cc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr79803.c
b/gcc/testsuite/gcc.dg/tree-ssa/pr79803.c
index 3b475fa67494..102fb76e2737 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/pr79803.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr79803.c
@@ -13,7 +13,7 @@ void raise0(void)
__builtin_longjmp (buf, 1);
}
-int execute(int cmd) /* { dg-warning "'l1-cache-size' parameter is not a power
of two 3" } */
+int execute(int cmd) /* { dg-warning "'l1-cache-size' parameter is not a power
of two: 3" } */
{
int last = 0;
diff --git a/gcc/tree-ssa-loop-prefetch.cc b/gcc/tree-ssa-loop-prefetch.cc
index 56233f7c43c2..b587b68974f3 100644
--- a/gcc/tree-ssa-loop-prefetch.cc
+++ b/gcc/tree-ssa-loop-prefetch.cc
@@ -2104,7 +2104,7 @@ pass_loop_prefetch::execute (function *fun)
if (!warned)
{
warning (OPT_Wdisabled_optimization,
- "%<l1-cache-size%> parameter is not a power of two %d",
+ "%<l1-cache-size%> parameter is not a power of two: %d",
PREFETCH_BLOCK);
warned = true;
}
--
2.26.3