Package: tcc Version: 0.9.24~cvs20070502-1 Severity: normal Put the three lines shown below into a file foo.c, and run "tcc -E foo.c". The preprocessor fails with "foo.c:2: memory full". I derived this test case from <zlib.h>.
#define MACRO(arg) int main() MACRO( ) { return 0; } Without -E, TCC compiles this file okay. tcc 0.9.23-2 did not support -E and so does not have this bug. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.21-1-k7 Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8) Versions of packages tcc depends on: ii libc6 2.3.6-7 GNU C Library: Shared libraries Versions of packages tcc recommends: ii libc6-dev [libc-dev] 2.3.6-7 GNU C Library: Development Librari -- no debconf information
pgpVAyRCNnmKc.pgp
Description: PGP signature