[Bug c++/79588] [7 Regression] ICE in warn_for_restrict with -Wrestrict

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Feb 18 18:03:00 GMT 2017


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I think the big question is if it isn't simply too early to warn at the place
you've added it, shouldn't it be done later on when the call arguments are
already complete?  E.g. do you warn properly for calls in templates where the
arguments might be type or value dependent and it is hard to figure out what
exactly they are?


More information about the Gcc-bugs mailing list