[driver/11810] object file deletion
Mark Mitchell
mark@codesourcery.com
Tue Nov 3 14:03:00 GMT 2009
Nathan Sidwell wrote:
> This is a patch of Mark's. It fixes an issue exposed by Eclipse where
> gcc fails to remove an explicitly named output file in the face of an
> error. The problem is that '-ofoo.o' records the output file as
> '-ofoo.o'[*], and hence attempts to delete the wrong file -- fortunately
> files beginning with '-' are rare, so this is unlikely to delete a real
> file!
I still think this is the best way to fix this bug.
OK if no objections within 24 hours.
Thanks,
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713
More information about the Gcc-patches
mailing list