On Fri, Feb 24, 2017 at 09:44:44PM +0100, Jakub Jelinek wrote: > After hinting Marek to use const char *const in his G_ addition patch, > I've grepped for other similar cases. The number_of_iterations_exit > code doesn't make sense after we ended up (change from 6.x) with > only a single wording, and in the C++ FE the addition of const allows > -Wformat to see those format strings. > > Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? > > 2017-02-24 Jakub Jelinek <ja...@redhat.com> > > * tree-ssa-loop-niter.c (number_of_iterations_exit): Simplify warning. > cp/ > * call.c (build_op_delete_call): Make msg1 and msg2 const.
Committed as obvious. Jakub