https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107380
--- Comment #1 from anlauf at gcc dot gnu.org --- Very likely a duplicate. There is a known issue when an attribute of a class variable is given after the declaration.
anlauf at gcc dot gnu.org via Gcc-bugs Mon, 24 Oct 2022 12:20:19 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107380
--- Comment #1 from anlauf at gcc dot gnu.org --- Very likely a duplicate. There is a known issue when an attribute of a class variable is given after the declaration.