--- Source/JavaScriptCore/runtime/Executable.cpp 2013-04-28 10:29:32.661800765 +0200 +++ Source/JavaScriptCore/runtime/Executable.cpp 2013-04-28 10:30:09.717607709 +0200 @@ -515,7 +515,7 @@ UNUSED_PARAM(bytecodeIndex); #endif ASSERT((jitType == JITCode::bottomTierJIT()) == !m_codeBlockForCall); - JSObject* exception; + JSObject* exception = 0; OwnPtr newCodeBlock = produceCodeBlockFor(scopeChainNode, !!m_codeBlockForCall ? OptimizingCompilation : FirstCompilation, CodeForCall, exception); if (!newCodeBlock) return exception; @@ -558,7 +558,7 @@ #endif ASSERT((jitType == JITCode::bottomTierJIT()) == !m_codeBlockForConstruct); - JSObject* exception; + JSObject* exception = 0; OwnPtr newCodeBlock = produceCodeBlockFor(scopeChainNode, !!m_codeBlockForConstruct ? OptimizingCompilation : FirstCompilation, CodeForConstruct, exception); if (!newCodeBlock) return exception; --- Source/WTF/wtf/Compiler.h 2013-04-28 10:29:34.641789776 +0200 +++ Source/WTF/wtf/Compiler.h 2013-04-28 10:31:07.477226240 +0200 @@ -122,6 +122,11 @@ /* Specific compiler features */ #if COMPILER(GCC) && !COMPILER(CLANG) + +#if GCC_VERSION_AT_LEAST(4, 8, 0) +#pragma GCC diagnostic ignored "-Wunused-local-typedefs" +#endif + #if GCC_VERSION_AT_LEAST(4, 7, 0) && __cplusplus >= 201103L #define WTF_COMPILER_SUPPORTS_CXX_RVALUE_REFERENCES 1 #define WTF_COMPILER_SUPPORTS_CXX_DELETED_FUNCTIONS 1