public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/61712] New: thumb1_reorg crashes
@ 2014-07-04  3:40 manjian2006 at gmail dot com
  2014-07-04  3:44 ` [Bug rtl-optimization/61712] " manjian2006 at gmail dot com
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: manjian2006 at gmail dot com @ 2014-07-04  3:40 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61712

            Bug ID: 61712
           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<v8::Object>
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.


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug rtl-optimization/61712] thumb1_reorg crashes
  2014-07-04  3:40 [Bug rtl-optimization/61712] New: thumb1_reorg crashes manjian2006 at gmail dot com
@ 2014-07-04  3:44 ` manjian2006 at gmail dot com
  2014-07-04  8:01 ` ktkachov at gcc dot gnu.org
                   ` (16 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: manjian2006 at gmail dot com @ 2014-07-04  3:44 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61712

--- Comment #1 from linzj <manjian2006 at gmail dot com> ---
Created attachment 33068
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33068&action=edit
source that crashes


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug rtl-optimization/61712] thumb1_reorg crashes
  2014-07-04  3:40 [Bug rtl-optimization/61712] New: thumb1_reorg crashes manjian2006 at gmail dot com
  2014-07-04  3:44 ` [Bug rtl-optimization/61712] " manjian2006 at gmail dot com
@ 2014-07-04  8:01 ` ktkachov at gcc dot gnu.org
  2014-07-04  8:02 ` ktkachov at gcc dot gnu.org
                   ` (15 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2014-07-04  8:01 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61712

--- Comment #2 from ktkachov at gcc dot gnu.org ---
*** Bug 61703 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug rtl-optimization/61712] thumb1_reorg crashes
  2014-07-04  3:40 [Bug rtl-optimization/61712] New: thumb1_reorg crashes manjian2006 at gmail dot com
  2014-07-04  3:44 ` [Bug rtl-optimization/61712] " manjian2006 at gmail dot com
  2014-07-04  8:01 ` ktkachov at gcc dot gnu.org
@ 2014-07-04  8:02 ` ktkachov at gcc dot gnu.org
  2014-07-04  8:02 ` ktkachov at gcc dot gnu.org
                   ` (14 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2014-07-04  8:02 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61712

--- Comment #3 from ktkachov at gcc dot gnu.org ---
*** Bug 61704 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug rtl-optimization/61712] thumb1_reorg crashes
  2014-07-04  3:40 [Bug rtl-optimization/61712] New: thumb1_reorg crashes manjian2006 at gmail dot com
                   ` (2 preceding siblings ...)
  2014-07-04  8:02 ` ktkachov at gcc dot gnu.org
@ 2014-07-04  8:02 ` ktkachov at gcc dot gnu.org
  2014-07-04  8:03 ` ktkachov at gcc dot gnu.org
                   ` (13 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2014-07-04  8:02 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61712

--- Comment #4 from ktkachov at gcc dot gnu.org ---
*** Bug 61705 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug rtl-optimization/61712] thumb1_reorg crashes
  2014-07-04  3:40 [Bug rtl-optimization/61712] New: thumb1_reorg crashes manjian2006 at gmail dot com
                   ` (4 preceding siblings ...)
  2014-07-04  8:03 ` ktkachov at gcc dot gnu.org
@ 2014-07-04  8:03 ` ktkachov at gcc dot gnu.org
  2014-07-04  8:04 ` ktkachov at gcc dot gnu.org
                   ` (11 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2014-07-04  8:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61712

--- Comment #6 from ktkachov at gcc dot gnu.org ---
*** Bug 61706 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug rtl-optimization/61712] thumb1_reorg crashes
  2014-07-04  3:40 [Bug rtl-optimization/61712] New: thumb1_reorg crashes manjian2006 at gmail dot com
                   ` (3 preceding siblings ...)
  2014-07-04  8:02 ` ktkachov at gcc dot gnu.org
@ 2014-07-04  8:03 ` ktkachov at gcc dot gnu.org
  2014-07-04  8:03 ` ktkachov at gcc dot gnu.org
                   ` (12 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2014-07-04  8:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61712

--- Comment #5 from ktkachov at gcc dot gnu.org ---
*** Bug 61702 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug rtl-optimization/61712] thumb1_reorg crashes
  2014-07-04  3:40 [Bug rtl-optimization/61712] New: thumb1_reorg crashes manjian2006 at gmail dot com
                   ` (5 preceding siblings ...)
  2014-07-04  8:03 ` ktkachov at gcc dot gnu.org
