]> gcc.gnu.org Git - gcc.git/commit - gcc/c-family/ChangeLog
re PR preprocessor/71183 (gcc -E always gives __DATE__ and __TIME__ as Jan 1 1970...
authorJakub Jelinek <jakub@redhat.com>
Mon, 13 Jun 2016 21:00:07 +0000 (23:00 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 13 Jun 2016 21:00:07 +0000 (23:00 +0200)
commitef7cf206b6f9fd93ac41393829f79164b8adad1b
tree3686274cc0338f29b9a7d53743d0921aa1aef2a7
parent755fa6662d06f5ab2f32043bab4728bbf654d29d
re PR preprocessor/71183 (gcc -E always gives __DATE__ and __TIME__ as Jan  1 1970 00:00:00)

PR preprocessor/71183
* c-ppoutput.c (init_pp_output): Set cb->get_source_date_epoch
to cb_get_source_date_epoch.

* gcc.dg/cpp/source_date_epoch-3.c: New test.

From-SVN: r237408
gcc/c-family/ChangeLog
gcc/c-family/c-ppoutput.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/source_date_epoch-3.c [new file with mode: 0644]
This page took 0.066128 seconds and 5 git commands to generate.