patch to fix erroneous processing of -o<file.o> option
Zack Weinberg
zack@codesourcery.com
Thu Aug 12 17:57:00 GMT 2004
Uttam Pawar <uttamp@us.ibm.com> writes:
> Hi,
>
> Problem:
> Compiling a c program as following leaves .o file hanging when there is
> a syntax error in the file.
>
> $ gcc -pipe -obug.o -c bug.c /* causes error *
> $ gcc -pipe -o bug.o -c bug.c /* doesn't have this problem */
Thank you for finding the bug, and for the clear analysis of what's
gone wrong. I can't review your patch as I do not know gcc.c well
enough to tell whether this is the right way to fix it. Therefore,
please file a bug report so that we don't forget about this issue,
and attach the patch to the bug.
zw
More information about the Gcc-patches
mailing list