This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/78703] -fprintf-return-value floating point handling incorrect in locales with a mulltibyte decimal point


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]