|
From: | André Willik Valenti |
Subject: | Re: [Tinycc-devel] Bug: segfault when running empty file on tcc-0.9.26-win64 |
Date: | Wed, 5 Jul 2017 00:41:16 -0300 |
Hello,I believe I've found a bug. It happens on 64-bit version of tcc for Windows. No problems were found on 32-bit Windows or 64-bit Linux (installed from apt-get).To reproduce, run on a terminal:REM Creates an empty filetype nul > empty.cREM win32 tcc works normallywin32\tcc empty.ctcc: error: undefined symbol 'main'REM win32 tcc works normallywin32\tcc -run empty.ctcc: error: main not definedREM win64 tcc works normally when generating file outputwin64\tcc empty.ctcc: error: undefined symbol 'main'REM ...but crashes with a segfault when running source code directlywin64\tcc -run empty.cThe same happens with a file containing just#or#incluRegards,André
[Prev in Thread] | Current Thread | [Next in Thread] |