|
From: | Henrik Nordstrom |
Subject: | Re: [Tinycc-devel] Segmentation fault compiling broken 1-liner |
Date: | Tue, 30 Aug 2005 19:49:43 +0200 (CEST) |
On Tue, 30 Aug 2005, Marcelo Jimenez wrote:
But if I compile with -O0, it not only compiles, it runs as "expected".
Most likely TCC does not spot the error and ends up using some uninitialized variables where it expected the function parameter definition..
should be easy to spot if this is the case by running tcc compiled without optimization valgrind memgrind.
Regards Henrik
[Prev in Thread] | Current Thread | [Next in Thread] |