Re: [PATCH] gcc/file-prefix-map: Fix NULL filename handling

2022-11-05 Thread Richard Biener via Gcc-patches
On Fri, Nov 4, 2022 at 6:26 PM Richard Purdie via Gcc-patches wrote: > > e5c15eb183f17e806ad6b58c9497321ded87866f introduced a regression as > some ada tests end up passing NULL as the filename to remap_filename(). > Handle this as before to fix the tests. OK. > gcc/ChangeLog: > > * file-prefix-

[PATCH] gcc/file-prefix-map: Fix NULL filename handling

2022-11-04 Thread Richard Purdie via Gcc-patches
e5c15eb183f17e806ad6b58c9497321ded87866f introduced a regression as some ada tests end up passing NULL as the filename to remap_filename(). Handle this as before to fix the tests. gcc/ChangeLog: * file-prefix-map.cc (remap_filename): Handle NULL filenames. Signed-off-by: Richard Purdie --- gcc