Re: [PATCH][C] Fix PR79756

2017-03-02 Thread Marek Polacek
On Thu, Mar 02, 2017 at 10:52:08AM +0100, Richard Biener wrote: > > Another case of missed TREE_ADDRESSABLE on vector indexing. > > Bootstrapped and tested on x86_64-unknown-linux-gnu. > > Ok for trunk? Ok (given what Joseph wrote in the PR and that c_fully_fold_internal handles VIEW_CONVERT_EX

[PATCH][C] Fix PR79756

2017-03-02 Thread Richard Biener
Another case of missed TREE_ADDRESSABLE on vector indexing. Bootstrapped and tested on x86_64-unknown-linux-gnu. Ok for trunk? 2017-03-02 Richard Biener PR c/79756 * c-common.c (c_common_mark_addressable_vec): Look through C_MAYBE_CONST_EXPR. * gcc.dg/vector