public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/65577] New: ICE on g++.dg/torture/pr58369.C
@ 2015-03-26  8:15 msebor at gcc dot gnu.org
  2015-03-26 20:52 ` [Bug target/65577] " msebor at gcc dot gnu.org
  2015-03-26 21:07 ` msebor at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: msebor at gcc dot gnu.org @ 2015-03-26  8:15 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 4434 bytes --]

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

            Bug ID: 65577
           Summary: ICE on g++.dg/torture/pr58369.C
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: msebor at gcc dot gnu.org

Compiling the g++.dg/torture/pr58369.C test with yesterday's trunk (r221640) on
powerpc64 (a POWER7 processor) fails with the ICE below.  Interestingly, the
ICE disappears with -O1.  On powerpc64le gcc compiles the test successfully.

$ g++ -O0 -c /src/gcc-trunk/gcc/testsuite/g++.dg/torture/pr58369.C
/src/gcc-trunk/gcc/testsuite/g++.dg/torture/pr58369.C: In function ‘T
ellint_rj_imp(T, T, T, T, Policy&) [with T = long double; Policy = PolicyA]’:
/src/gcc-trunk/gcc/testsuite/g++.dg/torture/pr58369.C:88:1: error:
unrecognizable insn:
 }
 ^
(insn 248 247 99 8 (set (reg:DF 10 10)
        (mem/u/c:DF (symbol_ref/u:DI ("*.LC0") [flags 0x2]) [0  S8 A64]))
/src/gcc-trunk/gcc/testsuite/g++.dg/torture/pr58369.C:70 -1
     (nil))
/src/gcc-trunk/gcc/testsuite/g++.dg/torture/pr58369.C:88:1: internal compiler
error: in extract_insn, at recog.c:2343
0x109c9f1b _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
    /src/gcc-trunk/gcc/rtl-error.c:110
0x109c9f6f _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
    /src/gcc-trunk/gcc/rtl-error.c:118
0x1098f907 extract_insn(rtx_insn*)
    /src/gcc-trunk/gcc/recog.c:2343
0x1098f9c7 extract_insn_cached(rtx_insn*)
    /src/gcc-trunk/gcc/recog.c:2234
0x106b6817 cleanup_subreg_operands(rtx_insn*)
    /src/gcc-trunk/gcc/final.c:3137
0x109c74b7 reload(rtx_insn*, int)
    /src/gcc-trunk/gcc/reload1.c:1278
0x10854af7 do_reload
    /src/gcc-trunk/gcc/ira.c:5430
0x10854af7 execute
    /src/gcc-trunk/gcc/ira.c:5589
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-481757-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 26 03:39:44 2015
Return-Path: <gcc-bugs-return-481757-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88088 invoked by alias); 26 Mar 2015 03:39:44 -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 88040 invoked by uid 48); 26 Mar 2015 03:39:40 -0000
From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/65563] Segfault on reopening fort.xxx file with explicit name
Date: Thu, 26 Mar 2015 08:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libfortran
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jvdelisle at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jvdelisle at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-65563-4-516nXyVDGn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65563-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65563-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: 2015-03/txt/msg02901.txt.bz2
Content-length: 522

https://gcc.gnu.org/bugzilla/show_bug.cgi?ide563

--- Comment #3 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
(In reply to Thomas Koenig from comment #0)
> This is inspired by
> https://stackoverflow.com/questions/29238857/fortran-error-about-eof-marker/
> ,but is slightly different.
>
> This segfaults:

I cannot reproduce this on trunk (5.0) and I get nothing with
-fsanitize­dress
accept the error message.  This is on x86-64-linux.

So I am at a "works for me" stage here. I will look some more later.


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

* [Bug target/65577] ICE on g++.dg/torture/pr58369.C
  2015-03-26  8:15 [Bug target/65577] New: ICE on g++.dg/torture/pr58369.C msebor at gcc dot gnu.org
@ 2015-03-26 20:52 ` msebor at gcc dot gnu.org
  2015-03-26 21:07 ` msebor at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: msebor at gcc dot gnu.org @ 2015-03-26 20:52 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
According to git bisect, 2d5ee2b9035db2414ae3535db18550c1d90e52fd is the first
bad commit:

commit 2d5ee2b9035db2414ae3535db18550c1d90e52fd
Author: meissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Thu Mar 19 22:37:33 2015 +0000

    [gcc]
    2015-03-19  Michael Meissner  <meissner@linux.vnet.ibm.com>

        PR target/65240
        * config/rs6000/predicates.md (easy_fp_constant): Remove special
        -ffast-math handling that kept non-0 constants live in the RTL
        until reload.  Remove logic testing the number of instructions it
        took to create a constant in a GPR that was never used, due to a
        test for soft-float earlier.
        (memory_fp_constant): Delete, no longer used.

        * config/rs6000/rs6000.md (mov<MODE>_hardfloat): Remove
        alternatives for loading non-0 constants into GPRs for hard
        floating point that is no longer needed due to changes in
        easy_fp_constant.  Add support for loading 0.0 into GPRs.
        (mov<mode>_hardfloat32): Likewise.
        (mov<mode>_hardfloat64): Likewise.
        (mov<mode>_64bit_dm): Likewise.
        (movtd_64bit_nodm): Likewise.
        (pre-reload move FP constant define_split): Delete define_split,
        since it is no longer used.
        (extenddftf2_internal): Remove GHF constraints that are not valid
        for extenddftf2.

    [gcc/testsuite]
    2015-03-19  Michael Meissner  <meissner@linux.vnet.ibm.com>

        PR target/65240
        * gcc/testsuite/g++.dg/pr65240.h: Add tests for PR 65240.
        * gcc/testsuite/g++.dg/pr65240-1.C: Likewise.
        * gcc/testsuite/g++.dg/pr65240-2.C: Likewise.
        * gcc/testsuite/g++.dg/pr65240-3.C: Likewise.
        * gcc/testsuite/g++.dg/pr65240-4.C: Likewise.



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


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

* [Bug target/65577] ICE on g++.dg/torture/pr58369.C
  2015-03-26  8:15 [Bug target/65577] New: ICE on g++.dg/torture/pr58369.C msebor at gcc dot gnu.org
  2015-03-26 20:52 ` [Bug target/65577] " msebor at gcc dot gnu.org
@ 2015-03-26 21:07 ` msebor at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: msebor at gcc dot gnu.org @ 2015-03-26 21:07 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Sebor <msebor at gcc dot gnu.org> changed:

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

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
Both this and pr65576 are caused by the same commit. Closing as duplicate.

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


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

end of thread, other threads:[~2015-03-26 20:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-26  8:15 [Bug target/65577] New: ICE on g++.dg/torture/pr58369.C msebor at gcc dot gnu.org
2015-03-26 20:52 ` [Bug target/65577] " msebor at gcc dot gnu.org
2015-03-26 21:07 ` msebor 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).