From dda9c4591ce268061e2abf662ca1fb83dbae86d6 Mon Sep 17 00:00:00 2001 From: Richard Brooksby Date: Fri, 7 Sep 2012 21:50:56 +0100 Subject: [PATCH] Fixing optimisation recommendation from -o3 to -o2, until we're sure we've ironed out strict aliasing problems. Copied from Perforce Change: 179355 ServerID: perforce.ravenbrook.com --- mps/manual/build.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mps/manual/build.txt b/mps/manual/build.txt index 4929c9b7b1f..3c15d654e1a 100644 --- a/mps/manual/build.txt +++ b/mps/manual/build.txt @@ -34,7 +34,7 @@ This will build a "hot" variety (for production) object file for use with "mps.h". You can greatly improve performance by allowing global optimization, for example: - cc -O3 -c mps.c (Unix/Mac OS) + cc -O2 -c mps.c (Unix/Mac OS) cl /O2 /c mps.c (Windows) @@ -59,7 +59,7 @@ myformat.c, then you could make a file mymps.c containing then - cc -O3 -c mymps.c (Unix/Mac OS) + cc -O2 -c mymps.c (Unix/Mac OS) cl /O2 /c mymps.c (Windows) This will get your format code inlined with the MPS garbage collector.