On Tue, Jul 27, 2021 at 04:06:39PM -0500, will schmidt wrote: > On Thu, 2021-06-17 at 10:19 -0500, Bill Schmidt via Gcc-patches wrote: > > +#else > > + warning (0, "builtin %qs needs GLIBC (2.23 and newer) that exports > > hardware " > > + "capability bits", rs6000_builtin_info_x[(size_t) fcode].bifname); > > + > > This seems OK. > It appears to comply with the documentation at least :-) > "If GCC was configured to use a GLIBC before 2.23, the built-in > function __builtin_cpu_is always returns a 0 and the compiler > issues a warning."
Yup. And we still (have to) support older glibc versions, since various distros ship with something older (2.23 is only 5 years old). Segher