I just recompiled you test program with mob. On Windows, cl, clang, gcc and ... 
tcc all produce the same output result.
Sorry, I can't reproduce.

C.

-----Original Message-----
From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] On 
Behalf Of Vincent Lefevre
Sent: Sunday, December 13, 2020 14:17
To: tinycc-devel@nongnu.org
Subject: Re: [Tinycc-devel] A possible bug in TCC

On 2020-12-13 14:40:17 +0300, Anton Shepelev wrote:
> Hello, all
> 
> During the recent exercise in comp.lang.c in writing a C
> program to strip comments from a C source, I have
> encountered what seems to be a bug in TCC.  It is manifest
> when compiling looser drug's entry with TCC and feeding it
> the following test input (between --- markers):
> 
> ---
> a/\
> \
> \
> \
> /b
> ---
> 
> which causes the program to hang infinitely. When complied
> with other compilers (e.g. GCC), however, it processes the
> file correctly and terminates.  The source follows:
[...]

No issue with tcc 0.9.27+git20200814.62c30a4a-1 provided by Debian.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel


_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to