BTW and IMHO, using a lib function (such as `strcmp`) in a compiler, is
*always* a bad solution.....

... such as litterals like "<command line>"

Regards

Le 06/07/2020 à 18:16, Michael Matz a écrit :
> Hello,
>
> On Mon, 6 Jul 2020, Herman ten Brugge wrote:
>
>> In the old code you can also make it fail:
>> tst.s:
>> -------------------------
>>         .data
>>         .globl  foo
>>         .long   0
>> foo
>>         .byte   0
>> -------------------------
>>
>> If you compile it in the old compiler with:
>> tcc -include tst.s -c tst.s
>> you get no error. This is because of the same latent bug in
>> next_nomacro1.
>
> I think the bug is rather to prepare preprocessing directives and the
> inline stack when no preprocessing is to be done.  See 40671f76 in mob.
>
>
> Ciao,
> Michael.
>
> _______________________________________________
> Tinycc-devel mailing list
> Tinycc-devel@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel
-- 
-- sibian0...@gmail.com
-- Développeur compulsif
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to