[Bug c/88582] GCC does not unqualify return types in the case of _Atomic qualified return type.

anders.granlund.0 at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Dec 31 11:13:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88582

Anders Granlund <anders.granlund.0 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #3 from Anders Granlund <anders.granlund.0 at gmail dot com> ---
Probably a defect in the standard.

The behaviour seems reasonable since the  _Atomic  type qualifier is different
from the other type qualifiers in that it may change the size, represenation
and alignment of a type.


More information about the Gcc-bugs mailing list