[PATCH] typeof: Remove type qualifiers for atomic types

2014-06-25 Thread Sebastian Huber
GCC provides its own version of stdatomic.h since GCC 4.9. Here we have: #define atomic_load_explicit(PTR, MO)\ __extension__\ ({\ __auto_type __atomic_load_ptr = (PTR);\

Re: [PATCH] typeof: Remove type qualifiers for atomic types

2014-06-25 Thread Joseph S. Myers
On Wed, 25 Jun 2014, Sebastian Huber wrote: > 2014-06-25 Sebastian Huber > > * c-parser.c (c_parser_declaration_or_fndef): Discard all type > qualifiers in __auto_type for atomic types. > (c_parser_typeof_specifier): Discard all type qualifiers in > __typeof__ for atomi

Re: [PATCH] typeof: Remove type qualifiers for atomic types

2014-06-25 Thread Sebastian Huber
On 06/25/2014 05:56 PM, Joseph S. Myers wrote: On Wed, 25 Jun 2014, Sebastian Huber wrote: 2014-06-25 Sebastian Huber * c-parser.c (c_parser_declaration_or_fndef): Discard all type qualifiers in __auto_type for atomic types. (c_parser_typeof_specifier): Discard all t

Re: [PATCH] typeof: Remove type qualifiers for atomic types

2014-06-25 Thread Joseph S. Myers
On Wed, 25 Jun 2014, Sebastian Huber wrote: > On 06/25/2014 05:56 PM, Joseph S. Myers wrote: > > On Wed, 25 Jun 2014, Sebastian Huber wrote: > > > > > 2014-06-25 Sebastian Huber > > > > > > * c-parser.c (c_parser_declaration_or_fndef): Discard all type > > > qualifiers in __auto_type for