This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50593] [C++0x] improve __attribute__((format(printf)))
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 15 Oct 2011 21:16:47 +0000
- Subject: [Bug c++/50593] [C++0x] improve __attribute__((format(printf)))
- Auto-submitted: auto-generated
- References: <bug-50593-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50593
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2011-10-15 21:16:47 UTC ---
Seems like it's a matter of changing check_format_arg to call a more general
front-end interface than decl_constant_value, one that could accept an
arbitrary expression rather than just a decl, and would call
maybe_constant_value.