public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "konstantinos.margaritis at linaro dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/50946] New: ICE on armhf with webkitgtk+
Date: Tue, 01 Nov 2011 19:55:00 -0000	[thread overview]
Message-ID: <bug-50946-4@http.gcc.gnu.org/bugzilla/> (raw)

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50946

             Bug #: 50946
           Summary: ICE on armhf with webkitgtk+
    Classification: Unclassified
           Product: gcc
           Version: 4.6.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: konstantinos.margaritis@linaro.org


Created attachment 25677
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25677
minimal testcase produced using delta tool from
Source/WebCore/bindings/js/SerializedScriptValue.cpp in webkitgtk+

webkitgtk+_1.4.2-2 fails to build from source on Debian armhf due to a gcc ICE:

http://buildd.debian-ports.org/status/fetch.php?pkg=webkitgtk%2B&arch=armhf&ver=1.4.2-2&stamp=1311782209

Compiler originally used was g++ 4.6.1-10 but the same ICE appears with 4.6.2-3
(current Debian/unstable):

...
  CXX    Source/WebCore/bindings/js/libWebCore_la-SerializedScriptValue.lo
In file included from ../Source/JavaScriptCore/wtf/PassRefPtr.h:25:0,
                 from ../Source/JavaScriptCore/wtf/RefPtr.h:28,
                 from ../Source/JavaScriptCore/wtf/HashFunctions.h:24,
                 from ../Source/JavaScriptCore/wtf/HashTraits.h:24,
                 from ../Source/JavaScriptCore/runtime/JSValue.h:31,
                 from
../Source/JavaScriptCore/runtime/CachedTranscendentalFunction.h:29,
                 from ../Source/JavaScriptCore/runtime/JSGlobalData.h:32,
                 from ../Source/JavaScriptCore/interpreter/CallFrame.h:26,
                 from ../Source/JavaScriptCore/runtime/ArgList.h:25,
                 from ../Source/JavaScriptCore/runtime/JSObject.h:26,
                 from ../Source/JavaScriptCore/runtime/JSArray.h:24,
                 from ../Source/JavaScriptCore/runtime/JSGlobalObject.h:25,
                 from ../Source/WebCore/bindings/js/JSDOMGlobalObject.h:30,
                 from ../Source/WebCore/bindings/js/JSDOMBinding.h:25,
                 from ../Source/WebCore/bindings/js/ScriptValue.h:34,
                 from ../Source/WebCore/bindings/js/SerializedScriptValue.h:30,
                 from
../Source/WebCore/bindings/js/SerializedScriptValue.cpp:28:
../Source/JavaScriptCore/wtf/NullPtr.h:48:1: warning: identifier
'nullptr' will become a keyword in C++0x [-Wc++0x-compat]
In file included from ../Source/JavaScriptCore/runtime/JSObject.h:31:0,
                 from ../Source/JavaScriptCore/runtime/JSArray.h:24,
                 from ../Source/JavaScriptCore/runtime/JSGlobalObject.h:25,
                 from ../Source/WebCore/bindings/js/JSDOMGlobalObject.h:30,
                 from ../Source/WebCore/bindings/js/JSDOMBinding.h:25,
                 from ../Source/WebCore/bindings/js/ScriptValue.h:34,
                 from ../Source/WebCore/bindings/js/SerializedScriptValue.h:30,
                 from
../Source/WebCore/bindings/js/SerializedScriptValue.cpp:28:
../Source/JavaScriptCore/runtime/JSCell.h: In member function 'void*
JSC::MarkedBlock::allocate()':
../Source/JavaScriptCore/runtime/JSCell.h:380:78: warning: cast from
'char (*)[8]' to 'JSC::JSCell*' increases required alignment of target
type [-Wcast-align]
In file included from ../Source/JavaScriptCore/collector/handles/Handle.h:29:0,
                 from
../Source/JavaScriptCore/collector/handles/HandleHeap.h:30,
                 from ../Source/JavaScriptCore/runtime/Heap.h:25,
                 from ../Source/JavaScriptCore/runtime/JSGlobalData.h:33,
                 from ../Source/JavaScriptCore/interpreter/CallFrame.h:26,
                 from ../Source/JavaScriptCore/runtime/ArgList.h:25,
                 from ../Source/JavaScriptCore/runtime/JSObject.h:26,
                 from ../Source/JavaScriptCore/runtime/JSArray.h:24,
                 from ../Source/JavaScriptCore/runtime/JSGlobalObject.h:25,
                 from ../Source/WebCore/bindings/js/JSDOMGlobalObject.h:30,
                 from ../Source/WebCore/bindings/js/JSDOMBinding.h:25,
                 from ../Source/WebCore/bindings/js/ScriptValue.h:34,
                 from ../Source/WebCore/bindings/js/SerializedScriptValue.h:30,
                 from
