On Wed, Aug 24, 2016 at 11:52 PM, Manuel López-Ibáñez <lopeziba...@gmail.com> wrote: > On 24/08/16 14:56, Richard Biener wrote: >> >> You never typoed >> >> gcc t.c -o t.c >> >> ? ;) (I did ... :/) > > > With GCC >=5 > > $ gcc t.c -o t.c > gcc: fatal error: input file ‘t.c’ is the same as output file > compilation terminated. > > You are welcome ;-)
Heh. Need to update my host compiler then... Similar "interesting" things happen with > gcc t.c t.C works ok (using tmpfiles for intermediate assembler) > gcc t.c t.C -save-temps and you get everthing from t.C twice ... (they share the same intermediate assembler file name, t.s!) Richard. > > Manuel. >