[Top][All Lists]
[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
- [Tinycc-devel] Segmentation fault compiling jslong.c, Sanghyeon Seo, 2007/09/18
- Re: [Tinycc-devel] Segmentation fault compiling jslong.c, Gregg Reynolds, 2007/09/20
- Re: [Tinycc-devel] Segmentation fault compiling jslong.c, Rob Landley, 2007/09/20
- Re: [Tinycc-devel] Segmentation fault compiling jslong.c, Gregg Reynolds, 2007/09/20
- Re: [Tinycc-devel] Segmentation fault compiling jslong.c, Rob Landley, 2007/09/20
- Re: [Tinycc-devel] Segmentation fault compiling jslong.c, Gregg Reynolds, 2007/09/20
- Re: [Tinycc-devel] Segmentation fault compiling jslong.c, Rob Landley, 2007/09/21
- Re: [Tinycc-devel] Segmentation fault compiling jslong.c, Dave Dodge, 2007/09/21