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

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
But we already ignore non-existing directories passed via -I. So yes both
EACCES and ENOTDIR should be added.

Note we do warn about the case where it is not a directory:
```
[apinski@xeond2 tt]$ touch trttt
[apinski@xeond2 tt]$ gcc -Itrttt file.c
cc1: warning: trttt: not a directory
```

Reply via email to