public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/57936] ICE in rs6000_secondary_reload_inner:15144, type = load
       [not found] <bug-57936-4@http.gcc.gnu.org/bugzilla/>
@ 2014-02-10  6:44 ` amodra at gmail dot com
  2014-02-10 22:34 ` amodra at gmail dot com
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: amodra at gmail dot com @ 2014-02-10  6:44 UTC (permalink / raw)
  To: gcc-bugs

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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-02-10
                 CC|                            |amodra at gmail dot com
     Ever confirmed|0                           |1

--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
This one also seems to be fixed by the patch in pr58675.


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

* [Bug target/57936] ICE in rs6000_secondary_reload_inner:15144, type = load
       [not found] <bug-57936-4@http.gcc.gnu.org/bugzilla/>
  2014-02-10  6:44 ` [Bug target/57936] ICE in rs6000_secondary_reload_inner:15144, type = load amodra at gmail dot com
@ 2014-02-10 22:34 ` amodra at gmail dot com
  2014-02-13 17:35 ` orion at cora dot nwra.com
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: amodra at gmail dot com @ 2014-02-10 22:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Alan Modra <amodra at gmail dot com> ---
No, cancel comment #1, I was fooled by version skew between the unpatched and
the patched compiler.  The testcase doesn't ICE on recent versions of gcc.


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

* [Bug target/57936] ICE in rs6000_secondary_reload_inner:15144, type = load
       [not found] <bug-57936-4@http.gcc.gnu.org/bugzilla/>
  2014-02-10  6:44 ` [Bug target/57936] ICE in rs6000_secondary_reload_inner:15144, type = load amodra at gmail dot com
  2014-02-10 22:34 ` amodra at gmail dot com
@ 2014-02-13 17:35 ` orion at cora dot nwra.com
  2014-02-25 11:07 ` amodra at gmail dot com
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: orion at cora dot nwra.com @ 2014-02-13 17:35 UTC (permalink / raw)
  To: gcc-bugs

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

Orion Poplawski <orion at cora dot nwra.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |orion at cora dot nwra.com

--- Comment #4 from Orion Poplawski <orion at cora dot nwra.com> ---
Created attachment 32130
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32130&action=edit
ccf2q412.out.gz

I think I may be encountering the same or similar while compiling the eigen3
test cases.  This is on RHEL7 ppc64 with gcc-4.8.2-3.el7.

[ 13%] Building CXX object
test/CMakeFiles/product_extra_3.dir/product_extra.cpp.o
cd /builddir/build/BUILD/eigen-eigen-ffa86ffb5570/ppc64-redhat-linux-gnu/test
&& /usr/bin/c++   -DEIGEN_CHOLMOD_SUPPORT -DEIGEN_SPQR_SUPPORT
-DEIGEN_SUPERLU_SUPPORT -DEIGEN_UMFPACK_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB
-DQT_NO_DEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64
-mcpu=power7 -mtune=power7  -fexceptions -pedantic -Wall -Wextra -Wundef
-Wcast-align -Wchar-subscripts -Wnon-virtual-dtor -Wunused-local-typedefs
-Wpointer-arith -Wwrite-strings -Wformat-security -Wno-psabi
-Wno-variadic-macros -Wno-long-long -fno-check-new -fno-common
-fstrict-aliasing -ansi  -g2 -g0 -O2  -fno-inline-functions
-I/builddir/build/BUILD/eigen-eigen-ffa86ffb5570/ppc64-redhat-linux-gnu/test
-I/builddir/build/BUILD/eigen-eigen-ffa86ffb5570/test
-I/builddir/build/BUILD/eigen-eigen-ffa86ffb5570
-I/builddir/build/BUILD/eigen-eigen-ffa86ffb5570/ppc64-redhat-linux-gnu
-I/usr/include/suitesparse -I/usr/include/SuperLU -isystem /usr/include/QtGui
-isystem /usr/include/QtCore     -DEIGEN_TEST_MAX_SIZE=320
-DEIGEN_TEST_FUNC=product_extra  -DEIGEN_TEST_PART_3=1 -o
CMakeFiles/product_extra_3.dir/product_extra.cpp.o -c
/builddir/build/BUILD/eigen-eigen-ffa86ffb5570/test/product_extra.cpp
rs6000_secondary_reload_inner:15249, type = load
(parallel [
        (set (reg:V4SI 77 0)
            (reg:V4SI 32 0))
        (clobber (reg:DI 3 3))
    ])
/builddir/build/BUILD/eigen-eigen-ffa86ffb5570/test/product_extra.cpp: In
function 'void product_extra(const MatrixType&) [with MatrixType =
Eigen::Matrix<std::complex<float>, -1, -1>]':
/builddir/build/BUILD/eigen-eigen-ffa86ffb5570/test/product_extra.cpp:101:1:
internal compiler error: in rs6000_secondary_reload_fail, at
config/rs6000/rs6000.c:15222
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccf2q412.out file, please attach this to
your bugreport.


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

* [Bug target/57936] ICE in rs6000_secondary_reload_inner:15144, type = load
       [not found] <bug-57936-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2014-02-13 17:35 ` orion at cora dot nwra.com
