Thanks Andrew. Here's the updated patch, as checked in. This removes
one level of cruft WRT atomic configure-ness (leaving us with the most
primordial...).
tested x86/linux
tested x86/linux x arm-eabi
tested x86/linux x cris-elf
-benjamin
2011-11-30 Benjamin Kosnik
* acinclude.m4 (
On 11/28/2011 11:29 AM, Andrew MacLeod wrote:
> c-family
> * c-cpp-builtin.c (cpp_atomic_builtins):New. Emit all atomic
> predefines in one place. Add LOCK_FREE predefines.
> (c_cpp_builtins): Move Legacy HAVE_SYNC predefines to
> new func.
>
> libstdc++-v3
>
On 11/28/2011 11:42 AM, Joseph S. Myers wrote:
On Mon, 28 Nov 2011, Andrew MacLeod wrote:
That would be why cppbuiltin.c, defining __SIZEOF_POINTER__, needs to use
the POINTER_SIZE macro instead of directly using ptr_type_node. You may
need to do something similar.
/* ptr_type_node can't be
On Mon, 28 Nov 2011, Andrew MacLeod wrote:
> OK, here's a reworked patch. This bootstraps but there is a regression... one
> set of PCH tests fail in a very odd way. I've investigated it and it turns out
> that for some reason, ptr_type_node doesn't always have it size set if code
> isn't being
On 11/22/2011 03:48 PM, Joseph S. Myers wrote:
On Tue, 22 Nov 2011, Andrew MacLeod wrote:
It certainly does have those types, as typedefs defined in for
the same types as uint_least16_t and uint_least32_t. And is
also required to define ATOMIC_CHAR16_T_LOCK_FREE and
ATOMIC_CHAR32_T_LOCK_F
On Tue, 22 Nov 2011, Andrew MacLeod wrote:
> On 11/22/2011 10:32 AM, Joseph S. Myers wrote:
> > On Tue, 22 Nov 2011, Andrew MacLeod wrote:
> >
> > > C currently doesn't have a char16_t and char32_t, so they aren't defined
> > It certainly does have those types, as typedefs defined in for
> > the
On 11/22/2011 10:32 AM, Joseph S. Myers wrote:
On Tue, 22 Nov 2011, Andrew MacLeod wrote:
C currently doesn't have a char16_t and char32_t, so they aren't defined
It certainly does have those types, as typedefs defined in for
the same types as uint_least16_t and uint_least32_t. And is
also
On Tue, 22 Nov 2011, Andrew MacLeod wrote:
> C currently doesn't have a char16_t and char32_t, so they aren't defined
It certainly does have those types, as typedefs defined in for
the same types as uint_least16_t and uint_least32_t. And is
also required to define ATOMIC_CHAR16_T_LOCK_FREE a
On 11/21/2011 11:02 PM, Andrew MacLeod wrote:
Anyway, it looks like __atomic_always_lock_free doesn't fold early
enough to be usable by the preprocessor like that even with my earlier
version. ugg. I think I can get something defined in cpp-builtins
that we can use. We're going to need it
On 11/21/2011 09:29 PM, Benjamin Kosnik wrote:
Here's the first step in making the libstdc++ atomic configure bits into
something that makes more sense. This consolidates the builtin parts of
the configury, such that builtins mean C++11 atomics, not C++11 atomics
mixed with pre-C++11 atomics.
I
10 matches
Mail list logo