Re: [PATCH] Fix PR 19089: Environment variable TMP may yield gcc: abort

2021-11-29 Thread Richard Biener via Gcc-patches
On Mon, Nov 29, 2021 at 9:53 AM Richard Biener wrote: > > On Mon, Nov 29, 2021 at 1:42 AM Andrew Pinski via Gcc-patches > wrote: > > > > On Sun, Nov 28, 2021 at 12:14 PM Jeff Law via Gcc-patches > > wrote: > > > > > > > > > > > > On 11/27/2021 7:49 PM, apinski--- via Gcc-patches wrote: > > > >

Re: [PATCH] Fix PR 19089: Environment variable TMP may yield gcc: abort

2021-11-29 Thread Richard Biener via Gcc-patches
On Mon, Nov 29, 2021 at 1:42 AM Andrew Pinski via Gcc-patches wrote: > > On Sun, Nov 28, 2021 at 12:14 PM Jeff Law via Gcc-patches > wrote: > > > > > > > > On 11/27/2021 7:49 PM, apinski--- via Gcc-patches wrote: > > > From: Andrew Pinski > > > > > > Even though I cannot reproduce the ICE any

Re: [PATCH] Fix PR 19089: Environment variable TMP may yield gcc: abort

2021-11-28 Thread Andrew Pinski via Gcc-patches
On Sun, Nov 28, 2021 at 12:14 PM Jeff Law via Gcc-patches wrote: > > > > On 11/27/2021 7:49 PM, apinski--- via Gcc-patches wrote: > > From: Andrew Pinski > > > > Even though I cannot reproduce the ICE any more, this is still > > a bug. We check already to see if we can access the directory > >

Re: [PATCH] Fix PR 19089: Environment variable TMP may yield gcc: abort

2021-11-28 Thread Jeff Law via Gcc-patches
On 11/27/2021 7:49 PM, apinski--- via Gcc-patches wrote: From: Andrew Pinski Even though I cannot reproduce the ICE any more, this is still a bug. We check already to see if we can access the directory but never check to see if the path is actually a directory. This adds the check and now

[PATCH] Fix PR 19089: Environment variable TMP may yield gcc: abort

2021-11-27 Thread apinski--- via Gcc-patches
From: Andrew Pinski Even though I cannot reproduce the ICE any more, this is still a bug. We check already to see if we can access the directory but never check to see if the path is actually a directory. This adds the check and now we reject the file as not usable as a tmp directory. OK?