https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109485
--- Comment #9 from Dani Borg ---
(In reply to Andrew Pinski from comment #5)
> Note I think clang's "optimization" might get the case where a subdirectory
> is not "executable" but is readable wrong.
>
> So this is definitely something which w
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109485
--- Comment #8 from Dani Borg ---
(In reply to Andrew Pinski from comment #3)
> Also I really doubt the improvement here is less than 1% improvement really
> for the common case where people don't put pathes in the include line.
Yes, it really
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109485
--- Comment #7 from Dani Borg ---
(In reply to Andrew Pinski from comment #2)
> Also does it work with Windows style pathes?
> I am suspecting clang does not do the right thing there ...
I don't know much about Windows path handling, so I can't
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109485
--- Comment #6 from Dani Borg ---
(In reply to Andrew Pinski from comment #1)
> Is this even valid with NFS?
My knowledge of different file systems is limited, but I think checking the
presence of a directory should be as valid on NFS as most o
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109485
Bug ID: 109485
Summary: Feature request: More efficient include path handling
Product: gcc
Version: 12.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Com