public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/58675] New: ICE in rs6000_secondary_reload_inner:15460, type = store
@ 2013-10-09 21:30 pthaugen at gcc dot gnu.org
  2014-01-14 22:59 ` [Bug target/58675] " bergner at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: pthaugen at gcc dot gnu.org @ 2013-10-09 21:30 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58675
           Summary: ICE in rs6000_secondary_reload_inner:15460, type =
                    store
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pthaugen at gcc dot gnu.org
                CC: bergner at gcc dot gnu.org, dje at gcc dot gnu.org,
                    meissner at gcc dot gnu.org
              Host: powerpc64-linux
            Target: powerpc64-linux
             Build: powerpc64-linux

Created attachment 30973
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30973&action=edit
Reduced testcase

Hit the following trying to build cpu2000 benchmark 177.mesa with -mcpu=power8.


[pthaugen@igoo p8_spec_errors]$ /home/pthaugen/install/gcc/trunk/bin/gcc -c
-m64 -O1 -mcpu=power8 triangle.c
rs6000_secondary_reload_inner:15460, type = store
(parallel [
        (set (mem/c:SF (plus:DI (plus:DI (reg/f:DI 1 1)
                        (const_int 65536 [0x10000]))
                    (const_int -30152 [0xffffffffffff8a38])) [0 %sfp+35384 S4
A32])
            (reg:SF 43 11))
        (clobber (reg:DI 10 10))
    ])
triangle.c: In function ‘lambda_textured_triangle’:
triangle.c:443:1: internal compiler error: in rs6000_secondary_reload_fail, at
config/rs6000/rs6000.c:15287
 }
 ^
0x109093e7 rs6000_secondary_reload_fail
    /home/pthaugen/src/gcc/trunk/gcc/gcc/config/rs6000/rs6000.c:15287
0x1093b3a3 rs6000_secondary_reload_inner(rtx_def*, rtx_def*, rtx_def*, bool)
    /home/pthaugen/src/gcc/trunk/gcc/gcc/config/rs6000/rs6000.c:15460
0x10a005eb gen_reload_sf_di_store(rtx_def*, rtx_def*, rtx_def*)
    /home/pthaugen/src/gcc/trunk/gcc/gcc/config/rs6000/vector.md:196
0x105a9e0f insn_gen_fn::operator()(rtx_def*, rtx_def*, rtx_def*) const
    /home/pthaugen/src/gcc/trunk/gcc/gcc/recog.h:285
0x105a9e0f emit_output_reload_insns
    /home/pthaugen/src/gcc/trunk/gcc/gcc/reload1.c:7696
0x105a9e0f do_output_reload
    /home/pthaugen/src/gcc/trunk/gcc/gcc/reload1.c:8006
0x105a9e0f emit_reload_insns
    /home/pthaugen/src/gcc/trunk/gcc/gcc/reload1.c:8074
0x105ad713 reload_as_needed
    /home/pthaugen/src/gcc/trunk/gcc/gcc/reload1.c:4649
0x105b1673 reload(rtx_def*, int)
    /home/pthaugen/src/gcc/trunk/gcc/gcc/reload1.c:1054
0x10484983 do_reload
    /home/pthaugen/src/gcc/trunk/gcc/gcc/ira.c:4698
0x10484983 rest_of_handle_reload
    /home/pthaugen/src/gcc/trunk/gcc/gcc/ira.c:4815
0x10484983 execute
    /home/pthaugen/src/gcc/trunk/gcc/gcc/ira.c:4844
Please submit a full bug report,
>From gcc-bugs-return-431374-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 09 22:06:40 2013
Return-Path: <gcc-bugs-return-431374-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23515 invoked by alias); 9 Oct 2013 22:06:39 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 23465 invoked by uid 48); 9 Oct 2013 22:06:32 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/58333] "performance" regression when using -std=c++0x
Date: Wed, 09 Oct 2013 22:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 4.6.3
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle dot com
X-Bugzilla-Status: RESOLVED
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_status resolution
Message-ID: <bug-58333-4-WNnxYZUKvm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58333-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58333-4@http.gcc.gnu.org/bugzilla/>
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: 2013-10/txt/msg00518.txt.bz2
Content-length: 505

http://gcc.gnu.org/bugzilla/show_bug.cgi?idX333

Paolo Carlini <paolo.carlini at oracle dot com> changed:

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

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> ---
I can reproduce with 4.6.x, but currently maintained branches are fine.


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

* [Bug target/58675] ICE in rs6000_secondary_reload_inner:15460, type = store
  2013-10-09 21:30 [Bug target/58675] New: ICE in rs6000_secondary_reload_inner:15460, type = store pthaugen at gcc dot gnu.org
@ 2014-01-14 22:59 ` bergner at gcc dot gnu.org
  2014-01-15 18:20 ` pthaugen at gcc dot gnu.org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bergner at gcc dot gnu.org @ 2014-01-14 22:59 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Peter Bergner <bergner at gcc dot gnu.org> ---
Pat, this doesn't ICE for me anymore.  Can we close this?


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

* [Bug target/58675] ICE in rs6000_secondary_reload_inner:15460, type = store
  2013-10-09 21:30 [Bug target/58675] New: ICE in rs6000_secondary_reload_inner:15460, type = store pthaugen at gcc dot gnu.org
  2014-01-14 22:59 ` [Bug target/58675] " bergner at gcc dot gnu.org
