[Bug tree-optimization/79800] [7 Regression] wrong snprintf result range with precision in a narrow negative-positive range
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79800 Jeffrey A. Law changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC||law at redhat dot com Resolution|--- |FIXED --- Comment #4 from Jeffrey A. Law --- Fixed by Martin's patch on the trunk.
[Bug tree-optimization/79800] [7 Regression] wrong snprintf result range with precision in a narrow negative-positive range
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79800 --- Comment #3 from Jeffrey A. Law --- Author: law Date: Wed Mar 15 04:31:27 2017 New Revision: 246151 URL: https://gcc.gnu.org/viewcvs?rev=246151=gcc=rev Log: PR tree-optimization/79800 * gimple-ssa-sprintf.c (format_floating: Add argument. Handle precision in negative-positive range. (format_floating): Call non-const overload with adjusted precision. PR tree-optimization/79800 * gcc.dg/tree-ssa/builtin-sprintf-warn-15.c: Add test cases. * gcc.dg/tree-ssa/pr79800.c: New test. Added: trunk/gcc/testsuite/gcc.dg/tree-ssa/pr79800.c Modified: trunk/gcc/ChangeLog trunk/gcc/gimple-ssa-sprintf.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-15.c
[Bug tree-optimization/79800] [7 Regression] wrong snprintf result range with precision in a narrow negative-positive range
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79800 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #2 from Martin Sebor --- Patch posted for review: https://gcc.gnu.org/ml/gcc-patches/2017-03/msg00687.html
[Bug tree-optimization/79800] [7 Regression] wrong snprintf result range with precision in a narrow negative-positive range
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79800 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Target Milestone|--- |7.0 Summary|wrong snprintf result range |[7 Regression] wrong |with precision in a narrow |snprintf result range with |negative-positive range |precision in a narrow ||negative-positive range