Re: [PATCH] Fix driver/33980: Precompiled header file not removed on error

2023-05-19 Thread Jeff Law via Gcc-patches
On 5/19/23 08:48, Andrew Pinski via Gcc-patches wrote: So the problem here is that in the spec files, we were not marking the pch output file to be removed on error. The way to fix this is to mark the --output-pch argument as the output file argument. For the C++ specs file, we had to move aro

[PATCH] Fix driver/33980: Precompiled header file not removed on error

2023-05-19 Thread Andrew Pinski via Gcc-patches
So the problem here is that in the spec files, we were not marking the pch output file to be removed on error. The way to fix this is to mark the --output-pch argument as the output file argument. For the C++ specs file, we had to move around where the %V was located such that it would be after the