@ 2014-01-15 18:20 ` pthaugen at gcc dot gnu.org
  2014-02-10  6:30 ` amodra at gmail dot com
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pthaugen at gcc dot gnu.org @ 2014-01-15 18:20 UTC (permalink / raw)
  To: gcc-bugs

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

Pat Haugen <pthaugen at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #30973|0                           |1
        is obsolete|                            |

--- Comment #2 from Pat Haugen <pthaugen at gcc dot gnu.org> ---
Created attachment 31846
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31846&action=edit
New test

177.mesa still fails to build, new reduced testcase attached.

[pthaugen@igoo pr58675]$ /home/pthaugen/install/gcc/trunk/bin/gcc -c -m64 -O1
-mcpu=power8 triangle-2.c
rs6000_secondary_reload_inner:16294, type = store
(parallel [
        (set (mem/c:SF (plus:DI (plus:DI (reg/f:DI 1 1)
                        (const_int 65536 [0x10000]))
                    (const_int -30176 [0xffffffffffff8a20])) [0 %sfp+35360 S4
A32])
            (reg:SF 32 0))
        (clobber (reg:DI 9 9))
    ])
triangle-2.c: In function ‘lambda_textured_triangle’:
triangle-2.c:452:1: internal compiler error: in rs6000_secondary_reload_fail,
at config/rs6000/rs6000.c:16121
 }
 ^
0x109c2bf7 rs6000_secondary_reload_fail
    /home/pthaugen/src/gcc/trunk/gcc/gcc/config/rs6000/rs6000.c:16121
0x109f5957 rs6000_secondary_reload_inner(rtx_def*, rtx_def*, rtx_def*, bool)
    /home/pthaugen/src/gcc/trunk/gcc/gcc/config/rs6000/rs6000.c:16148
0x10ac908b gen_reload_sf_di_store(rtx_def*, rtx_def*, rtx_def*)
    /home/pthaugen/src/gcc/trunk/gcc/gcc/config/rs6000/vector.md:197
0x1063cf0b insn_gen_fn::operator()(rtx_def*, rtx_def*, rtx_def*) const
    /home/pthaugen/src/gcc/trunk/gcc/gcc/recog.h:285
0x1063cf0b emit_output_reload_insns
    /home/pthaugen/src/gcc/trunk/gcc/gcc/reload1.c:7758
