https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79078
--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Daniel Krügler from comment #9) > PR 61754 seems to be related. I think for the examples here it makes no difference if you use __attribute__((deprecated(""))) or [[deprecated("")]]