From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32406 invoked by alias); 4 Jul 2014 03:38:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 31525 invoked by uid 48); 4 Jul 2014 03:37:51 -0000 From: "manjian2006 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/61711] New: thumb1_reorg crashes Date: Fri, 04 Jul 2014 03:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: blocker X-Bugzilla-Who: manjian2006 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-07/txt/msg00206.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61711 Bug ID: 61711 Summary: thumb1_reorg crashes Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: manjian2006 at gmail dot com Compiling the attached source will result in the crash. arm-linux-androideabi-g++ -c -fpic -ffunction-sections -funwind-tables -fstack-protector -Wno-psabi -march=armv5te -mtune=xscale -msoft-float -fno-exceptions -fno-rtti -mthumb -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -gdwarf-2 -funwind-tables -fno-pic -fPIC -fno-stack-protector -fvisibility=hidden -gdwarf-2 -funwind-tables -fno-pic -fPIC -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -Wa,--noexecstack -O0 -g -Wreturn-type -Wuninitialized /tmp/1.cpp /media/linzj/normal/home/linzj/src/u3/shell-git/core/WebCore/bindings/v8/V8DOMWrapper.h: In static member function 'static v8::Handle WebCore::V8DOMWrapper::getWrapper(WebCore::Node*)': /media/linzj/normal/home/linzj/src/u3/shell-git/core/WebCore/bindings/v8/V8DOMWrapper.h:136:9: internal compiler error: Segmentation fault } ^ 0x94564f crash_signal ../../building/gcc/toplev.c:337 0xb523a8 thumb1_reorg ../../building/gcc/config/arm/arm.c:16728 0xb523a8 arm_reorg ../../building/gcc/config/arm/arm.c:16981 0x8fc039 rest_of_handle_machine_reorg ../../building/gcc/reorg.c:3936 0x8fc039 execute ../../building/gcc/reorg.c:3966 Please submit a full bug report, As far as I debug, I find out: /* Find the last cbranchsi4_insn in basic block BB. */ if (INSN_CODE (insn) != CODE_FOR_cbranchsi4_insn) continue; /* Get the register with which we are comparing. */ => pat = PATTERN (insn); op0 = XEXP (XEXP (SET_SRC (pat), 0), 0); pat is NULL.