https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110075
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 Last reconfirmed| |2024-01-19 --- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Confirmed, thanks for reporting. I'm not certain I can devise a fix, but maybe a new attribute to suppress the warning would help. Like in bug 109642 as mentioned.