public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/61430] New: [4.10 regression] ICE in lra_create_copy
@ 2014-06-06 15:33 christophe.lyon at st dot com
  2014-06-06 15:33 ` [Bug middle-end/61430] " christophe.lyon at st dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: christophe.lyon at st dot com @ 2014-06-06 15:33 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 61430
           Summary: [4.10 regression] ICE in lra_create_copy
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: christophe.lyon at st dot com

Commit 211304 (Move 2nd VRP pass before phi-only-cprop) make GCC ICE when build
glibc for target arm-none-linux-gnueabihf --with-cpu=cortex-a5 (works with
cortex-a9).

Compile with:
$ arm-none-linux-gnueabihf-gcc vfscanf.i -c -std=gnu99 -O2

vfscanf.c: In function '_IO_vfscanf_internal':
vfscanf.c:2937:1: internal compiler error: in lra_create_copy, at lra.c:1368
 }
 ^
0x86ad8b lra_create_copy(int, int, int)
        /work1/lyon/Work/ARM/Linaro/sources/gcc-fsf/trunk/gcc/lra.c:1368
0x8836a0 process_bb_lives
        /work1/lyon/Work/ARM/Linaro/sources/gcc-fsf/trunk/gcc/lra-lives.c:568
0x8836a0 lra_create_live_ranges(bool)
        /work1/lyon/Work/ARM/Linaro/sources/gcc-fsf/trunk/gcc/lra-lives.c:1019
0x86c3b4 lra(_IO_FILE*)
        /work1/lyon/Work/ARM/Linaro/sources/gcc-fsf/trunk/gcc/lra.c:2212
0x82c62e do_reload
        /work1/lyon/Work/ARM/Linaro/sources/gcc-fsf/trunk/gcc/ira.c:5414
0x82c62e execute
        /work1/lyon/Work/ARM/Linaro/sources/gcc-fsf/trunk/gcc/ira.c:5575
Please submit a full bug report,

gcc configured with:
--target=arm-none-linux-gnueabihf --enable-languages=c --with-float=hard
--enable-build-with-cxx --with-mode=arm --with-cpu=cortex-a5
--with-fpu=vfpv3-d16-fp16


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

* [Bug middle-end/61430] [4.10 regression] ICE in lra_create_copy
  2014-06-06 15:33 [Bug middle-end/61430] New: [4.10 regression] ICE in lra_create_copy christophe.lyon at st dot com
@ 2014-06-06 15:33 ` christophe.lyon at st dot com
  2014-06-06 15:41 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: christophe.lyon at st dot com @ 2014-06-06 15:33 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from christophe.lyon at st dot com ---
Created attachment 32902
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32902&action=edit
vfscanf.i


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

* [Bug middle-end/61430] [4.10 regression] ICE in lra_create_copy
  2014-06-06 15:33 [Bug middle-end/61430] New: [4.10 regression] ICE in lra_create_copy christophe.lyon at st dot com
  2014-06-06 15:33 ` [Bug middle-end/61430] " christophe.lyon at st dot com
@ 2014-06-06 15:41 ` rguenth at gcc dot gnu.org
  2014-06-06 16:09 ` christophe.lyon at st dot com
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-06-06 15:41 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |arm-none-linux-gnueabihf
                 CC|                            |vmakarov at gcc dot gnu.org
   Target Milestone|---                         |4.10.0

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Well, an LRA ICE is unlikely caused by this change.  It must be a latent issue
instead.


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

* [Bug middle-end/61430] [4.10 regression] ICE in lra_create_copy
  2014-06-06 15:33 [Bug middle-end/61430] New: [4.10 regression] ICE in lra_create_copy christophe.lyon at st dot com
  2014-06-06 15:33 ` [Bug middle-end/61430] " christophe.lyon at st dot com
  2014-06-06 15:41 ` rguenth at gcc dot gnu.org
@ 2014-06-06 16:09 ` christophe.lyon at st dot com
  2014-06-16  9:21 ` christophe.lyon at st dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: christophe.lyon at st dot com @ 2014-06-06 16:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from christophe.lyon at st dot com ---
Probably, since the build succeeded at rev 211303.


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

* [Bug middle-end/61430] [4.10 regression] ICE in lra_create_copy
  2014-06-06 15:33 [Bug middle-end/61430] New: [4.10 regression] ICE in lra_create_copy christophe.lyon at st dot com
                   ` (2 preceding siblings ...)
  2014-06-06 16:09 ` christophe.lyon at st dot com
@ 2014-06-16  9:21 ` christophe.lyon at st dot com
  2014-06-16  9:48 ` jgreenhalgh at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: christophe.lyon at st dot com @ 2014-06-16  9:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from christophe.lyon at st dot com ---
Since commit 211625:
2014-06-13  Richard Biener  <rguenther@suse.de>

        * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
        Rewrite to propagate the VN result into all uses where
        possible and to remove stmts becoming dead because of that.
        (eliminate): Generalize stmt removal handling, remove in
        reverse dominator order to support proper debug stmt
        generation.  Update stmts before removing stmts.
        * tree-ssa-propagate.c (propagate_tree_value): Remove
        bogus assert.

The same error now appears when building other GCC configurations:
--target                   mode --with-cpu      --with-fpu
arm-none-linux-gnueabi        arm     cortex-a9     default
arm-none-linux-gnueabihf   arm     cortex-a9     neon-fp16
arm-none-linux-gnueabihf   arm     cortex-a9     vfp
arm-none-linux-gnueabihf   arm     cortex-a15     neon-vfpv4
armeb-none-linux-gnueabihf arm     cortex-a9     neon-fp16

Vladimir, can you have a look?


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

* [Bug middle-end/61430] [4.10 regression] ICE in lra_create_copy
  2014-06-06 15:33 [Bug middle-end/61430] New: [4.10 regression] ICE in lra_create_copy christophe.lyon at st dot com
                   ` (3 preceding siblings ...)
  2014-06-16  9:21 ` christophe.lyon at st dot com
@ 2014-06-16  9:48 ` jgreenhalgh at gcc dot gnu.org
  2014-06-16  9:59 ` cltang at gcc dot gnu.org
  2014-06-17  6:55 ` ramana at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: jgreenhalgh at gcc dot gnu.org @ 2014-06-16  9:48 UTC (permalink / raw)
  To: gcc-bugs

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

