I realised that the C11 atomics changes didn't do anything to record atomic types as such in DWARF debug info - then found that DWARF4 didn't provide a way to specify the C11 _Atomic qualifier at all. Could someone working with the DWARF committee get an appropriate tag into the next version of DWARF?
(I've filed bug 59051 for the lack of use of DW_tag_restrict_type for restricted pointers.) -- Joseph S. Myers jos...@codesourcery.com