This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

egcs 1.1b Bug - Howto?


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?

BTW, the behaviour is exactly the same on a Linux and a Sun 2.5 egcs
1.1b. One of the libraries I use is mysqlclient, but I do not know about
particular problems with mysql and egcs.
Can you point me in the right direction?
Markus


--

Markus Klink
Department of Economics
University of Surrey

email: markus@wotan.econ.surrey.ac.uk
http://wotan.econ.surrey.ac.uk/~markus





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]