Wow, that's a weird GCC bug. Thanks for diagnosing it, and your fix looks good. AFter the GCC folks fix it, we can update mktime.c to use the pragma on sufficiently-new GCC versions.
- mktime.c compilation error on Solaris 11 Bruno Haible
- Re: mktime.c compilation error on Solaris 11 Paul Eggert
- Re: mktime.c compilation error on Solaris 11 Bruno Haible