Author: sewardj Date: 2007-11-16 12:43:32 +0000 (Fri, 16 Nov 2007) New Revision: 1797
Log: gcc-4.3 build fixes. Modified: trunk/Makefile trunk/priv/host-arm/isel.c Modified: trunk/Makefile =================================================================== --- trunk/Makefile 2007-11-16 02:30:38 UTC (rev 1796) +++ trunk/Makefile 2007-11-16 12:43:32 UTC (rev 1797) @@ -73,10 +73,10 @@ # Put -g -O2 after any flags we inherit from V. -O2 vs -O # makes a significant difference, at least with gcc4. -CCFLAGS = -Wall -Wmissing-prototypes -Wshadow -Winline \ +CCFLAGS = -Wall -Wmissing-prototypes -Wshadow \ -Wpointer-arith -Wbad-function-cast -Wcast-qual \ -Wcast-align -Wmissing-declarations \ - $(EXTRA_CFLAGS) -g -O2 + $(EXTRA_CFLAGS) -g -O2 -fstrict-aliasing #CC = icc #CCFLAGS = -g -Wall -wd981 -wd279 -wd1287 -wd869 -wd111 -wd188 -wd186 Modified: trunk/priv/host-arm/isel.c =================================================================== --- trunk/priv/host-arm/isel.c 2007-11-16 02:30:38 UTC (rev 1796) +++ trunk/priv/host-arm/isel.c 2007-11-16 12:43:32 UTC (rev 1797) @@ -129,7 +129,7 @@ static ARMAMode1* iselIntExpr_AMode1_wrk ( ISelEnv* env, IRExpr* e ); static ARMAMode1* iselIntExpr_AMode1 ( ISelEnv* env, IRExpr* e ); -static ARMAMode2* iselIntExpr_AMode2_wrk ( ISelEnv* env, IRExpr* e ); +/* static ARMAMode2* iselIntExpr_AMode2_wrk ( ISelEnv* env, IRExpr* e ); */ static ARMAMode2* iselIntExpr_AMode2 ( ISelEnv* env, IRExpr* e ); static ARMAMode3* iselIntExpr_AMode3_wrk ( ISelEnv* env, IRExpr* e ); @@ -601,6 +601,7 @@ /* ---------------- Addressing Mode 2 ---------------- */ +__attribute__((unused)) static Bool sane_AMode2 ( ARMAMode2* am ) { switch (am->tag) { @@ -609,12 +610,14 @@ } } +/* Apparently unused static ARMAMode2* iselIntExpr_AMode2_wrk ( ISelEnv* env, IRExpr* e ) { ARMAMode2* am = iselIntExpr_AMode2_wrk(env, e); vassert(sane_AMode2(am)); return am; } +*/ /* DO NOT CALL THIS DIRECTLY ! */ static ARMAMode2* iselIntExpr_AMode2 ( ISelEnv* env, IRExpr* e ) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Valgrind-developers mailing list Valgrind-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-developers