Re: [PATCH] Map filename from print in gfortran with -ffile-prefix-map (PR96069)

2020-07-28 Thread Yichao Yu via Gcc-patches
> >>> I think this remapping should happen with `file-prefix-map` but > >>> shouldn't with `debug-prefix-map` (though if it happens for both it's > >>> also not too bad) and I believe this patch is the minimum change to > >>> achieve that. I think it makes sense to make this follow > >>> `macro-pre

Re: [PATCH] Map filename from print in gfortran with -ffile-prefix-map (PR96069)

2020-07-28 Thread Thomas Koenig via Gcc-patches
Hi Yichao, Forwarding to fort...@gcc.gnu.org as suggested by Dominique d'Humieres. On Sun, Jul 5, 2020 at 9:29 PM Yichao Yu wrote: I think this remapping should happen with `file-prefix-map` but shouldn't with `debug-prefix-map` (though if it happens for both it's also not too bad) and I be

Re: [PATCH] Map filename from print in gfortran with -ffile-prefix-map (PR96069)

2020-07-28 Thread Yichao Yu via Gcc-patches
> > > I think this remapping should happen with `file-prefix-map` but > > > shouldn't with `debug-prefix-map` (though if it happens for both it's > > > also not too bad) and I believe this patch is the minimum change to > > > achieve that. I think it makes sense to make this follow > > > `macro-pre

Re: [PATCH] Map filename from print in gfortran with -ffile-prefix-map (PR96069)

2020-07-08 Thread Yichao Yu via Gcc-patches
Forwarding to fort...@gcc.gnu.org as suggested by Dominique d'Humieres. On Sun, Jul 5, 2020 at 9:29 PM Yichao Yu wrote: > > > I think this remapping should happen with `file-prefix-map` but > > shouldn't with `debug-prefix-map` (though if it happens for both it's > > also not too bad) and I belie

Re: [PATCH] Map filename from print in gfortran with -ffile-prefix-map (PR96069)

2020-07-05 Thread Yichao Yu via Gcc-patches
> I think this remapping should happen with `file-prefix-map` but > shouldn't with `debug-prefix-map` (though if it happens for both it's > also not too bad) and I believe this patch is the minimum change to > achieve that. I think it makes sense to make this follow > `macro-prefix-map` although I'

[PATCH] Map filename from print in gfortran with -ffile-prefix-map (PR96069)

2020-07-05 Thread Yichao Yu via Gcc-patches
Sorry I think I accidentally had rich text mode on and also forgot the `[PATCH]` in the title in the previous email... Try again... Currently this is using the macro prefix map without allowing the -fmacro-prefix-map argument, which is arguably pretty weird... but I don't know what would be a bett