This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/71851] Get more time granularity at preprocessing
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 13 Jul 2016 16:34:34 +0000
- Subject: [Bug preprocessor/71851] Get more time granularity at preprocessing
- Auto-submitted: auto-generated
- References: <bug-71851-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71851
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Daniel Gutson from comment #5)
> This macro would change break reproduceability as much as __TIME__ does.
__TIME__ is now being warned on if requested (-Wdate-time), and can be changed
through environment variables - SOURCE_DATE_EPOCH env var - and for
-fcompare-debug SOURCE_DATE_EPOCH is set by the driver for both invocations the
same.
So, as you can see, there is a strong shift away from __DATE__/__TIME__.