This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/84919] [8 Regression] error: passing argument 1 to restrict-qualified parameter aliases with argument 5 [-Werror=restrict]
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 19 Mar 2018 14:53:15 +0000
- Subject: [Bug c/84919] [8 Regression] error: passing argument 1 to restrict-qualified parameter aliases with argument 5 [-Werror=restrict]
- Auto-submitted: auto-generated
- References: <bug-84919-4@http.gcc.gnu.org/bugzilla/>
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.