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/84919] [8 Regression] error: passing argument 1 to restrict-qualified parameter aliases with argument 5 [-Werror=restrict]


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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Not aware of any right now, but 1) if the format string is not compile time
known, we don't know if it is %p or not 2) the format string parsing is done in
other passes (-Wformat code in FEs, and gimple-ssa-sprintf.c) compared to the
restrict warning.

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