https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728
--- Comment #54 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The notices are only for ABI of actually compiled code, so it depends on optimizations, if functions are inlined or optimized away, we don't report anything, so at -O0 when fewer functions are inlined and almost nothing is optimized away you can get more -Wpsabi notices.