https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102267
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Yes the problem is GCC is broken for all comparison of declarations.
pinskia at gcc dot gnu.org via Gcc-bugs Thu, 09 Sep 2021 18:42:10 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102267
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Yes the problem is GCC is broken for all comparison of declarations.