Re: Renaming vec_step in tree-vect-loop.c (to fix build on powerpc/clang)

2019-07-20 Thread Segher Boessenkool
On Sat, Jul 20, 2019 at 12:33:16PM -0400, David Edelsohn wrote: > On Sat, Jul 20, 2019 at 2:39 AM Gerald Pfeifer wrote: > > > > I have seen an increasing number of reports of GCC failing to > > build with clang on powerpc (on FreeBSD, though that's probably > > immaterial). > > > > Turns out that

Re: Renaming vec_step in tree-vect-loop.c (to fix build on powerpc/clang)

2019-07-20 Thread David Edelsohn
On Sat, Jul 20, 2019 at 2:39 AM Gerald Pfeifer wrote: > > I have seen an increasing number of reports of GCC failing to > build with clang on powerpc (on FreeBSD, though that's probably > immaterial). > > Turns out that clang has vec_step as a reserved word on powerpc > with AltiVec. > > We OTOH u

Re: Renaming vec_step in tree-vect-loop.c (to fix build on powerpc/clang)

2019-07-20 Thread Richard Sandiford
Gerald Pfeifer writes: > I have seen an increasing number of reports of GCC failing to > build with clang on powerpc (on FreeBSD, though that's probably > immaterial). > > Turns out that clang has vec_step as a reserved word on powerpc > with AltiVec. > > We OTOH use vec_step s as a variable name

Renaming vec_step in tree-vect-loop.c (to fix build on powerpc/clang)

2019-07-19 Thread Gerald Pfeifer
I have seen an increasing number of reports of GCC failing to build with clang on powerpc (on FreeBSD, though that's probably immaterial). Turns out that clang has vec_step as a reserved word on powerpc with AltiVec. We OTOH use vec_step s as a variable name in gcc/tree-vect-loop.c. The best ap