diff options
Diffstat (limited to 'gcc/tree-ssa-loop-niter.c')
-rw-r--r-- | gcc/tree-ssa-loop-niter.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gcc/tree-ssa-loop-niter.c b/gcc/tree-ssa-loop-niter.c index 269a2ba86a3..d5eaa33e3ee 100644 --- a/gcc/tree-ssa-loop-niter.c +++ b/gcc/tree-ssa-loop-niter.c @@ -2362,13 +2362,9 @@ number_of_iterations_exit (struct loop *loop, edge exit, return true; if (warn) - { - const char *wording; - - wording = N_("missed loop optimization, the loop counter may overflow"); - warning_at (gimple_location_safe (stmt), - OPT_Wunsafe_loop_optimizations, "%s", gettext (wording)); - } + warning_at (gimple_location_safe (stmt), + OPT_Wunsafe_loop_optimizations, + "missed loop optimization, the loop counter may overflow"); return false; } |