[Bug bootstrap/97163] Build error with -mcpu=power9 on ppc64
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 22 13:17:34 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97163
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org,
| |segher at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Guess we need something like:
-#elif defined(_ARCH_PWR8) && defined(__ALTIVEC__)
+#elif (GCC_VERSION >= 4005) && defined(_ARCH_PWR8) && defined(__ALTIVEC__)
in libcpp/lex.c if clang doesn't support the altivec attribute and the
builtins.
More information about the Gcc-bugs
mailing list