[Bug tree-optimization/80397] missing -Wformat-overflow with arguments of enum types
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80397 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 months ago with Martin's change on the trunk.
[Bug tree-optimization/80397] missing -Wformat-overflow with arguments of enum types
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80397 Martin Sebor changed: What|Removed |Added Known to work||8.0 Known to fail||7.1.0 --- Comment #3 from Martin Sebor --- Fixed via r250106.
[Bug tree-optimization/80397] missing -Wformat-overflow with arguments of enum types
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80397 --- Comment #2 from Martin Sebor --- Author: msebor Date: Mon Jul 10 21:21:51 2017 New Revision: 250106 URL: https://gcc.gnu.org/viewcvs?rev=250106=gcc=rev Log: PR tree-optimization/80397 - missing -Wformat-overflow with arguments of enum types gcc/ChangeLog: PR tree-optimization/80397 * gimple-ssa-sprintf.c (format_integer): Use INTEGRAL_TYPE_P() instead of testing for equality to INTEGER_TYPE. gcc/testsuite/ChangeLog: PR tree-optimization/80397 * gcc.dg/tree-ssa/builtin-sprintf-warn-17.c: New test. Added: trunk/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-19.c Modified: trunk/gcc/ChangeLog trunk/gcc/gimple-ssa-sprintf.c trunk/gcc/testsuite/ChangeLog
[Bug tree-optimization/80397] missing -Wformat-overflow with arguments of enum types
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80397 Martin Sebor changed: What|Removed |Added Keywords||diagnostic, ||missed-optimization, patch Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2017-04-11 Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Sebor --- Patch: https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00547.html