[C PATCH] Fix -Wunused-but-set-* on __builtin_shuffle (PR c/52577)

2012-03-13 Thread Jakub Jelinek
Hi! We weren't calling mark_exp_read on these and thus we got false positive -Wunused-but-set-* warnings. Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk/4.7.1? For trunk we should add __builtin_shuffle support even for C++ I'd say. 2012-03-13 Jakub Jelinek

Re: [C PATCH] Fix -Wunused-but-set-* on __builtin_shuffle (PR c/52577)

2012-03-13 Thread Joseph S. Myers
On Tue, 13 Mar 2012, Jakub Jelinek wrote: > 2012-03-13 Jakub Jelinek > > PR c/52577 > * c-parser.c (c_parser_postfix_expression) > : Call mark_exp_read on argument values. > > * gcc.dg/Wunused-var-3.c: New test. OK. -- Joseph S. Myers jos...@codesourcery.com