https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121907
--- Comment #4 from Joseph S. Myers <jsm28 at gcc dot gnu.org> --- Implicit int etc are of course only errors by default for standards lacking those features. If a future standard makes certain uses of auto invalid, at that point we could consider whether they should be pedwarn-if-pedantic, pedwarn-by-default or error-by-default in those future standard modes.