@ 2014-02-25 11:07 ` amodra at gmail dot com
  2014-02-25 11:08 ` amodra at gmail dot com
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: amodra at gmail dot com @ 2014-02-25 11:07 UTC (permalink / raw)
  To: gcc-bugs

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

Alan Modra <amodra at gmail dot com> changed:

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


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

* [Bug target/57936] ICE in rs6000_secondary_reload_inner:15144, type = load
       [not found] <bug-57936-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2014-02-25 11:07 ` amodra at gmail dot com
@ 2014-02-25 11:08 ` amodra at gmail dot com
  2014-02-26  2:03 ` wschmidt at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: amodra at gmail dot com @ 2014-02-25 11:08 UTC (permalink / raw)
  To: gcc-bugs

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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.9.0


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

* [Bug target/57936] ICE in rs6000_secondary_reload_inner:15144, type = load
       [not found] <bug-57936-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2014-02-25 11:08 ` amodra at gmail dot com
@ 2014-02-26  2:03 ` wschmidt at gcc dot gnu.org
  2014-02-26  4:42 ` amodra at gmail dot com
  2014-02-26 22:19 ` amodra at gmail dot com
  7 siblings, 0 replies; 8+ messages in thread
From: wschmidt at gcc dot gnu.org @ 2014-02-26  2:03 UTC (permalink / raw)
  To: gcc-bugs

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

Bill Schmidt <wschmidt at gcc dot gnu.org> changed:

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

--- Comment #5 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
There's a currently reproducible failure on ibm/gcc-4_8-branch that looks very
similar, though the insn it fails on is different.  This occurs with
-mcpu=power8 as the default, and only reproduces for a big-endian target.

wschmidt@makalu-lp1:~/gcc/build/gcc-at7_0-test$
/home/wschmidt/gcc/build/gcc-at7_0-test/gcc/xgcc
-B/home/wschmidt/gcc/build/gcc-at7_0-test/gcc/
/home/wschmidt/gcc/gcc-at7_0-test/gcc/testsuite/gcc.target/powerpc/ppc64-abi-dfp-1.c
-fno-diagnostics-show-caret -std=gnu99 -O2 -fno-strict-aliasing -lm -m64 -o
./ppc64-abi-dfp-1.exe
rs6000_secondary_reload_inner:16417, type = load
(parallel [
        (set (reg:SD 10 10)
            (mem/c:SD (plus:DI (plus:DI (reg/f:DI 31 31)
                        (const_int 144 [0x90]))
                    (reg:DI 10 10 [250])) [0 a14+0 S4 A32]))
        (clobber (reg:DI 7 7))
    ])
/home/wschmidt/gcc/gcc-at7_0-test/gcc/testsuite/gcc.target/powerpc/ppc64-abi-dfp-1.c:
In function ‘func5’:
/home/wschmidt/gcc/gcc-at7_0-test/gcc/testsuite/gcc.target/powerpc/ppc64-abi-dfp-1.c:286:1:
internal compiler error: in rs6000_secondary_reload_fail, at
config/rs6000/rs6000.c:16353
0x106e4af7 rs6000_secondary_reload_fail
    /home/wschmidt/gcc/gcc-at7_0-test/gcc/config/rs6000/rs6000.c:16353
0x10712e47 rs6000_secondary_reload_inner(rtx_def*, rtx_def*, rtx_def*, bool)
    /home/wschmidt/gcc/gcc-at7_0-test/gcc/config/rs6000/rs6000.c:16380
0x107e15d7 gen_reload_sd_di_load(rtx_def*, rtx_def*, rtx_def*)
    /home/wschmidt/gcc/gcc-at7_0-test/gcc/config/rs6000/vector.md:207
0x10466a3f insn_gen_fn::operator()(rtx_def*, rtx_def*, rtx_def*) const
    /home/wschmidt/gcc/gcc-at7_0-test/gcc/recog.h:285
0x10466a3f emit_input_reload_insns
    /home/wschmidt/gcc/gcc-at7_0-test/gcc/reload1.c:7542
0x10466a3f do_input_reload
    /home/wschmidt/gcc/gcc-at7_0-test/gcc/reload1.c:7880
0x10466a3f emit_reload_insns
    /home/wschmidt/gcc/gcc-at7_0-test/gcc/reload1.c:8072
0x10466a3f reload_as_needed
    /home/wschmidt/gcc/gcc-at7_0-test/gcc/reload1.c:4648
0x1046c49f reload(rtx_def*, int)
    /home/wschmidt/gcc/gcc-at7_0-test/gcc/reload1.c:1054
0x103696d3 do_reload
    /home/wschmidt/gcc/gcc-at7_0-test/gcc/ira.c:4679
0x103696d3 rest_of_handle_reload
    /home/wschmidt/gcc/gcc-at7_0-test/gcc/ira.c:4779
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
>From gcc-bugs-return-444815-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 26 03:22:19 2014
Return-Path: <gcc-bugs-return-444815-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22390 invoked by alias); 26 Feb 2014 03:22:18 -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 22366 invoked by uid 48); 26 Feb 2014 03:22:13 -0000
From: "steve.chapel at a2pg dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/60341] New: ICE compiling Nonmem 6.2.0
Date: Wed, 26 Feb 2014 03:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.8.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: critical
X-Bugzilla-Who: steve.chapel at a2pg 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: <bug-60341-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-02/txt/msg02572.txt.bz2
Content-length: 886

http://gcc.gnu.org/bugzilla/show_bug.cgi?id`341

            Bug ID: 60341
           Summary: ICE compiling Nonmem 6.2.0
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: steve.chapel at a2pg dot com

