[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] A possible bug in TCC
From: |
Vincent Lefevre |
Subject: |
Re: [Tinycc-devel] A possible bug in TCC |
Date: |
Sun, 13 Dec 2020 14:17:13 +0100 |
User-agent: |
Mutt/2.0.3+42 (b860ea2f) vl-132933 (2020-12-12) |
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 <vincent@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)