[PATCH 0/4] Applying fix-its on behalf of the user to their code
Richard Biener
richard.guenther@gmail.com
Thu Aug 25 09:20:00 GMT 2016
On Wed, Aug 24, 2016 at 11:52 PM, Manuel López-Ibáñez
<lopezibanez@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.
>
More information about the Gcc-patches
mailing list