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

--- Comment #6 from Samuel Thibault <samuel.thiba...@ens-lyon.org> ---
Well, yes and no: -Wrestrict does indeed warn about this in gcc 7 now, but
-Wall -Wextra does not contain -Wrestrict, so that makes it almost useless.

Is there a reason for not including -Wrestrict in at least -Wextra (I'd even
argue for -Wall because it's really sure that there is a bug in code doing
this)

Reply via email to