tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] TCC crash with multiline string


From: Code Hz
Subject: [Tinycc-devel] TCC crash with multiline string
Date: Fri, 23 Oct 2020 11:52:58 +0800

Hello,
This is the minimal sample input, it only crash on the windows, but I
do not think it is os-dependent.
```
b(){"
"2
```
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)
53587ee415faf03991e465ee22f73a7f8f2cd754)
(libtcc will crash the host program when compile this)



reply via email to

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