j...@evans:/abuild/jh/mozilla-central/build9/dom/src/threads>
/abuild/jh/trunk-install/bin/g++ -fwhopr -r -nostdlib -O2 ~/nsDOMWorker*
In file included from ../../../../dom/src/threads/nsDOMWorker.cpp:39:0:
../../../dist/include/jscntxt.h: In function JSContext*
js_ContextFromLinkField(JSCList*):
../../../dist/include/jscntxt.h:2704:75: warning: invalid access to non-static
data member JSContext::link of NULL object [-Winvalid-offsetof]
../../../dist/include/jscntxt.h:2704:75: warning: (perhaps the offsetof macro
was used incorrectly) [-Winvalid-offsetof]
In file included from :613:0:
../../../../dom/src/threads/nsDOMWorkerXHR.cpp: In member function __base_dtor
:
../../../../dom/src/threads/nsDOMWorkerXHR.cpp:352:1: error: type mismatch in
address expression
<unnamed-unsigned:32> nsDOMWorkerXHRProxy::<Tf06> (struct nsDOMWorkerXHRProxy
*) *
<unnamed-unsigned:32> nsDOMWorkerXHRProxy::<Te69> (struct nsDOMWorkerXHRProxy
*)
# .MEM_132 = VDEF <.MEM_131>
D.17804.__pfn = Destroy;
../../../../dom/src/threads/nsDOMWorkerXHR.cpp:352:1: internal compiler error:
verify_stmts failed
--
Summary: type mismatch in address expression with -fwhopr
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hubicka at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44893