Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 422816 Details for
Bug 571482
[ICE/4.9/5] sys-devel/gcc-4.9: building dev-lang/spidermonkey-1.8.5 on ppc64: jsxml.cpp:3843:1: internal compiler error: in rs6000_builtin_vectorization_cost, at config/rs6000/rs6000.c:4350
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
reduced testcase
jsxml.ii (text/plain), 1.29 KB, created by
SpanKY
on 2016-01-13 16:57:02 UTC
(
hide
)
Description:
reduced testcase
Filename:
MIME Type:
Creator:
SpanKY
Created:
2016-01-13 16:57:02 UTC
Size:
1.29 KB
patch
obsolete
>typedef union { > long int asBits; >} jsval_layout; >static jsval_layout STRING_TO_JSVAL_IMPL() {} > >typedef __attribute__ ((aligned(8))) long int jsval; >class Value { > public: > void setString() { > data = STRING_TO_JSVAL_IMPL(); > } > jsval_layout data; >} __attribute__ ((aligned(8))); > >static Value StringValue() >{ > Value v; > v.setString(); > return v; >} > >static const jsval & Jsvalify(const Value & v) >{ > return (const jsval &)v; >} > >static Value *Valueify(jsval *v) >{ > return (Value *) v; >} > >struct JSObject { > void getQNameLocalName(); >}; >static Value IdToValue(int id) >{ > if (id) > return StringValue(); >} > >static jsval IdToJsval(int id) >{ > return Jsvalify(IdToValue(id)); >} > >class AutoGCRooter; >struct JSContext { > AutoGCRooter *autoGCRooters; >}; >class AutoGCRooter { > public: > AutoGCRooter(JSContext *cx) {} >}; >class AutoArrayRooter:AutoGCRooter { > public: > AutoArrayRooter(JSContext *cx, Value *vec):AutoGCRooter(cx) > { > array = vec; > cx->autoGCRooters = this; > } > Value *array; >}; > >static void PutProperty(JSContext *cx, int id, jsval *vp) >{ > JSObject *nameobj; > jsval roots[3]; > roots[1] = IdToJsval(id); > roots[2] = *vp; > AutoArrayRooter tvr(cx, Valueify(roots)); > nameobj->getQNameLocalName(); >} > >void xml_defineProperty(JSContext *cx, int id, const Value *v) >{ > jsval tmp = Jsvalify(*v); > PutProperty(cx, id, &tmp); >}
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 Raw
Actions:
View
Attachments on
bug 571482
:
422482
| 422816