[Bug c/35503] Warning about restricted pointers?

2017-06-21 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35503 --- Comment #7 from Martin Sebor --- I don't think the current implementation of the warning is prone to false positives so it seems that it could safely be included it in -Wall. Unfortunately, the overly simplistic implementation makes it prone

[Bug c/35503] Warning about restricted pointers?

2017-02-18 Thread samuel.thiba...@ens-lyon.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35503 --- Comment #6 from Samuel Thibault --- 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 l

[Bug c/35503] Warning about restricted pointers?

2017-02-18 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35503 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #5

[Bug c/35503] Warning about restricted pointers?

2017-02-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35503 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #4

[Bug c/35503] Warning about restricted pointers?

2016-11-13 Thread prathamesh3492 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35503 --- Comment #3 from prathamesh3492 at gcc dot gnu.org --- Author: prathamesh3492 Date: Sun Nov 13 19:38:36 2016 New Revision: 242366 URL: https://gcc.gnu.org/viewcvs?rev=242366&root=gcc&view=rev Log: 2016-11-13 Prathamesh Kulkarni PR

[Bug c/35503] Warning about restricted pointers?

2009-11-26 Thread scovich at gmail dot com
--- Comment #2 from scovich at gmail dot com 2009-11-27 07:45 --- I've also run into this. Perhaps the machinery which tracks strict aliasing (and generates best-effort warnings) could be used here? ... adding this comment instead of filing a duplicate :P -- scovich at gmail dot com

[Bug c/35503] Warning about restricted pointers?

2009-06-25 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-06-25 11:15 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug c/35503] Warning about restricted pointers?

2008-05-04 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement Keywords||diagnosti