[Webkit-unassigned] [Bug 112145] New: LLINT C loop warning fix for GCC

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 12 06:45:01 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=112145

           Summary: LLINT C loop warning fix for GCC
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ossy at webkit.org
                CC: zherczeg at webkit.org, galpeter at inf.u-szeged.hu,
                    fpizlo at apple.com, mark.lam at apple.com


C loop backend isn't buildable for JSVALUE32_64 platforms now:
https://bugs.webkit.org/show_bug.cgi?id=112141

After the fix proposed in this bug the build fails with false positive warnings:
generated/LLIntAssembly.h: In static member function 'static JSC::JSValue JSC::LLInt::CLoop::execute(JSC::CallFrame*, JSC::OpcodeID, bool)':
generated/LLIntAssembly.h:3444:80: error: 't0.JSC::CLoopRegister::<anonymous>.JSC::CLoopRegister::<anonymous union>::instruction' may be used uninitialized in this function [-Werror=uninitialized]
/home/oszi/WebKit/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp:305:19: note: 't0.JSC::CLoopRegister::<anonymous>.JSC::CLoopRegister::<anonymous union>::instruction' was declared here
generated/LLIntAssembly.h:3279:80: error: 't1.JSC::CLoopRegister::<anonymous>.JSC::CLoopRegister::<anonymous union>::i' may be used uninitialized in this function [-Werror=uninitialized]
/home/oszi/WebKit/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp:305:23: note: 't1.JSC::CLoopRegister::<anonymous>.JSC::CLoopRegister::<anonymous union>::i' was declared here
cc1plus: all warnings being treated as errors

We should shut this warning down for GCC similar to MSVC. :) Patch is coming soon.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list