From: Lionel Ulmer <lionel.ulmer@free.fr>
To: qemu-devel@nongnu.org
Subject: Re: [SOLVED] Re: [Qemu-devel] Overoptimization
Date: Sat, 29 May 2004 00:15:25 +0200 [thread overview]
Message-ID: <20040529001525.A387@bbland> (raw)
In-Reply-To: <40B743C0.8020003@ums.usu.ru>; from patrakov@ums.usu.ru on Fri, May 28, 2004 at 07:50:56PM +0600
> 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/
next prev parent reply other threads:[~2004-05-29 2:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-28 1:19 [Qemu-devel] Overoptimization Alexander E. Patrakov
2004-05-28 10:13 ` Herbert Poetzl
2004-05-28 10:58 ` Alexander E. Patrakov
2004-05-28 11:08 ` Herbert Poetzl
2004-05-28 13:50 ` [SOLVED] " Alexander E. Patrakov
2004-05-28 22:15 ` Lionel Ulmer [this message]
2004-05-29 18:18 ` [Qemu-devel] VNC patch, the 3rd version Johannes Schindelin
2004-05-31 2:00 ` Jim C. Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040529001525.A387@bbland \
--to=lionel.ulmer@free.fr \
--cc=qemu-devel@gnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.