[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] depcomp and gcc3 still not safe enough
From: |
Tom Tromey |
Subject: |
Re: [PATCH] depcomp and gcc3 still not safe enough |
Date: |
17 Feb 2001 18:40:20 -0700 |
>>>>> "Hari" == Raja R Harinath <address@hidden> writes:
Hari> GCC 3.0 doesn't still exactly implement exactly what 'depcomp'
Hari> wants.
Bummer.
Hari> I don't know if this a GCC bug. I'm assuming it's not -- it
Hari> makes sense to clean up if the compile fails; the compiler
Hari> doesn't provide rollback for -o, why should it provide rollback
Hari> for -MF.
Dependency files are different from .o files though.
It would make sense to write a temporary dependency file and then `mv'
it on success (or `rm' on failure).
Hari> * depcomp (gcc3): Protect against the compiler deleting
Hari> the dependency output file.
I checked this in.
Tom