On Mon, Dec 31, 2001 at 10:22:29AM +0100, Andrea Mazzoleni wrote:
> 
> Anyway, now I'm compiling AdvanceMAME for Linux with these options with gcc 3.0.3:
> 
> -O3 -fomit-frame-pointer -fstrict-aliasing -march=? (i686 for me)
> 
> The only exception is the z80.c file which requires :
> 
> -O2 -fomit-frame-pointer -fstrict-aliasing -march=?
> 
> otherwise it doesn't compile.

Okay, I've narrowed it down just a little more: Using -O3
-fno-rename-registers allows z80.c to compile.  -frename-registers by
itself doesn't cause a problem, so it's probably an interaction with one
of the other flags.

P.S, using the -fverbose-asm you recommended, I notice that
-fstrict-aliasing is automatically turned on by -O2 or higher with
gcc-3.0.3.
_______________________________________________
Xmame mailing list
[EMAIL PROTECTED]
http://toybox.twisted.org.uk/mailman/listinfo/xmame

Reply via email to