@ 2014-07-04  8:04 ` ktkachov at gcc dot gnu.org
  2014-07-04  8:05 ` ktkachov at gcc dot gnu.org
                   ` (10 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2014-07-04  8:04 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61712

--- Comment #7 from ktkachov at gcc dot gnu.org ---
*** Bug 61707 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug rtl-optimization/61712] thumb1_reorg crashes
  2014-07-04  3:40 [Bug rtl-optimization/61712] New: thumb1_reorg crashes manjian2006 at gmail dot com
                   ` (7 preceding siblings ...)
  2014-07-04  8:05 ` ktkachov at gcc dot gnu.org
@ 2014-07-04  8:05 ` ktkachov at gcc dot gnu.org
  2014-07-04  8:05 ` ktkachov at gcc dot gnu.org
                   ` (8 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2014-07-04  8:05 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61712

--- Comment #10 from ktkachov at gcc dot gnu.org ---
*** Bug 61709 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug rtl-optimization/61712] thumb1_reorg crashes
  2014-07-04  3:40 [Bug rtl-optimization/61712] New: thumb1_reorg crashes manjian2006 at gmail dot com
                   ` (8 preceding siblings ...)
  2014-07-04  8:05 ` ktkachov at gcc dot gnu.org
@ 2014-07-04  8:05 ` ktkachov at gcc dot gnu.org
  2014-07-04  8:06 ` ktkachov at gcc dot gnu.org
                   ` (7 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2014-07-04  8:05 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61712

--- Comment #8 from ktkachov at gcc dot gnu.org ---
*** Bug 61708 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug rtl-optimization/61712] thumb1_reorg crashes
  2014-07-04  3:40 [Bug rtl-optimization/61712] New: thumb1_reorg crashes manjian2006 at gmail dot com
                   ` (6 preceding siblings ...)
  2014-07-04  8:04 ` ktkachov at gcc dot gnu.org
@ 2014-07-04  8:05 ` ktkachov at gcc dot gnu.org
  2014-07-04  8:05 ` ktkachov at gcc dot gnu.org
                   ` (9 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2014-07-04  8:05 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61712

--- Comment #9 from ktkachov at gcc dot gnu.org ---
*** Bug 61710 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug rtl-optimization/61712] thumb1_reorg crashes
  2014-07-04  3:40 [Bug rtl-optimization/61712] New: thumb1_reorg crashes manjian2006 at gmail dot com
                   ` (9 preceding siblings ...)
  2014-07-04  8:05 ` ktkachov at gcc dot gnu.org
@ 2014-07-04  8:06 ` ktkachov at gcc dot gnu.org
  2014-07-04  8:07 ` ktkachov at gcc dot gnu.org
                   ` (6 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2014-07-04  8:06 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61712

--- Comment #11 from ktkachov at gcc dot gnu.org ---
*** Bug 61711 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug rtl-optimization/61712] thumb1_reorg crashes
  2014-07-04  3:40 [Bug rtl-optimization/61712] New: thumb1_reorg crashes manjian2006 at gmail dot com
                   ` (10 preceding siblings ...)
  2014-07-04  8:06 ` ktkachov at gcc dot gnu.org
@ 2014-07-04  8:07 ` ktkachov at gcc dot gnu.org
  2014-07-04  8:22 ` manjian2006 at gmail dot com
                   ` (5 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2014-07-04  8:07 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61712

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ktkachov at gcc dot gnu.org

--- Comment #12 from ktkachov at gcc dot gnu.org ---
I can't reproduce this with current trunk, on what compiler version does this
trigger?

*gcc -v should tell this


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug rtl-optimization/61712] thumb1_reorg crashes
  2014-07-04  3:40 [Bug rtl-optimization/61712] New: thumb1_reorg crashes manjian2006 at gmail dot com
                   ` (11 preceding siblings ...)
  2014-07-04  8:07 ` ktkachov at gcc dot gnu.org
@ 2014-07-04  8:22 ` manjian2006 at gmail dot com
  2014-07-04  8:23 ` manjian2006 at gmail dot com
                   ` (4 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: manjian2006 at gmail dot com @ 2014-07-04  8:22 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61712

--- Comment #13 from linzj <manjian2006 at gmail dot com> ---
(In reply to ktkachov from comment #12)
> I can't reproduce this with current trunk, on what compiler version does
> this trigger?
> 
> *gcc -v should tell this

arm-linux-androideabi-gcc (GCC) 4.9.1 20140704 (prerelease)
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


commit ad1c36144f315b81651673aaeb72be0f6b0ec757
Author: gccadmin <gccadmin@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Fri Jul 4 00:16:42 2014 +0000

    Daily bump.

    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@212276
138bc75d-0d04-0410-961f-82ee72b054a4


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug rtl-optimization/61712] thumb1_reorg crashes
  2014-07-04  3:40 [Bug rtl-optimization/61712] New: thumb1_reorg crashes manjian2006 at gmail dot com
                   ` (12 preceding siblings ...)
  2014-07-04  8:22 ` manjian2006 at gmail dot com
@ 2014-07-04  8:23 ` manjian2006 at gmail dot com
  2014-07-04  9:20 ` amker at gcc dot gnu.org
                   ` (3 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: manjian2006 at gmail dot com @ 2014-07-04  8:23 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61712

--- Comment #14 from linzj <manjian2006 at gmail dot com> ---
I have already submited a patch too.


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug rtl-optimization/61712] thumb1_reorg crashes
  2014-07-04  3:40 [Bug rtl-optimization/61712] New: thumb1_reorg crashes manjian2006 at gmail dot com
                   ` (13 preceding siblings ...)
  2014-07-04  8:23 ` manjian2006 at gmail dot com
