https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111163
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- We could also just have a "can_hh_mm_ss" check, as I think we use hh_mm_ss in most places where we do these conversations. Then we would just check once, not on every cast. I don't think we want to change the conversions inside the hh_mm_ss constructor