[Bug middle-end/116788] Relative sysroot and -save-temps don't play nicely

2024-09-26 Thread w.steinwender at freenet dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116788 --- Comment #7 from w.steinwender at freenet dot de --- Compilation with -save-temps works if EACCES and ENOTDIR is added to the list after if. cc1 -v reports "ignoring nonexistent directory". Maybe remove_duplicates() should return different re

[Bug middle-end/116788] Relative sysroot and -save-temps don't play nicely

2024-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116788 Andrew Pinski changed: What|Removed |Added Component|preprocessor|middle-end --- Comment #5 from Andrew P

[Bug middle-end/116788] Relative sysroot and -save-temps don't play nicely

2024-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116788 --- Comment #6 from Andrew Pinski --- 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