This is the mail archive of the gcc-bugs@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]

[Bug driver/11810] gcc -pipe -ox.o -c x.c writes erroneous x.o on compile error


------- 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


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