tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Regression building GMP with tcc, bisected


From: ian
Subject: Re: [Tinycc-devel] Regression building GMP with tcc, bisected
Date: Tue, 7 Jul 2020 14:34:32 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:68.0) Gecko/20100101 Thunderbird/68.2.2

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
--
-- sibian0218@gmail.com
-- Développeur compulsif

reply via email to

[Prev in Thread] Current Thread [Next in Thread]