https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79078
--- Comment #11 from Daniel Krügler <daniel.kruegler at googlemail dot com> --- (In reply to Jonathan Wakely from comment #10) > (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("")]] Oops, you are right, I was mislead!