../Source/WebCore/bindings/js/SerializedScriptValue.cpp:28:
../Source/JavaScriptCore/runtime/WriteBarrier.h: In member function
'T* JSC::WriteBarrierBase<T>::get() const [with T =
JSC::JSGlobalObject]':
../Source/JavaScriptCore/runtime/ScopeChain.h:76:86:   instantiated from here
../Source/JavaScriptCore/runtime/WriteBarrier.h:97:56: warning: cast
from 'JSC::JSCell*' to 'JSC::JSGlobalObject*' increases required
alignment of target type [-Wcast-align]
../Source/JavaScriptCore/runtime/WriteBarrier.h: In member function
'T* JSC::WriteBarrierBase<T>::get() const [with T =
JSC::ObjectPrototype]':
../Source/JavaScriptCore/runtime/JSGlobalObject.h:185:81:
instantiated from here
../Source/JavaScriptCore/runtime/WriteBarrier.h:97:56: warning: cast
from 'JSC::JSCell*' to 'JSC::ObjectPrototype*' increases required
alignment of target type [-Wcast-align]
../Source/JavaScriptCore/runtime/WriteBarrier.h: In member function
'T* JSC::WriteBarrierBase<T>::get() const [with T =
JSC::StringPrototype]':
../Source/JavaScriptCore/runtime/JSGlobalObject.h:189:81:
instantiated from here
../Source/JavaScriptCore/runtime/WriteBarrier.h:97:56: warning: cast
from 'JSC::JSCell*' to 'JSC::StringPrototype*' increases required
alignment of target type [-Wcast-align]
../Source/JavaScriptCore/runtime/WriteBarrier.h: In member function
'T* JSC::WriteBarrierBase<T>::get() const [with T =
JSC::NumberPrototype]':
../Source/JavaScriptCore/runtime/JSGlobalObject.h:190:81:
instantiated from here
../Source/JavaScriptCore/runtime/WriteBarrier.h:97:56: warning: cast
from 'JSC::JSCell*' to 'JSC::NumberPrototype*' increases required
alignment of target type [-Wcast-align]
In file included from
../Source/JavaScriptCore/collector/handles/HandleHeap.h:30:0,
                 from ../Source/JavaScriptCore/runtime/Heap.h:25,
                 from ../Source/JavaScriptCore/runtime/JSGlobalData.h:33,
                 from ../Source/JavaScriptCore/interpreter/CallFrame.h:26,
                 from ../Source/JavaScriptCore/runtime/ArgList.h:25,
                 from ../Source/JavaScriptCore/runtime/JSObject.h:26,
                 from ../Source/JavaScriptCore/runtime/JSArray.h:24,
                 from ../Source/JavaScriptCore/runtime/JSGlobalObject.h:25,
                 from ../Source/WebCore/bindings/js/JSDOMGlobalObject.h:30,
                 from ../Source/WebCore/bindings/js/JSDOMBinding.h:25,
                 from ../Source/WebCore/bindings/js/ScriptValue.h:34,
                 from ../Source/WebCore/bindings/js/SerializedScriptValue.h:30,
                 from
../Source/WebCore/bindings/js/SerializedScriptValue.cpp:28:
../Source/JavaScriptCore/collector/handles/Handle.h: In static member
function 'static T* JSC::HandleTypes<T>::getFromSlot(JSC::HandleSlot)
[with T = WebCore::DOMObject, JSC::HandleTypes<T>::ExternalType =
WebCore::DOMObject*, JSC::HandleSlot = JSC::JSValue*]':
../Source/JavaScriptCore/runtime/WeakGCPtr.h:59:74:   instantiated
from 'JSC::WeakGCPtr<T>::ExternalType JSC::WeakGCPtr<T>::get() const
[with T = WebCore::DOMObject, JSC::WeakGCPtr<T>::ExternalType =
WebCore::DOMObject*]'
../Source/WebCore/bindings/js/ScriptWrappable.h:47:30:   instantiated from here
../Source/JavaScriptCore/collector/handles/Handle.h:94:130: warning:
cast from 'JSC::JSCell*' to
'JSC::HandleTypes<WebCore::DOMObject>::ExternalType {aka
WebCore::DOMObject*}' increases required alignment of target type
[-Wcast-align]
../Source/WebCore/bindings/js/SerializedScriptValue.cpp: In member
function 'void WebCore::CloneSerializer::write(double)':
../Source/WebCore/bindings/js/SerializedScriptValue.cpp:499:5:
internal compiler error: in simplify_gen_subreg_concatn, at
lower-subreg.c:489
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.

I used the delta package to produce a minimal testcase for the ICE
which I attach.
You can reproduce the ICE with g++ -O2 -fpermissive -Wfatal-errors -w
webkit_testcase-min.i.

The bug has also been reported to the Debian BTS:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641849

Thanks

Konstantinos


             reply	other threads:[~2011-11-01 19:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-01 19:55 konstantinos.margaritis at linaro dot org [this message]
2011-11-01 20:56 ` [Bug target/50946] " rearnsha at gcc dot gnu.org
2011-11-01 21:15 ` konstantinos.margaritis at linaro dot org
2012-01-18 15:19 ` mgretton at sourceware dot org
2012-02-19 17:43 ` mikpe at it dot uu.se
2012-02-28 20:19 ` doko at gcc dot gnu.org
2012-04-05 10:57 ` [Bug target/50946] [4.6 Regression] " rguenth at gcc dot gnu.org
2013-04-12 16:18 ` jakub at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-50946-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).