Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 344532 Details for
Bug 464758
mail-client/thunderbird-17.0.5 fails to build with clang and clang+lto
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
/etc/portage/patches/mail-client/thunderbird-17.0.5/thunderbird-17.0.5.mozbug784631.patch
thunderbird.mozbug784631.patch (text/plain), 3.59 KB, created by
cmuelle8
on 2013-04-05 17:06:21 UTC
(
hide
)
Description:
/etc/portage/patches/mail-client/thunderbird-17.0.5/thunderbird-17.0.5.mozbug784631.patch
Filename:
MIME Type:
Creator:
cmuelle8
Created:
2013-04-05 17:06:21 UTC
Size:
3.59 KB
patch
obsolete
> ># HG changeset patch ># User Terrence Cole <terrence@mozilla.com> ># Date 1347391864 25200 ># Node ID 8cebabaead164c6c923c7fd0f4b3e138c2c8a8c1 ># Parent 634a2b9859ab064155c822926b53b004e0d1c72a >Bug 784631 - Fix some clang build errors in SpiderMonkey; r=Waldo f=espindola > >Computed gotos are not in the C++ standard: clang and gcc differ on semantics. > >diff --git a/mozilla/js/src/jsinterp.cpp b/mozilla/js/src/jsinterp.cpp >--- a/mozilla/js/src/jsinterp.cpp >+++ b/mozilla/js/src/jsinterp.cpp >@@ -1226,16 +1226,17 @@ js::Interpret(JSContext *cx, StackFrame > RootedValue rootValue0(cx), rootValue1(cx); > RootedString rootString0(cx), rootString1(cx); > RootedObject rootObject0(cx), rootObject1(cx), rootObject2(cx); > RootedFunction rootFunction0(cx); > RootedTypeObject rootType0(cx); > RootedPropertyName rootName0(cx); > RootedId rootId0(cx); > RootedShape rootShape0(cx); >+ DebugOnly<uint32_t> blockDepth; > > if (!entryFrame) > entryFrame = regs.fp(); > > #if JS_HAS_GENERATORS > if (JS_UNLIKELY(regs.fp()->isGeneratorFrame())) { > JS_ASSERT(size_t(regs.pc - script->code) <= script->length); > JS_ASSERT(regs.stackDepth() <= script->nslots); >@@ -3645,17 +3646,17 @@ BEGIN_CASE(JSOP_ENTERLET1) > goto error; > } > END_CASE(JSOP_ENTERBLOCK) > > BEGIN_CASE(JSOP_LEAVEBLOCK) > BEGIN_CASE(JSOP_LEAVEFORLETIN) > BEGIN_CASE(JSOP_LEAVEBLOCKEXPR) > { >- DebugOnly<uint32_t> blockDepth = regs.fp()->blockChain().stackDepth(); >+ blockDepth = regs.fp()->blockChain().stackDepth(); > > regs.fp()->popBlock(cx); > > if (op == JSOP_LEAVEBLOCK) { > /* Pop the block's slots. */ > regs.sp -= GET_UINT16(regs.pc); > JS_ASSERT(regs.stackDepth() == blockDepth); > } else if (op == JSOP_LEAVEBLOCKEXPR) { >diff --git a/mozilla/js/src/jsutil.h b/mozilla/js/src/jsutil.h >--- a/mozilla/js/src/jsutil.h >+++ b/mozilla/js/src/jsutil.h >@@ -427,20 +427,20 @@ typedef size_t jsbitmap; > ((jsbitmap)1<<((_bit)&(JS_BITS_PER_WORD-1)))) > #define JS_CLEAR_BIT(_map,_bit) ((_map)[(_bit)>>JS_BITS_PER_WORD_LOG2] &= \ > ~((jsbitmap)1<<((_bit)&(JS_BITS_PER_WORD-1)))) > > /* Wrapper for various macros to stop warnings coming from their expansions. */ > #if defined(__clang__) > # define JS_SILENCE_UNUSED_VALUE_IN_EXPR(expr) \ > JS_BEGIN_MACRO \ >- _Pragma("clang diagnostic push") \ >- _Pragma("clang diagnostic ignored \"-Wunused-value\"") \ >- expr; \ >- _Pragma("clang diagnostic pop") \ >+ _Pragma("(clang diagnostic push)") \ >+ _Pragma("(clang diagnostic ignored \"-Wunused-value\")") \ >+ {expr;} \ >+ _Pragma("(clang diagnostic pop)") \ > JS_END_MACRO > #elif (__GNUC__ >= 5) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6) > # define JS_SILENCE_UNUSED_VALUE_IN_EXPR(expr) \ > JS_BEGIN_MACRO \ > _Pragma("GCC diagnostic push") \ > _Pragma("GCC diagnostic ignored \"-Wunused-but-set-variable\"") \ > expr; \ > _Pragma("GCC diagnostic pop") \ >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 464758
:
344530
| 344532