This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/11810] gcc -pipe -ox.o -c x.c writes erroneous x.o on compile error
- From: "geoffk at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Dec 2003 19:47:04 -0000
- Subject: [Bug driver/11810] gcc -pipe -ox.o -c x.c writes erroneous x.o on compile error
- References: <20030805182143.11810.deweese@ict.usc.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From geoffk at gcc dot gnu dot org 2003-12-16 19:47 -------
There are other problems with removing output files. For instance:
$ echo 'error!' > x
$ gcc -x c x -S
x:1: error: parse error before '!' token
$ ls
x x.s
$ rm x.s
$ gcc -x c x -save-temps -c
x:1: error: parse error before '!' token
$ ls
x x.i x.s
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11810