]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR middle-end/78703 - -fprintf-return-value floating point handling incorrect...
authorMartin Sebor <msebor@redhat.com>
Tue, 24 Jan 2017 01:06:34 +0000 (01:06 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Tue, 24 Jan 2017 01:06:34 +0000 (18:06 -0700)
commita151e93b2bf042c44d37044e887ebfaf038c2a73
treee3002395cfa36dad8f15318a09ccddcac58e38b5
parent954b452ada953bcbc8d2f9ee802dfd74df079f8d
PR middle-end/78703 - -fprintf-return-value floating point handling incorrect...

PR middle-end/78703 - -fprintf-return-value floating point handling incorrect in locales with a mulltibyte decimal point
* gimple-ssa-sprintf.c (struct format_result): Remove constant member.
(struct fmtresult, format_integer, format_floating): Adjust.
(get_string_length, format_string,format_directive): Same.
(pass_sprintf_length::compute_format_length): Same.
(try_substitute_return_value): Simplify slightly.

From-SVN: r244846
gcc/ChangeLog
gcc/gimple-ssa-sprintf.c