Internal compiler error when compiling with the command:
  gfortran -c -O MODELG.for

Note that the ICE does not occur with the following command:
  gfortran -c MODELG.for
which seems to indicate that the ICE has to do with optimization.

I reproduced this ICE with both MinGW gfortran 4.8.1 and MinGW-64 gfortran
4.8.2 on 64-bit Windows 7.

To reproduce, save the two source code files in the same directory, as
MODELG.for includes file SIZES. These files are part of the Nonmem 6.2.0 source
code.


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

* [Bug target/57936] ICE in rs6000_secondary_reload_inner:15144, type = load
       [not found] <bug-57936-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2014-02-26  2:03 ` wschmidt at gcc dot gnu.org
@ 2014-02-26  4:42 ` amodra at gmail dot com
  2014-02-26 22:19 ` amodra at gmail dot com
  7 siblings, 0 replies; 8+ messages in thread
From: amodra at gmail dot com @ 2014-02-26  4:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Alan Modra <amodra at gmail dot com> ---
Bill, the ppc64-abi-dfp-1.c ICE is cured by the patch committed for pr58675 on
the trunk.  Now committed to ibm-4.8.


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

* [Bug target/57936] ICE in rs6000_secondary_reload_inner:15144, type = load
       [not found] <bug-57936-4@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2014-02-26  4:42 ` amodra at gmail dot com
@ 2014-02-26 22:19 ` amodra at gmail dot com
  7 siblings, 0 replies; 8+ messages in thread
From: amodra at gmail dot com @ 2014-02-26 22:19 UTC (permalink / raw)
  To: gcc-bugs

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

Alan Modra <amodra at gmail dot com> changed:

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

--- Comment #7 from Alan Modra <amodra at gmail dot com> ---
Blah, committed the patch with the wrong pr number, 57935 vs 57936.

Author: amodra
Date: Wed Feb 26 21:57:40 2014
New Revision: 208186

URL: http://gcc.gnu.org/viewcvs?rev=208186&root=gcc&view=rev
Log:
    PR target/57936
    * reload1.c (emit_input_reload_insns): When reload_override_in,
    set old to rl->in_reg when rl->in_reg is a subreg.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/reload1.c


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

end of thread, other threads:[~2014-02-26 22:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-57936-4@http.gcc.gnu.org/bugzilla/>
2014-02-10  6:44 ` [Bug target/57936] ICE in rs6000_secondary_reload_inner:15144, type = load amodra at gmail dot com
2014-02-10 22:34 ` amodra at gmail dot com
2014-02-13 17:35 ` orion at cora dot nwra.com
2014-02-25 11:07 ` amodra at gmail dot com
2014-02-25 11:08 ` amodra at gmail dot com
2014-02-26  2:03 ` wschmidt at gcc dot gnu.org
2014-02-26  4:42 ` amodra at gmail dot com
2014-02-26 22:19 ` amodra at gmail dot com

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