[Webkit-unassigned] [Bug 81502] New: x86 GCC bug triggers a compilation error in generated copy constructor of CollapsedBorderValue

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 19 01:40:58 PDT 2012


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

           Summary: x86 GCC bug triggers a compilation error in generated
                    copy constructor of CollapsedBorderValue
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: http://build.chromium.org/p/chromium.chrome/builders/G
                    oogle%20Chrome%20ChromeOS/builds/27027/steps/compile/l
                    ogs/stdio
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: leviw at chromium.org
                CC: jamesr at chromium.org


When WebCore is built with the set of compilation flags used in the Google Chrome official builds, x86 gcc generates a broken copy constructor which results in the following failure:



In file included from third_party/WebKit/Source/JavaScriptCore/wtf/HashMap.h:24,
                 from third_party/WebKit/Source/WebCore/platform/KURL.h:31,
                 from third_party/WebKit/Source/WebCore/platform/network/BlobData.h:34,
                 from third_party/WebKit/Source/WebCore/fileapi/Blob.h:34,
                 from third_party/WebKit/Source/WebCore/fileapi/File.h:29,
                 from third_party/WebKit/Source/WebCore/platform/network/chromium/ResourceResponse.h:30,
                 from third_party/WebKit/Source/WebCore/platform/network/AuthenticationChallengeBase.h:30,
                 from third_party/WebKit/Source/WebCore/platform/network/chromium/AuthenticationChallenge.h:30,
                 from third_party/WebKit/Source/WebCore/platform/network/ResourceHandle.h:29,
                 from third_party/WebKit/Source/WebCore/loader/ResourceLoaderOptions.h:34,
                 from third_party/WebKit/Source/WebCore/loader/cache/CachedResource.h:30,
                 from third_party/WebKit/Source/WebCore/loader/cache/CachedImage.h:26,
                 from third_party/WebKit/Source/WebCore/rendering/RenderObject.h:29,
                 from third_party/WebKit/Source/WebCore/rendering/RenderBoxModelObject.h:27,
                 from third_party/WebKit/Source/WebCore/rendering/RenderBox.h:26,
                 from third_party/WebKit/Source/WebCore/rendering/RenderBlock.h:29,
                 from third_party/WebKit/Source/WebCore/rendering/RenderTable.h:30,
                 from third_party/WebKit/Source/WebCore/rendering/RenderTableSection.h:28,
                 from third_party/WebKit/Source/WebCore/rendering/RenderTableSection.cpp:27:
third_party/WebKit/Source/JavaScriptCore/wtf/HashTraits.h: In member function 'void WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::rehash(int) [with Key = std::pair<const WebCore::RenderTableCell*, int>, Value = std::pair<std::pair<const WebCore::RenderTableCell*, int>, WebCore::CollapsedBorderValue>, Extractor = WTF::PairFirstExtractor<std::pair<std::pair<const WebCore::RenderTableCell*, int>, WebCore::CollapsedBorderValue> >, HashFunctions = WTF::PairHash<const WebCore::RenderTableCell*, int>, Traits = WTF::PairHashTraits<WTF::HashTraits<std::pair<const WebCore::RenderTableCell*, int> >, WTF::HashTraits<WebCore::CollapsedBorderValue> >, KeyTraits = WTF::HashTraits<std::pair<const WebCore::RenderTableCell*, int> >]':
third_party/WebKit/Source/JavaScriptCore/wtf/HashTraits.h:153: error: '__y' may be used uninitialized in this function
third_party/WebKit/Source/JavaScriptCore/wtf/HashTraits.h:153: note: '__y' was declared here
In file included from third_party/WebKit/Source/WebCore/platform/KURL.h:31,
                 from third_party/WebKit/Source/WebCore/platform/network/BlobData.h:34,
                 from third_party/WebKit/Source/WebCore/fileapi/Blob.h:34,
                 from third_party/WebKit/Source/WebCore/fileapi/File.h:29,
                 from third_party/WebKit/Source/WebCore/platform/network/chromium/ResourceResponse.h:30,
                 from third_party/WebKit/Source/WebCore/platform/network/AuthenticationChallengeBase.h:30,
                 from third_party/WebKit/Source/WebCore/platform/network/chromium/AuthenticationChallenge.h:30,
                 from third_party/WebKit/Source/WebCore/platform/network/ResourceHandle.h:29,
                 from third_party/WebKit/Source/WebCore/loader/ResourceLoaderOptions.h:34,
                 from third_party/WebKit/Source/WebCore/loader/cache/CachedResource.h:30,
                 from third_party/WebKit/Source/WebCore/loader/cache/CachedImage.h:26,
                 from third_party/WebKit/Source/WebCore/rendering/RenderObject.h:29,
                 from third_party/WebKit/Source/WebCore/rendering/RenderBoxModelObject.h:27,
                 from third_party/WebKit/Source/WebCore/rendering/RenderBox.h:26,
                 from third_party/WebKit/Source/WebCore/rendering/RenderBlock.h:29,
                 from third_party/WebKit/Source/WebCore/rendering/RenderTable.h:30,
                 from third_party/WebKit/Source/WebCore/rendering/RenderTableSection.h:28,
                 from third_party/WebKit/Source/WebCore/rendering/RenderTableSection.cpp:27:
third_party/WebKit/Source/WebCore/rendering/RenderTableSection.cpp: In member function 'std::pair<typename WTF::HashMap<KeyArg, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg>::iterator, bool> WTF::HashMap<KeyArg, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg>::set(const typename KeyTraitsArg::TraitType&, typename MappedTraitsArg::PassInType) [with KeyArg = std::pair<const WebCore::RenderTableCell*, int>, MappedArg = WebCore::CollapsedBorderValue, HashArg = WTF::PairHash<const WebCore::RenderTableCell*, int>, KeyTraitsArg = WTF::HashTraits<std::pair<const WebCore::RenderTableCell*, int> >, MappedTraitsArg = WTF::HashTraits<WebCore::CollapsedBorderValue>]':
third_party/WebKit/Source/WebCore/rendering/RenderTableSection.cpp:1424: error: '__y' may be used uninitialized in this function
third_party/WebKit/Source/JavaScriptCore/wtf/HashTraits.h:153: note: '__y' was declared here
make: *** [out/Release/obj.target/webcore_rendering/third_party/WebKit/Source/WebCore/rendering/RenderTableSection.o] Error 1

-- 
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