Re: [PATCH] Use c_getstr to get the format string in gimple-ssa-sprintf.c

2018-08-21 Thread Richard Biener
On Mon, 20 Aug 2018, Bernd Edlinger wrote: > Hi, > > > this simplifies get_format_string in gimple-ssa-sprintf.c > to use c_getstr. > > > Bootstrapped and reg-tested on x86_64-pc-linux-gnu. > Is it OK for trunk? OK. Thanks, Richard.

[PATCH] Use c_getstr to get the format string in gimple-ssa-sprintf.c

2018-08-20 Thread Bernd Edlinger
Hi, this simplifies get_format_string in gimple-ssa-sprintf.c to use c_getstr. Bootstrapped and reg-tested on x86_64-pc-linux-gnu. Is it OK for trunk? Thanks Bernd. 2018-08-21 Bernd Edlinger * gimple-ssa-sprintf.c (decl_constant_value): Remove. (get_format_string): Refer to c_getstr. d