On Sat, Jul 20, 2019 at 2:39 AM Gerald Pfeifer <ger...@pfeifer.com> 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 use vec_step s as a variable name in gcc/tree-vect-loop.c.
>
>
> The best approach I can see is to rename vec_step.  Before I prepare
> a patch: what alternate name/spelling would you prefer?

vec_step is not defined in any of the PowerPC ABIs nor the Altivec
PEM/PIM.  Clang is not using a namespace reserved to the compiler by
defining vec_step.  The PowerPC maintainers in the Clang community are
not willing to rectify this?

Thanks, David

Reply via email to