diff -r 92489cdc94d1 build/linux/makefiles/gcc.make --- a/build/linux/makefiles/gcc.make Tue Dec 04 16:28:18 2007 -0800 +++ b/build/linux/makefiles/gcc.make Fri Jan 11 15:22:13 2008 +0100 @@ -90,7 +90,7 @@ endif endif # Compiler warnings are treated as errors -WARNINGS_ARE_ERRORS = -Werror +#WARNINGS_ARE_ERRORS = -Werror # Except for a few acceptable ones ACCEPTABLE_WARNINGS = -Wpointer-arith -Wconversion -Wsign-compare CFLAGS_WARN/DEFAULT = $(WARNINGS_ARE_ERRORS) $(ACCEPTABLE_WARNINGS) diff -r 92489cdc94d1 src/cpu/x86/vm/cppInterpreter_x86.cpp --- a/src/cpu/x86/vm/cppInterpreter_x86.cpp Tue Dec 04 16:28:18 2007 -0800 +++ b/src/cpu/x86/vm/cppInterpreter_x86.cpp Fri Jan 11 15:22:13 2008 +0100 @@ -641,7 +641,7 @@ void InterpreterGenerator::generate_stac const Address size_of_stack (rbx, methodOopDesc::max_stack_offset()); // Always give one monitor to allow us to start interp if sync method. // Any additional monitors need a check when moving the expression stack - const one_monitor = frame::interpreter_frame_monitor_size() * wordSize; + const int one_monitor = frame::interpreter_frame_monitor_size() * wordSize; __ load_unsigned_word(rax, size_of_stack); // get size of expression stack in words __ leal(rax, Address(noreg, rax, Interpreter::stackElementScale(), one_monitor)); __ leal(rax, Address(rax, rdx, Interpreter::stackElementScale(), overhead_size)); diff -r 92489cdc94d1 src/share/vm/interpreter/bytecodeInterpreter.cpp --- a/src/share/vm/interpreter/bytecodeInterpreter.cpp Tue Dec 04 16:28:18 2007 -0800 +++ b/src/share/vm/interpreter/bytecodeInterpreter.cpp Fri Jan 11 15:22:13 2008 +0100 @@ -518,16 +518,16 @@ BytecodeInterpreter::run(interpreterStat /* 0xC0 */ &&opc_checkcast, &&opc_instanceof, &&opc_monitorenter, &&opc_monitorexit, /* 0xC4 */ &&opc_wide, &&opc_multianewarray, &&opc_ifnull, &&opc_ifnonnull, -/* 0xC8 */ &&opc_goto_w, &&opc_jsr_w, &&opc_breakpoint, &&opc_fast_igetfield, -/* 0xCC */ &&opc_fastagetfield,&&opc_fast_aload_0, &&opc_fast_iaccess_0, &&opc__fast_aaccess_0, +/* 0xC8 */ &&opc_goto_w, &&opc_jsr_w, &&opc_breakpoint, &&opc_default, +/* 0xCC */ &&opc_default, &&opc_default, &&opc_default, &&opc_default, -/* 0xD0 */ &&opc_fast_linearswitch, &&opc_fast_binaryswitch, &&opc_return_register_finalizer, &&opc_default, +/* 0xD0 */ &&opc_default, &&opc_default, &&opc_default, &&opc_default, /* 0xD4 */ &&opc_default, &&opc_default, &&opc_default, &&opc_default, /* 0xD8 */ &&opc_default, &&opc_default, &&opc_default, &&opc_default, /* 0xDC */ &&opc_default, &&opc_default, &&opc_default, &&opc_default, /* 0xE0 */ &&opc_default, &&opc_default, &&opc_default, &&opc_default, -/* 0xE4 */ &&opc_default, &&opc_default, &&opc_default, &&opc_default, +/* 0xE4 */ &&opc_default, &&opc_return_register_finalizer, &&opc_default, &&opc_default, /* 0xE8 */ &&opc_default, &&opc_default, &&opc_default, &&opc_default, /* 0xEC */ &&opc_default, &&opc_default, &&opc_default, &&opc_default,