[Bug other/78678] possibly missing -Warray-bounds warning

2017-05-02 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78678 --- Comment #8 from rguenther at suse dot de --- On Tue, 2 May 2017, marxin at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78678 > > Martin Liška changed: > >What|Removed |Added >

[Bug other/78678] possibly missing -Warray-bounds warning

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

[Bug other/78678] possibly missing -Warray-bounds warning

2017-05-02 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78678 --- Comment #6 from rguenther at suse dot de --- On Tue, 2 May 2017, marxin at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78678 > > --- Comment #5 from Martin Liška --- > I see, but what about comparing the access to

[Bug other/78678] possibly missing -Warray-bounds warning

2017-05-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78678 --- Comment #5 from Martin Liška --- I see, but what about comparing the access to TYPE_SIZE of a variable: diff --git a/gcc/gimple-fold.c b/gcc/gimple-fold.c index 5ebdcdfd796..d493b27f536 100644 --- a/gcc/gimple-fold.c +++ b/gcc/gimple-fold.c

[Bug other/78678] possibly missing -Warray-bounds warning

2017-05-02 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78678 --- Comment #4 from rguenther at suse dot de --- On Tue, 2 May 2017, marxin at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78678 > > Martin Liška changed: > >What|Removed |Added >

[Bug other/78678] possibly missing -Warray-bounds warning

2017-05-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78678 --- Comment #3 from Martin Liška --- Created attachment 41297 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41297&action=edit reduced test-case

[Bug other/78678] possibly missing -Warray-bounds warning

2017-05-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78678 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug other/78678] possibly missing -Warray-bounds warning

2016-12-05 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78678 --- Comment #1 from Christophe Lyon --- Created attachment 40245 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40245&action=edit proprocessed source file from linux/drivers/video/fbdev/aty/atyfb_base.c, compressed