This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH to -MD specs


On Fri, 11 Oct 2002 13:05:53 +0100, Neil Booth <neil@daikokuya.co.uk> wrote:

>> Another alternative would be to stop using %W for the .d files; deleting
>> them on failure is certainly wrong for *DEPENDENCIES*, and probably wrong
>> for the normal case, too; since we write out the file in a burst at the end
>> of compilation, interrupting compilation is unlikely to cause corrupted
>> output.  Tweaks to mkdeps.c could make it even less likely; if we spit
>> everything out with a single write, there should be no chance of
>> corruption.  What do you think?
>
> This seems to be simplest.  Does this do it for you?
>
> 	PR preprocessor/7862
> 	PR preprocessor/8190
> 	* gcc.c (cpp_unique_options): Don't delete .d files.
> 	Remove stray whitespace.

Yes, that fixes the primary bug.

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]