This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 3/4] Miscellaneous 'safe' testsuite changes.
On Mon, 20 Feb 2017, Zack Weinberg wrote:
> I don't recall exactly what was wrong with atomic.h in _ISOMAC mode
> but I suspect it is not trivial to fix. I *could* just give up here
> and move tst-join7 to tests-internal, but if the "new policy" is to
> use C11 atomics, perhaps that is sufficient reason to bump the minimum
> version requirement to 4.9??
Policy for internal operations is to use operations matched to C11
semantics as far as possible; not necessarily the public <stdatomic.h>
interfaces or the __atomic_* built-in functions (in cases where that
brings in a libatomic dependency, that's not suitable for use in glibc,
but __atomic_*, which were introduced in GCC 4.7, may be used on
architectures where they don't involve problematic dependencies, and may
well be a sensible default to use on architectures where there isn't a
reason to do something different).
I'd be fine with increasing the minimum GCC version, although I don't
think there's that much conditional code to remove with an increase to
4.9.
--
Joseph S. Myers
joseph@codesourcery.com