This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs 1.1b Bug - Howto?
- To: markus at wotan dot econ dot surrey dot ac dot uk (Markus Klink)
- Subject: Re: egcs 1.1b Bug - Howto?
- From: hjl at lucon dot org (H.J. Lu)
- Date: Wed, 18 Nov 1998 12:43:38 -0800 (PST)
- Cc: egcs at cygnus dot com
>
> Deat "List",
>
> I am currently writing on a program which uses quite a lot of libraries
> and now I have to suspect a compiler bug in egcs 1.1b. The problem is
> that I get a segmentation fault in after or while leaving main(). So far
> I have found that the crucial part has something to do with a variable
> definition. If I define it in main, thumbs up, everything is ok.
>
> If I define it in a subroutine main crashes later on? How can I debug
> this situation better, or is it best to upgrade to egcs1.1.1?
>
If you can create a small testcase, someone will look into it.
--
H.J. Lu (hjl@gnu.org)