https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121305
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> --- >(The only way to suppress the warning for naked function on gcc is to either >use a pragma around the function or mark each paramater __attribute((unused))). Or remove the name of the arguments which is supported in GNU C since GCC 11 and is part of C23 standard.