https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92935
--- Comment #2 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- The need to drop qualifiers in typeof in some cases with _Atomic results from the stdatomic.h implementation, where it is necessary to define temporaries with the corresponding non-atomic, non-volatile type to a macro argument.