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/87879] -Wformat-nonliteral could see more things as literals


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

--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
You'd need dataflow information that's not available at that point in the 
front end to know that the initializer is indeed the value of fmt at that 
point in the code.

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