[Bug preprocessor/71183] [7 Regression] gcc -E always gives __DATE__ and __TIME__ as Jan 1 1970 00:00:00
jrtc27 at jrtc27 dot com
gcc-bugzilla@gcc.gnu.org
Sun Jun 12 23:22:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71183
--- Comment #8 from James Clarke <jrtc27 at jrtc27 dot com> ---
(In reply to Jakub Jelinek from comment #7)
> Created attachment 38691 [details]
> gcc7-pr71183.patch
>
> Not fundamentally flawed, just one line omitted.
> Untested patch that should fix this.
Apologies for my comment. I'm sure there are valid technical reasons for why
the SOURCE_DATE_EPOCH logic is outside of libcpp that I'm not aware of.
More information about the Gcc-bugs
mailing list