[Bug c/71719] [7 Regression] invalid set-but-not-used warning with vectors

2016-07-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71719 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/71719] [7 Regression] invalid set-but-not-used warning with vectors

2016-07-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71719 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Sat Jul 2 06:41:29 2016 New Revision: 237937 URL: https://gcc.gnu.org/viewcvs?rev=237937&root=gcc&view=rev Log: PR c/71719 * c-typeck.c (mark_exp_read): Handle VIEW_CONVE

[Bug c/71719] [7 Regression] invalid set-but-not-used warning with vectors

2016-07-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71719 --- Comment #2 from Jakub Jelinek --- Created attachment 38813 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38813&action=edit gcc7-pr71719.patch Untested fix.