Date: Sat, 5 Mar 2005 00:51:03 -0600 From: Astrodog <astrodog@gmail.com> To: freebsd-amd64@freebsd.org Subject: Re: Is -O2 supported for world? Message-ID: <2fd864e05030422514452e184@mail.gmail.com> In-Reply-To: <20050305043006.GN83265@afflictions.org> References: <20050305043006.GN83265@afflictions.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 4 Mar 2005 23:30:07 -0500, Damian Gerow <dgerow@afflictions.org> wrote: > I'm a little fuzzy on whether -O2 is supported for world or not: I seem to > remember on x86 it is, but the only references I've seen to amd64 were > speaking about ports. > > Is -O2 optimization supported in amd64? It most definitely doesn't work: > > /usr/src/lib/libc/i386/sys/_amd64_get_fsbase.c: In function `_amd64_get_fsbase': > /usr/src/lib/libc/i386/sys/_amd64_get_fsbase.c:40: warning: dereferencing type-punned pointer will break strict-aliasing rules > > without -fno-strict-aliasing. Not that I have any serious desire to run > with -O2, just curious. > > - Damian > _______________________________________________ > freebsd-amd64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 > To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org" > As I understand it, AMD64 will not compile with -O2.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2fd864e05030422514452e184>