https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127316
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> --- I also think the redeclaration is invalid. So structural_comptypes wrongly thinks they are structurally equivalent.
mpolacek at gcc dot gnu.org via Gcc-bugs Thu, 10 Sep 2026 10:57:35 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127316
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> --- I also think the redeclaration is invalid. So structural_comptypes wrongly thinks they are structurally equivalent.