https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108108

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Jürg Billeter from comment #5)
> Created attachment 62817 [details]
> Proposed patch
> 
> The incomplete dependency output causes issues with recc¹ with at least one
> project² that has multiple identical header files (dummy files that are
> practically empty except for `#pragma once`).
> 
> The attached patch fixes the issue by also comparing `st_dev` and `st_ino`
> in addition to `st_mtime` and contents. This seems like a simple improvement
> to me and shouldn't change the behavior with regards to symlinks and
> hardlinks.

Except some hosts (file systems) don't support hard or symlinks so what is
considered the same file is if they contain the same contents.
So again no this is changing behavior.

Reply via email to