[Bug middle-end/78703] -fprintf-return-value floating point handling incorrect in locales with a mulltibyte decimal point
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 24 01:07:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78703
--- Comment #7 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Tue Jan 24 01:06:34 2017
New Revision: 244846
URL: https://gcc.gnu.org/viewcvs?rev=244846&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimple-ssa-sprintf.c
More information about the Gcc-bugs
mailing list