[Top][All Lists]

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

Re: [Tinycc-devel] TCC crash with multiline string

From: grischka
Subject: Re: [Tinycc-devel] TCC crash with multiline string
Date: Mon, 02 Nov 2020 18:24:08 +0100
User-agent: Thunderbird (Windows/20090812)

Code Hz wrote:
This is the minimal sample input, it only crash on the windows, but I
do not think it is os-dependent.

I fixed that.  The problem here was not with the multi-line string but
rather with the two constant tokens ("" & 2) following each other
immediately which must never happen in a tinycc using a static token
value store (tokc).

-- gr

It runs well in linux, report `error: ';' expected (got "2")`.
Although according to the C standard, this string syntax is incorrect.
But in windows, tcc.exe just crash without any output. (env: mingw-w64
9.2.0, tcc: (head in mob branch)
(libtcc will crash the host program when compile this)

Tinycc-devel mailing list

reply via email to

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