https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99974
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=99843 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Related to PR 99843 where there is a friend function declaration instead of just a local scope declaration of the function. But I suspect they are all the same issue where the merging of the attributes is lost.