https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66066
--- Comment #13 from Marek Polacek <mpolacek at gcc dot gnu.org> --- I expect to have a proper fix (additional folding in c_fully_fold_internal) today or tomorrow, depends on how many issues I hit along the way (see e.g. PR66127). The tzdata issue seems to be being worked on, so I think the "pedantic" stopgap isn't needed right now.