tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] bugs


From: shinichiro . h
Subject: Re: [Tinycc-devel] bugs
Date: Wed, 01 Apr 2009 02:46:56 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/22.2 (x86_64-pc-linux-gnu) MULE/5.0 (SAKAKI)

Hi,

> 2.Accepts illegal integer constants
> 
>     int a = 0xabgfa;
>  
>     printf("%x", a); -> ab
> 
>    a = 0xwookie;
> 
>     printf("%d\n", a); -> 0

I think the following patch would fix this bug.

http://repo.or.cz/w/tinycc.git?a=commit;h=c6594f00243ed66d401b9512fad5dee80a67cd7a

This would check some other cases like 0.3fa or 30LA.

Thanks,




reply via email to

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