Allow embedded timestamps by C/C++ macros to be set externally (3)

Dhole dhole@openmailbox.org
Tue May 3 14:44:00 GMT 2016


On 16-04-18 15:04:58, Markus Trippelsdorf wrote:
> A nice follow-up patch would be to set SOURCE_DATE_EPOCH to the current
> time during -fcompare-debug. This would avoid false positives like:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70679

I've been working on a patch to implement that, but I can't manage to
reproduce the false positive from the link.  Maybe the test code I'm
using compiles too fast.  I'm not familiar with -fcompare-debug either.

Could you provide me some code with instructions to reproduce this false
positive, to see if my patch is working as expected?

-- 
Dhole
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160503/0dd3c642/attachment.sig>


More information about the Gcc-patches mailing list