[Top][All Lists]
[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/
- [Qemu-devel] Overoptimization, Alexander E. Patrakov, 2004/05/27
- Re: [Qemu-devel] Overoptimization, Herbert Poetzl, 2004/05/29
- Re: [Qemu-devel] Overoptimization, Alexander E. Patrakov, 2004/05/28
- Re: [Qemu-devel] Overoptimization, Herbert Poetzl, 2004/05/28
- [SOLVED] Re: [Qemu-devel] Overoptimization, Alexander E. Patrakov, 2004/05/28
- Re: [SOLVED] Re: [Qemu-devel] Overoptimization,
Lionel Ulmer <=
- [Qemu-devel] VNC patch, the 3rd version, Johannes Schindelin, 2004/05/29
- Re: [Qemu-devel] VNC patch, the 3rd version, Jim C. Brown, 2004/05/30