https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81518
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- There is not enough context to see if f violates the const attribute rules or not. The argument could be unused.