tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] [Fwd: bug in tcc wi32]


From: Timo Lähde
Subject: Re: [Tinycc-devel] [Fwd: bug in tcc wi32]
Date: Mon, 3 May 2010 00:46:15 +0300

Of course not because least at&t local label must start from column 1.
So in that case  you can past that with:
     if (p[1] == 'L' && p[-1] == '\n')
Not best way to handle that but we are still waiting for better one ....

2010/5/1 grischka <address@hidden>:
> Detlef, please fix.
>
> (Beware, not as suggested below ;))
>
> --- grischka
>
> Timo VJ Lähde wrote:
>>
>> Maybe check first previous char if possible but using negative pointer
>> isn't safe:
>> tccpp.c line 2281
>>   case '.':
>>       /* check first for a local label (.Lxx:) */
>>       if (p[1] == 'L' && (p[-1] == '\n' || p[-1] == '\t' || p[-1] == ' '))
>> {
>>           /* fast case */
>>           goto parse_ident_fast;
>>       }
>>
>> ----- Original Message ----- From: "Daniel Glöckner" <address@hidden>
>> To: <address@hidden>
>> Sent: Wednesday, April 28, 2010 9:44 PM
>> Subject: Re: [Tinycc-devel] [Fwd: bug in tcc wi32]
>>
>>
>>> On Wed, Apr 28, 2010 at 06:22:49PM +0200, grischka wrote:
>>>>
>>>> Version tinycc-ac0b7d82d8a3fbfb6c524a9470db3d6195ccb909 - missing ';'
>>>> Version 0.9.25 work good.
>>>
>>> f740485a5ab2ecef741bf1161b9feeea9c18cac0 broke it.
>>>
>>>  Daniel
>>>
>
>
> _______________________________________________
> Tinycc-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/tinycc-devel
>




reply via email to

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