tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Segmentation fault compiling jslong.c


From: Daniel Glöckner
Subject: Re: [Tinycc-devel] Segmentation fault compiling jslong.c
Date: Thu, 20 Sep 2007 12:19:20 +0200
User-agent: Mutt/1.4.2.1i

On Thu, Sep 20, 2007 at 04:01:48AM -0500, Rob Landley wrote:
> 2) Attempts to generate code before the first function declaration segfault 
> the compiler, which is very wrong.

I remember that problem. I even added cur_text_section=NULL; at the
beginning of tcc_compile and at the end of gen_function to force a
segfault. TCC shouldn't pretend to be working when it is generating code
to initialize global variables between functions.

  Daniel




reply via email to

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