On 20 May 2019 12:31:46 CEST, Richard Biener <rguent...@suse.de> wrote:
> >So the following is what I have applied. Typo in the guard? s/GCC_VEC_PERN_INDICES_H/GCC_VEC_PERM_INDICES_H/ ? I.e. not pern but perm, with an 'M' thanks, >Bootstrapped / tested on x86_64-unknown-linux-gnu. > >Richard. > >2019-05-20 Richard Biener <rguent...@suse.de> > > * gimple-match-head.c: Include vec-perm-indices.h. > * generic-match-head.c: Likewise. > * fold-const.h (fold_vec_perm): Declare when vec-perm-indices.h > is included. >Index: gcc/fold-const.h >=================================================================== >--- gcc/fold-const.h (revision 271320) >+++ gcc/fold-const.h (working copy) >@@ -100,6 +100,9 @@ extern tree fold_bit_and_mask (tree, tre > tree, enum tree_code, tree, tree, > tree, enum tree_code, tree, tree, tree *); > extern tree fold_read_from_constant_string (tree); >+#if GCC_VEC_PERN_INDICES_H >+extern tree fold_vec_perm (tree, tree, tree, const vec_perm_indices >&); >+#endif