Amend recent entry.
authorMartin Sebor <msebor@gcc.gnu.org>
Tue, 24 Jan 2017 01:22:59 +0000 (18:22 -0700)
committerMartin Sebor <msebor@gcc.gnu.org>
Tue, 24 Jan 2017 01:22:59 +0000 (18:22 -0700)
From-SVN: r244849

gcc/ChangeLog

index 1b0f2087d054753d9d628a7d1b025fcb3ac34e64..aa0f4f3477a438bd0a0f9782ce253fbf52a490ba 100644 (file)
@@ -15,6 +15,7 @@
        PR middle-end/78703
        * gimple-ssa-sprintf.c (struct format_result): Remove constant member.
        (struct fmtresult, format_integer, format_floating): Adjust.
+       (fmtresult::fmtresult): Set max correctly in two argument ctor.
        (get_string_length, format_string,format_directive): Same.
        (pass_sprintf_length::compute_format_length): Same.
        (try_substitute_return_value): Simplify slightly.