https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103612
--- Comment #2 from Pablo <pyaggi at gmail dot com> --- (In reply to Andrew Pinski from comment #1) > Dup of bug 101152 ? No, I don't think so. Here the problem is %y acts like %Y, it uses 4 digits of the input, and It doesn't produce an error even in the case where there is not enough digits to complete the parse.