0x1063cf0b do_output_reload
...
>From gcc-bugs-return-440472-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 15 19:10:45 2014
Return-Path: <gcc-bugs-return-440472-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11818 invoked by alias); 15 Jan 2014 19:10:45 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 11755 invoked by uid 55); 15 Jan 2014 19:10:42 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/59659] large zero-initialized std::array compile time excessive
Date: Wed, 15 Jan 2014 19:10:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 4.8.2
X-Bugzilla-Keywords: compile-time-hog, memory-hog, missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-59659-4-qJnSUPTtQd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59659-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59659-4@http.gcc.gnu.org/bugzilla/>
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-01/txt/msg01614.txt.bz2
Content-length: 756

http://gcc.gnu.org/bugzilla/show_bug.cgi?idY659

--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Jan 15 19:10:09 2014
New Revision: 206639

URL: http://gcc.gnu.org/viewcvs?rev 6639&root=gcc&view=rev
Log:
    PR c++/59659
    * typeck2.c (massage_init_elt): New.
    (process_init_constructor_record)
    (process_init_constructor_union): Use it.
    (process_init_constructor_array): Use it.  Use RANGE_EXPR.
    (split_nonconstant_init_1): Handle it.
    * semantics.c (cxx_eval_vec_init_1): Use force_rvalue.

Added:
    trunk/gcc/testsuite/g++.dg/opt/value-init1.C
    trunk/gcc/testsuite/g++.dg/opt/value-init2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c
    trunk/gcc/cp/typeck2.c


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

* [Bug target/58675] ICE in rs6000_secondary_reload_inner:15460, type = store
  2013-10-09 21:30 [Bug target/58675] New: ICE in rs6000_secondary_reload_inner:15460, type = store pthaugen at gcc dot gnu.org
  2014-01-14 22:59 ` [Bug target/58675] " bergner at gcc dot gnu.org
  2014-01-15 18:20 ` pthaugen at gcc dot gnu.org
@ 2014-02-10  6:30 ` amodra at gmail dot com
  2014-02-10  6:33 ` amodra at gmail dot com
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: amodra at gmail dot com @ 2014-02-10  6:30 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Alan Modra <amodra at gmail dot com> ---
*** Bug 57935 has been marked as a duplicate of this bug. ***


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

* [Bug target/58675] ICE in rs6000_secondary_reload_inner:15460, type = store
  2013-10-09 21:30 [Bug target/58675] New: ICE in rs6000_secondary_reload_inner:15460, type = store pthaugen at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2014-02-10  6:30 ` amodra at gmail dot com
@ 2014-02-10  6:33 ` amodra at gmail dot com
  2014-02-15 10:50 ` amodra at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: amodra at gmail dot com @ 2014-02-10  6:33 UTC (permalink / raw)
  To: gcc-bugs

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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |amodra at gmail dot com

--- Comment #5 from Alan Modra <amodra at gmail dot com> ---
Created attachment 32094
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32094&action=edit
potential fix

currently undergoing bootstrap and regression testing


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

* [Bug target/58675] ICE in rs6000_secondary_reload_inner:15460, type = store
  2013-10-09 21:30 [Bug target/58675] New: ICE in rs6000_secondary_reload_inner:15460, type = store pthaugen at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2014-02-10  6:33 ` amodra at gmail dot com
@ 2014-02-15 10:50 ` amodra at gcc dot gnu.org
  2014-02-15 10:51 ` amodra at gmail dot com
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: amodra at gcc dot gnu.org @ 2014-02-15 10:50 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Alan Modra <amodra at gcc dot gnu.org> ---
Author: amodra
Date: Sat Feb 15 10:49:55 2014
New Revision: 207798

URL: http://gcc.gnu.org/viewcvs?rev=207798&root=gcc&view=rev
Log:
    PR target/58675
    PR target/57935
    * config/rs6000/rs6000.c (rs6000_secondary_reload_inner): Use
    find_replacement on parts of insn rtl that might be reloaded.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/rs6000.c


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

