https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92717
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I don't think this is a bug, __DATE__ is one of the predefined macros and I think it is included in GCC's precompiled headers. Really ccache is broken anyways. >As builds of regular C(++) files are deterministic (as expected) Try using __DATE__ macro and you will see it is not :).