http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48505
Summary: LTO ICE lhd_set_decl_assembler_name, at langhooks.c:158 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassig...@gcc.gnu.org ReportedBy: hubi...@gcc.gnu.org jh@evans:/abuild/jh/build-mozilla-new11-lto/js/src> /abuild/jh/trunk-install/bin/g++ -flto=24 -o FrameState.o ~/FrameState.ii -g -O2 -c In file included from /abuild/jh/mozilla-central2/mozilla-central/js/src/jsatom.h:52:0, from /abuild/jh/mozilla-central2/mozilla-central/js/src/jscntxt.h:52, from /abuild/jh/mozilla-central2/mozilla-central/js/src/methodjit/FrameState.cpp:39: /abuild/jh/mozilla-central2/mozilla-central/js/src/jsstr.h: In static member function ?static void JSShortString::staticAsserts()?: /abuild/jh/mozilla-central2/mozilla-central/js/src/jsstr.h:526:95: warning: invalid access to non-static data member ?JSString::d? of NULL object [-Winvalid-offsetof] /abuild/jh/mozilla-central2/mozilla-central/js/src/jsstr.h:526:95: warning: (perhaps the ?offsetof? macro was used incorrectly) [-Winvalid-offsetof] In file included from /abuild/jh/mozilla-central2/mozilla-central/js/src/jscntxt.h:55:0, from /abuild/jh/mozilla-central2/mozilla-central/js/src/methodjit/FrameState.cpp:39: /abuild/jh/mozilla-central2/mozilla-central/js/src/jsfun.h: In static member function ?static uintN JSFunction::offsetOfNativeOrScript()?: /abuild/jh/mozilla-central2/mozilla-central/js/src/jsfun.h:230:48: warning: invalid access to non-static data member ?JSFunction::u? of NULL object [-Winvalid-offsetof] /abuild/jh/mozilla-central2/mozilla-central/js/src/jsfun.h:230:48: warning: (perhaps the ?offsetof? macro was used incorrectly) [-Winvalid-offsetof] In file included from /abuild/jh/mozilla-central2/mozilla-central/js/src/methodjit/FrameState.cpp:39:0: /abuild/jh/mozilla-central2/mozilla-central/js/src/jscntxt.h: In function ?JSContext* js_ContextFromLinkField(JSCList*)?: /abuild/jh/mozilla-central2/mozilla-central/js/src/jscntxt.h:2929:75: warning: invalid access to non-static data member ?JSContext::link? of NULL object [-Winvalid-offsetof] /abuild/jh/mozilla-central2/mozilla-central/js/src/jscntxt.h:2929:75: warning: (perhaps the ?offsetof? macro was used incorrectly) [-Winvalid-offsetof] In file included from /abuild/jh/mozilla-central2/mozilla-central/js/src/methodjit/BaseAssembler.h:53:0, from /abuild/jh/mozilla-central2/mozilla-central/js/src/methodjit/CodeGenIncludes.h:63, from /abuild/jh/mozilla-central2/mozilla-central/js/src/methodjit/FrameState.h:46, from /abuild/jh/mozilla-central2/mozilla-central/js/src/methodjit/FrameState.cpp:40: /abuild/jh/mozilla-central2/mozilla-central/js/src/jsobjinlines.h: In member function ?void JSObject::setArrayLength(uint32)?: /abuild/jh/mozilla-central2/mozilla-central/js/src/jsobjinlines.h:364:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] In file included from /abuild/jh/mozilla-central2/mozilla-central/js/src/assembler/assembler/MacroAssemblerX86Common.h:37:0, from /abuild/jh/mozilla-central2/mozilla-central/js/src/assembler/assembler/MacroAssemblerX86_64.h:37, from /abuild/jh/mozilla-central2/mozilla-central/js/src/assembler/assembler/MacroAssembler.h:54, from /abuild/jh/mozilla-central2/mozilla-central/js/src/methodjit/MachineRegs.h:44, from /abuild/jh/mozilla-central2/mozilla-central/js/src/methodjit/FrameState.h:44, from /abuild/jh/mozilla-central2/mozilla-central/js/src/methodjit/FrameState.cpp:40: /abuild/jh/mozilla-central2/mozilla-central/js/src/assembler/assembler/X86Assembler.h: In function ?JSC::X86Registers::nameFPReg(JSC::X86Registers::XMMRegisterID)?: /abuild/jh/mozilla-central2/mozilla-central/js/src/assembler/assembler/X86Assembler.h:2130:61: internal compiler error: in lhd_set_decl_assembler_name, at langhooks.c:158 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.