Re: [PATCH] Fix variant of PR60819

2014-04-14 Thread Jakub Jelinek
On Mon, Apr 14, 2014 at 11:41:39AM +0200, Richard Biener wrote: > Bootstrap/regtest pending on x86_64-unknown-linux-gnu, ok for trunk > and branches (after 4.9.0)? > > Thanks, > Richard. > > 2014-04-14 Richard Biener > Marc Glisse > > PR c/60819 > c-family/ > * c-com

Re: [PATCH] Fix variant of PR60819

2014-04-14 Thread Richard Biener
On Mon, 14 Apr 2014, Richard Biener wrote: > While digging in PR60819 (and thinking whether the original testcase > is valid) we figured that a clearly valid testcase is miscompiled > as well. That's because of the C/C++ frontends implementation of > vector indexing by decaying the vector to a el

[PATCH] Fix variant of PR60819

2014-04-14 Thread Richard Biener
While digging in PR60819 (and thinking whether the original testcase is valid) we figured that a clearly valid testcase is miscompiled as well. That's because of the C/C++ frontends implementation of vector indexing by decaying the vector to a element pointer. The helper for that fails to apply