[Bug 239266] clang poisons namespace on powerpc by defining vec_step without any trigger (GCC fails to build: tree-vect-loop.c:4979:12: error: expected unqualified-id)

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 29 Oct 2021 20:52:21 UTC

--- Comment #36 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
I no longer have access to powerpc* contexts but based on
comments #12 and comment #13 and comment #14 I wonder if
builds with both Altivec and OpenCL support disabled would
still define vec_step and so get the problem (if such
disabling of both is possible).

If there are not both of the disables, then an alternative
might be targeting powerpc variants that do not have Altivec
and seeing if vec_step is still a problem.

If vec_step is still defined (and so a problem) then "no
trigger" would seem to be right. Otherwise the issue would
seem to be specific to Altivec/OpenCL support and so more
localized. (Somewhat of a "trigger".)

You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.