This is the mail archive of the gcc@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: RFC: Bug in specs processing


On Tue, Jul 22, 2008 at 4:53 PM, Mark Mitchell <mark@codesourcery.com> wrote:
> I noticed today that:
>
>  gcc -c -o hw.o hw.c
>
> removes hw.o if failure occurs during the compilation, but:
>
>  gcc -c -ohw.o hw.c
>
> does not.
>
> The reason turns out to be that, in the latter case, we record the name
> "-ohw.o" as a temporary file, rather than "hw.o".

This is http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11810 .
There was a patch posted here:
http://gcc.gnu.org/ml/gcc-patches/2004-08/msg00784.html
It was reviewed here:
http://gcc.gnu.org/ml/gcc-patches/2005-07/msg01432.html


Thanks,
Andrew Pinski


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