* [Bug target/58675] ICE in rs6000_secondary_reload_inner:15460, type = store
  2013-10-09 21:30 [Bug target/58675] New: ICE in rs6000_secondary_reload_inner:15460, type = store pthaugen at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2014-02-15 10:50 ` amodra at gcc dot gnu.org
@ 2014-02-15 10:51 ` amodra at gmail dot com
  2014-02-26  4:42 ` amodra at gcc dot gnu.org
  2014-04-04 15:06 ` wschmidt at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: amodra at gmail dot com @ 2014-02-15 10:51 UTC (permalink / raw)
  To: gcc-bugs

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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Alan Modra <amodra at gmail dot com> ---
Fixed


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

* [Bug target/58675] ICE in rs6000_secondary_reload_inner:15460, type = store
  2013-10-09 21:30 [Bug target/58675] New: ICE in rs6000_secondary_reload_inner:15460, type = store pthaugen at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2014-02-15 10:51 ` amodra at gmail dot com
@ 2014-02-26  4:42 ` amodra at gcc dot gnu.org
  2014-04-04 15:06 ` wschmidt at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: amodra at gcc dot gnu.org @ 2014-02-26  4:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Alan Modra <amodra at gcc dot gnu.org> ---
Author: amodra
Date: Wed Feb 26 04:41:53 2014
New Revision: 208166

URL: http://gcc.gnu.org/viewcvs?rev=208166&root=gcc&view=rev
Log:
    Apply mainline r207798
    PR target/58675
    PR target/57935
    * config/rs6000/rs6000.c (rs6000_secondary_reload_inner): Use
    find_replacement on parts of insn rtl that might be reloaded.


Modified:
    branches/ibm/gcc-4_8-branch/gcc/ChangeLog.ibm
    branches/ibm/gcc-4_8-branch/gcc/config/rs6000/rs6000.c


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

* [Bug target/58675] ICE in rs6000_secondary_reload_inner:15460, type = store
  2013-10-09 21:30 [Bug target/58675] New: ICE in rs6000_secondary_reload_inner:15460, type = store pthaugen at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2014-02-26  4:42 ` amodra at gcc dot gnu.org
@ 2014-04-04 15:06 ` wschmidt at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: wschmidt at gcc dot gnu.org @ 2014-04-04 15:06 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Author: wschmidt
Date: Fri Apr  4 15:05:34 2014
New Revision: 209112

URL: http://gcc.gnu.org/viewcvs?rev=209112&root=gcc&view=rev
Log:
2014-04-04  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

    Apply mainline r207798
    2014-02-26  Alan Modra  <amodra@gmail.com>
    PR target/58675
    PR target/57935
    * config/rs6000/rs6000.c (rs6000_secondary_reload_inner): Use
    find_replacement on parts of insn rtl that might be reloaded.

    Backport from mainline r208287
    2014-03-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

    * config/rs6000/rs6000.c (rs6000_preferred_reload_class): Disallow
    reload of PLUS rtx's outside of GENERAL_REGS or BASE_REGS; relax
    constraint on constants to permit them being loaded into
    GENERAL_REGS or BASE_REGS.


Modified:
    branches/gcc-4_8-branch/gcc/ChangeLog
    branches/gcc-4_8-branch/gcc/config/rs6000/rs6000.c


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

end of thread, other threads:[~2014-04-04 15:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-09 21:30 [Bug target/58675] New: ICE in rs6000_secondary_reload_inner:15460, type = store pthaugen at gcc dot gnu.org
2014-01-14 22:59 ` [Bug target/58675] " bergner at gcc dot gnu.org
2014-01-15 18:20 ` pthaugen at gcc dot gnu.org
2014-02-10  6:30 ` amodra at gmail dot com
2014-02-10  6:33 ` amodra at gmail dot com
2014-02-15 10:50 ` amodra at gcc dot gnu.org
2014-02-15 10:51 ` amodra at gmail dot com
2014-02-26  4:42 ` amodra at gcc dot gnu.org
2014-04-04 15:06 ` wschmidt 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).