<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39459 >

We held some correspondence with Stefan about the crash. Here's what he says:
----------  Forwarded message  ----------

On Wed, Sep 12, 2007 at 05:12:59PM +0200, Stefan Dirsch wrote:
> On Wed, Sep 12, 2007 at 06:01:59PM +0300, Elmo Todurov wrote:
> > > > Whose fault it is, GCC, glib2/gtk2 or FreeCiv? And, most
> > > > importantly, how to fix it?
> > >
> > > Honestly. I have no idea. I'm afraid we need a gcc expert here to
> > > compare the assembler output of "-O1" and "-O2". :-(

[snip: Stefan asks someone]

According to our gcc expert this is a undefinedness of signed overflow
in freeciv, since "-O2 --fno-tree-vrp" fixes it as well.

[he means here that compiling ONLY the wldlg.c with --fno-tree-vrp fixes it]



_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to