This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C/C++ PATCH to add __remove_qualifiers (PR c/65455, c/39985)
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Marek Polacek <polacek at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Jason Merrill <jason at redhat dot com>
- Date: Thu, 31 Aug 2017 16:38:27 +0000
- Subject: Re: C/C++ PATCH to add __remove_qualifiers (PR c/65455, c/39985)
- Authentication-results: sourceware.org; auth=none
- References: <20170831152515.GR17069@redhat.com>
I think the documentation needs to say (and the tests need to test) that
this produces a non-atomic type (like lvalue-to-rvalue conversion), if
that's the intent for how it handles atomic types, since _Atomic is
syntactically a qualifier but largely not treated like one in the
standard.
--
Joseph S. Myers
joseph@codesourcery.com