@ 2014-07-04  9:20 ` amker at gcc dot gnu.org
  2014-07-04  9:34 ` manjian2006 at gmail dot com
                   ` (2 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: amker at gcc dot gnu.org @ 2014-07-04  9:20 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61712

--- Comment #15 from amker at gcc dot gnu.org ---
I think this is fixed on trunk by:
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=3df31d76aa8c14ff871fc15b931d277b8d68626a

2014-06-18  Terry Guo  <terry.guo@arm.com>

PR target/61544
* config/arm/arm.c (thumb1_reorg): Move to next basic block if we
reach the head.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211775
138bc75d-0d04-0410-961f-82ee72b054a4

I will ask for backport of the patch.


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug rtl-optimization/61712] thumb1_reorg crashes
  2014-07-04  3:40 [Bug rtl-optimization/61712] New: thumb1_reorg crashes manjian2006 at gmail dot com
                   ` (14 preceding siblings ...)
  2014-07-04  9:20 ` amker at gcc dot gnu.org
@ 2014-07-04  9:34 ` manjian2006 at gmail dot com
  2014-07-07 18:20 ` rearnsha at gcc dot gnu.org
  2014-07-29 10:50 ` rearnsha at gcc dot gnu.org
  17 siblings, 0 replies; 19+ messages in thread
From: manjian2006 at gmail dot com @ 2014-07-04  9:34 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61712

--- Comment #16 from linzj <manjian2006 at gmail dot com> ---
Thanks amker.


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug rtl-optimization/61712] thumb1_reorg crashes
  2014-07-04  3:40 [Bug rtl-optimization/61712] New: thumb1_reorg crashes manjian2006 at gmail dot com
                   ` (15 preceding siblings ...)
  2014-07-04  9:34 ` manjian2006 at gmail dot com
@ 2014-07-07 18:20 ` rearnsha at gcc dot gnu.org
  2014-07-29 10:50 ` rearnsha at gcc dot gnu.org
  17 siblings, 0 replies; 19+ messages in thread
From: rearnsha at gcc dot gnu.org @ 2014-07-07 18:20 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61712

--- Comment #17 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
*** Bug 61694 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug rtl-optimization/61712] thumb1_reorg crashes
  2014-07-04  3:40 [Bug rtl-optimization/61712] New: thumb1_reorg crashes manjian2006 at gmail dot com
                   ` (16 preceding siblings ...)
  2014-07-07 18:20 ` rearnsha at gcc dot gnu.org
@ 2014-07-29 10:50 ` rearnsha at gcc dot gnu.org
  17 siblings, 0 replies; 19+ messages in thread
From: rearnsha at gcc dot gnu.org @ 2014-07-29 10:50 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61712

Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #18 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
Duplicate.

*** This bug has been marked as a duplicate of bug 61544 ***


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2014-07-29 10:50 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-04  3:40 [Bug rtl-optimization/61712] New: thumb1_reorg crashes manjian2006 at gmail dot com
2014-07-04  3:44 ` [Bug rtl-optimization/61712] " manjian2006 at gmail dot com
2014-07-04  8:01 ` ktkachov at gcc dot gnu.org
2014-07-04  8:02 ` ktkachov at gcc dot gnu.org
2014-07-04  8:02 ` ktkachov at gcc dot gnu.org
2014-07-04  8:03 ` ktkachov at gcc dot gnu.org
2014-07-04  8:03 ` ktkachov at gcc dot gnu.org
2014-07-04  8:04 ` ktkachov at gcc dot gnu.org
2014-07-04  8:05 ` ktkachov at gcc dot gnu.org
2014-07-04  8:05 ` ktkachov at gcc dot gnu.org
2014-07-04  8:05 ` ktkachov at gcc dot gnu.org
2014-07-04  8:06 ` ktkachov at gcc dot gnu.org
2014-07-04  8:07 ` ktkachov at gcc dot gnu.org
2014-07-04  8:22 ` manjian2006 at gmail dot com
2014-07-04  8:23 ` manjian2006 at gmail dot com
2014-07-04  9:20 ` amker at gcc dot gnu.org
2014-07-04  9:34 ` manjian2006 at gmail dot com
2014-07-07 18:20 ` rearnsha at gcc dot gnu.org
2014-07-29 10:50 ` rearnsha at gcc dot gnu.org

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).