https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64955
David Malcolm changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64955
--- Comment #6 from David Malcolm ---
Author: dmalcolm
Date: Mon Aug 8 22:50:47 2016
New Revision: 239260
URL: https://gcc.gnu.org/viewcvs?rev=239260&root=gcc&view=rev
Log:
c-format.c: suggest the correct format string to use (PR c/64955)
This
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64955
David Malcolm changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64955
--- Comment #4 from Manuel López-Ibáñez ---
For what is worth, Clang is already doing this:
prog.cc:5:19: warning: format specifies type 'int' but the argument has type
'long long' [-Wformat]
printf ("%i\n", ll);
~~ ^~
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64955
Martin Sebor changed:
What|Removed |Added
CC||msebor at gcc dot gnu.org
--- Comment #3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64955
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64955
Manuel López-Ibáñez changed:
What|Removed |Added
Keywords||diagnostic
Status|UNCO
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64955
David Malcolm changed:
What|Removed |Added
Severity|normal |enhancement