This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/81193] PowerPC GCC __builtin_cpu_is and __builtin_cpu_supports should warn about old libraries
- From: "meissner at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 27 Jun 2017 22:11:35 +0000
- Subject: [Bug target/81193] PowerPC GCC __builtin_cpu_is and __builtin_cpu_supports should warn about old libraries
- Auto-submitted: auto-generated
- References: <bug-81193-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81193
--- Comment #9 from Michael Meissner <meissner at gcc dot gnu.org> ---
Well in theory we could add yet another switch to enable/disable the warning,
but we have too many switches as it is.
Note, I've put a warning in my development version of the target_clones
patches, and I think I will keep it (my warning is only if you try to use
target_clones on an old system).
We probably should update the gcc documentation to mention this restriction.
Most users won't be able to use __builtin_cpu_<xxx> until their distro updates
to a new glibc (i.e. years). The Advance Toolchain users will be to use it.