This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Tue, 22 Nov 2011, Andrew MacLeod wrote:but there isn't a stdatomic.h until we support C1x right? didnt we bail on that last release until things were more settled? I just presumed that those types are part of C1x and then fix it all up for C1x support in the next release since I don't think we are yet.
C currently doesn't have a char16_t and char32_t, so they aren't definedIt certainly does have those types, as typedefs defined in<uchar.h> for the same types as uint_least16_t and uint_least32_t. And<stdatomic.h> is also required to define ATOMIC_CHAR16_T_LOCK_FREE and ATOMIC_CHAR32_T_LOCK_FREE.
hmm, yeah I was thinking that file was compiled for the target, so it would work. Guess its a host file so I do need to look at the nodes instead:-PYour code in c-cppbuiltin.c appears to be using sizeof applied to *host* types, which is definitely wrong. You need to examine the precision of the relevant tree nodes.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |