https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69769
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jwakely.gcc at gmail dot com, | |msebor at gcc dot gnu.org Component|c++ |libstdc++ --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- The <atomic> header is part of libstdc++ so setting Component to it. I agree that this should be rejected but I'm not sure that this isn't actually a defect in the standard. AFAICS, the partial specializations of atomic for pointers don't say that function pointers should be treated differently than object pointers. Jonathan, is there an issue on this (I may have overlooked int)?