qemu-devel
[Top][All Lists]
Advanced

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

Re: [SOLVED] Re: [Qemu-devel] Overoptimization


From: Lionel Ulmer
Subject: Re: [SOLVED] Re: [Qemu-devel] Overoptimization
Date: Sat, 29 May 2004 00:15:25 +0200
User-agent: Mutt/1.2.5i

> In fact I just had to read the gcc info page and remove optimizations 
> one by one. Result, with gcc 3.3.2:
> 
> -Wall -O2 -g -fomit-frame-pointer (defaults) = unsafe,
> -Wall -O2 -g -fomit-frame-pointer -fno-strict-aliasing = safe.
> 
> So it looks like slirp code breaks strict aliasing rules assumed by -O2. 
> Since the problem has been identified precisely, it has to be fixed in 
> qemu CVS.

I think this aliasing stuff will really provoke a LOT of bugs out there for
years to come...

For example, Wine switched to '-fno-strict-aliasing' a long time ago :-)

        Lionel

-- 
                 Lionel Ulmer - http://www.bbrox.org/




reply via email to

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