From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Harvey J. Stein" To: gcc@gcc.gnu.org Cc: hjstein@bfr.co.il, rms@gnu.org Subject: Re: type based aliasing again Date: Thu, 30 Sep 1999 18:02:00 -0000 Message-ID: <199909211546.RAA02316@blinky.bfr.co.il> X-SW-Source: 1999-09n/msg00911.html Message-ID: <19990930180200.janWN944YYHdlA9W7ndPNab5Naf1wy26ze6s2xMTTts@z> Here's another example of code which breaks without -fno-strict-aliasing. And again, it took a substantial amount of "this doesn't work for me", vs "it's fine for me" on the mailing list before someone came up the answer. ------- Start of forwarded message ------- Date: Sat, 18 Sep 1999 21:04:33 -0700 (PDT) From: "William A. Barath" To: xmame@locutus.csres.utexas.edu Subject: Re: Blockout?! Message-ID: Reply-To: xmame@locutus.csres.utexas.edu On Sat, 18 Sep 1999, Alexander Oelzant wrote: |OPTFLAGS = -O6 -mk6 -mcpu=k6 -march=k6 -Wall -Wno-unused -funroll-loops |\ | -fstrength-reduce -fomit-frame-pointer -ffast-math -malign-functions=4 \ | -malign-jumps=4 -malign-loops=4 -malign-double \ | -mwide-multiply -fforce-mem -fforce-addr -funroll-loops \ | -fcse-follow-jumps -fcse-skip-blocks \ | -frerun-cse-after-loop -frerun-loop-opt -fschedule-insns2 \ | -fgcse -fmove-all-movables -freduce-all-givs -fstrict-aliasing you must change that last item to -fno-strict-aliasing otherwise gcc will break the z80 core, which will make a lot of games unplayable. -Wil William Barath, AKA WseM http://www.victoria.tc.ca/~wi534 TP7 Programmers: Check out my FREE preemptive Threads Unit! DJGPP Programmers: Check out my FREE realtime Fractal Zoomer! Emulation Coderz: Check out my LAME-O Apple ][+ Emulator! ;) --------------------------------------------------------------------------- Send administrative requests to xmame-request@acm.csres.utexas.edu ------- End of forwarded message ------- -- Harvey Stein Bloomberg LP hjstein@bfr.co.il