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 c++/64629] [5 Regression] -Wformat-security warns with const char *const vars


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64629

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Jan 21 20:15:27 2015
New Revision: 219964

URL: https://gcc.gnu.org/viewcvs?rev=219964&root=gcc&view=rev
Log:
    PR c++/64629
    * c-format.c (check_format_arg): Call decl_constant_value.

Added:
    trunk/gcc/testsuite/g++.dg/warn/Wformat-1.C
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-format.c


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