jgreenhalgh at gcc dot gnu.org changed:

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

--- Comment #5 from jgreenhalgh at gcc dot gnu.org ---
This looks like:
  https://gcc.gnu.org/ml/gcc-patches/2014-06/msg00971.html

Which has been approved by Vladimir. I guess if I don't hear anything from
Chung-Lin in the next few hours I'll commit this on their behalf.


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

* [Bug middle-end/61430] [4.10 regression] ICE in lra_create_copy
  2014-06-06 15:33 [Bug middle-end/61430] New: [4.10 regression] ICE in lra_create_copy christophe.lyon at st dot com
                   ` (4 preceding siblings ...)
  2014-06-16  9:48 ` jgreenhalgh at gcc dot gnu.org
@ 2014-06-16  9:59 ` cltang at gcc dot gnu.org
  2014-06-17  6:55 ` ramana at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: cltang at gcc dot gnu.org @ 2014-06-16  9:59 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Chung-Lin Tang <cltang at gcc dot gnu.org> ---
Author: cltang
Date: Mon Jun 16 09:58:34 2014
New Revision: 211701

URL: https://gcc.gnu.org/viewcvs?rev=211701&root=gcc&view=rev
Log:
2014-06-16  Chung-Lin Tang  <cltang@codesourcery.com>

    PR middle-end/61430
    * lra-lives.c (process_bb_lives): Skip creating copy during
    insn scan when src/dest has constrained to same regno.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lra-lives.c


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

* [Bug middle-end/61430] [4.10 regression] ICE in lra_create_copy
  2014-06-06 15:33 [Bug middle-end/61430] New: [4.10 regression] ICE in lra_create_copy christophe.lyon at st dot com
                   ` (5 preceding siblings ...)
  2014-06-16  9:59 ` cltang at gcc dot gnu.org
@ 2014-06-17  6:55 ` ramana at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: ramana at gcc dot gnu.org @ 2014-06-17  6:55 UTC (permalink / raw)
  To: gcc-bugs

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

Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |ramana at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #7 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> ---
Presumably fixed now.


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

end of thread, other threads:[~2014-06-17  6:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-06 15:33 [Bug middle-end/61430] New: [4.10 regression] ICE in lra_create_copy christophe.lyon at st dot com
2014-06-06 15:33 ` [Bug middle-end/61430] " christophe.lyon at st dot com
2014-06-06 15:41 ` rguenth at gcc dot gnu.org
2014-06-06 16:09 ` christophe.lyon at st dot com
2014-06-16  9:21 ` christophe.lyon at st dot com
2014-06-16  9:48 ` jgreenhalgh at gcc dot gnu.org
2014-06-16  9:59 ` cltang at gcc dot gnu.org
2014-06-17  6:55 ` ramana 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).