public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/90928] [9/10 Regression] [nvptx] internal compiler error: in instantiate_virtual_regs_in_insn, at function.c:1737
       [not found] <bug-90928-4@http.gcc.gnu.org/bugzilla/>
@ 2020-03-12 11:59 ` jakub at gcc dot gnu.org
  2020-05-07 17:00 ` [Bug target/90928] [9/10/11 " tschwinge at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-03-12 11:59 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|9.3                         |9.4

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 9.3.0 has been released, adjusting target milestone.

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

* [Bug target/90928] [9/10/11 Regression] [nvptx] internal compiler error: in instantiate_virtual_regs_in_insn, at function.c:1737
       [not found] <bug-90928-4@http.gcc.gnu.org/bugzilla/>
  2020-03-12 11:59 ` [Bug target/90928] [9/10 Regression] [nvptx] internal compiler error: in instantiate_virtual_regs_in_insn, at function.c:1737 jakub at gcc dot gnu.org
@ 2020-05-07 17:00 ` tschwinge at gcc dot gnu.org
  2020-07-30  9:40 ` vries at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: tschwinge at gcc dot gnu.org @ 2020-05-07 17:00 UTC (permalink / raw)
  To: gcc-bugs

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

Thomas Schwinge <tschwinge at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2019-10-14 00:00:00         |2020-5-7

--- Comment #3 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Already since r231651 (if my old notes are to be believed...), we've been
seeing this issue for 'g++.dg/eh/alias1.C' (before: 'sorry, unimplemented:
target cannot support nonlocal goto'), and still do now:

    FAIL: g++.dg/eh/alias1.C  -std=gnu++98 (internal compiler error)
    [etc.]

    during RTL pass: vregs
    [...]/gcc/testsuite/g++.dg/eh/alias1.C: In function 'void g(int)':
    [...]/gcc/testsuite/g++.dg/eh/alias1.C:20:1: internal compiler error: in
instantiate_virtual_regs_in_insn, at function.c:1739
    0xb5214b instantiate_virtual_regs_in_insn
            [...]/gcc/function.c:1739
    0xb5214b instantiate_virtual_regs
            [...]/gcc/function.c:1977
    0xb5214b execute
            [...]/gcc/function.c:2026

(Ever since they got added?) we'd also seen this issue for
'g++.dg/ext/pr84724-1.C', 'g++.dg/ext/pr84724-2.C', but the ICE then
disappeared in (r265343, r265570].

Since (r259629 ,r261792] we also saw this issue for 'gcc.dg/graphite/pr82321.c'
(before: 'PASS'), then the ICE disappeared in (r271346, r272643], and now in
cff5a231480526aa73094a22fe8b2f39b63735a4..c416c52bcdb120db5e8c53a51bd78c4360daf79b
it has re-appeared:

    [-PASS:-]{+FAIL: gcc.dg/graphite/pr82321.c (internal compiler error)+}
    {+FAIL:+} gcc.dg/graphite/pr82321.c (test for excess errors)

    during RTL pass: vregs
    [...]/gcc/testsuite/gcc.dg/graphite/pr82321.c: In function 'dm':
    [...]/gcc/testsuite/gcc.dg/graphite/pr82321.c:36:1: internal compiler
error: in instantiate_virtual_regs_in_insn, at function.c:1739
    0x8ffedb instantiate_virtual_regs_in_insn
            [...]/gcc/function.c:1739
    0x8ffedb instantiate_virtual_regs
            [...]/gcc/function.c:1977
    0x8ffedb execute
            [...]/gcc/function.c:2026

These are all the instances of this ICE, per my records.

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

* [Bug target/90928] [9/10/11 Regression] [nvptx] internal compiler error: in instantiate_virtual_regs_in_insn, at function.c:1737
       [not found] <bug-90928-4@http.gcc.gnu.org/bugzilla/>
  2020-03-12 11:59 ` [Bug target/90928] [9/10 Regression] [nvptx] internal compiler error: in instantiate_virtual_regs_in_insn, at function.c:1737 jakub at gcc dot gnu.org
  2020-05-07 17:00 ` [Bug target/90928] [9/10/11 " tschwinge at gcc dot gnu.org
@ 2020-07-30  9:40 ` vries at gcc dot gnu.org
  2020-07-31 17:13 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2020-07-30  9:40 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Tom de Vries <vries at gcc dot gnu.org> ---
Patch submitted:
https://gcc.gnu.org/pipermail/gcc-patches/2020-July/550140.html

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

* [Bug target/90928] [9/10/11 Regression] [nvptx] internal compiler error: in instantiate_virtual_regs_in_insn, at function.c:1737
       [not found] <bug-90928-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2020-07-30  9:40 ` vries at gcc dot gnu.org
@ 2020-07-31 17:13 ` cvs-commit at gcc dot gnu.org
  2020-08-13 10:01 ` [Bug target/90928] [9/10 " vries at gcc dot gnu.org
  2020-08-13 10:01 ` vries at gcc dot gnu.org
  5 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-07-31 17:13 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom de Vries <vries@gcc.gnu.org>:

https://gcc.gnu.org/g:3a4a92598014d33ef2c8b8ec38d8ad917812921a

commit r11-2464-g3a4a92598014d33ef2c8b8ec38d8ad917812921a
Author: Roger Sayle <roger@nextmovesoftware.com>
Date:   Thu Jul 30 11:42:06 2020 +0200

    nvptx: Define TARGET_TRULY_NOOP_TRUNCATION to false

    Many thanks to Richard Biener for approving the midde-end
    patch that cleared the way for this one.  This nvptx patch
    defines the target hook TARGET_TRULY_NOOP_TRUNCATION to
    false, indicating that integer truncations require explicit
    instructions.  nvptx.c already defines TARGET_MODES_TIEABLE_P
    and TARGET_CAN_CHANGE_MODE_CLASS to false, and as (previously)
    documented that may require TARGET_TRULY_NOOP_TRUNCATION to
    be defined likewise.

    This patch decreases the number of unexpected failures in
    the testsuite by 10, and increases the number of expected
    passes by 4, including these previous FAILs/ICEs:
    gcc.c-torture/compile/opout.c
    gcc.dg/torture/pr79125.c
    gcc.dg/tree-ssa/pr92085-1.c

    Unfortunately there is one testsuite failure that used to
    pass gcc.target/nvptx/v2si-cvt.c, but this isn't an ICE or
    incorrect code.  This regression has been filed as PR96403,
    and the failing scan-assembler directives have been replaced
    by a reference to the PR.

    This patch has been tested on nvptx-none hosted on
    x86_64-pc-linux-gnu with "make" and "make check" with
    fewer ICEs and no wrong code regressions.

    2020-07-31  Roger Sayle  <roger@nextmovesoftware.com>
                Tom de Vries  <tdevries@suse.de>

    gcc/ChangeLog:

            PR target/90928
            * config/nvptx/nvptx.c (nvptx_truly_noop_truncation): Implement.
            (TARGET_TRULY_NOOP_TRUNCATION): Define.

    gcc/testsuite/ChangeLog:

            * gcc.target/nvptx/v2si-cvt.c: Simplify source.  Remove
            scan-assembler directives.  Mention PR96403.

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

* [Bug target/90928] [9/10 Regression] [nvptx] internal compiler error: in instantiate_virtual_regs_in_insn, at function.c:1737
       [not found] <bug-90928-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2020-07-31 17:13 ` cvs-commit at gcc dot gnu.org
@ 2020-08-13 10:01 ` vries at gcc dot gnu.org
  2020-08-13 10:01 ` vries at gcc dot gnu.org
  5 siblings, 0 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2020-08-13 10:01 UTC (permalink / raw)
  To: gcc-bugs

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

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|9.4                         |11.0

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

* [Bug target/90928] [9/10 Regression] [nvptx] internal compiler error: in instantiate_virtual_regs_in_insn, at function.c:1737
       [not found] <bug-90928-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2020-08-13 10:01 ` [Bug target/90928] [9/10 " vries at gcc dot gnu.org
@ 2020-08-13 10:01 ` vries at gcc dot gnu.org
  5 siblings, 0 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2020-08-13 10:01 UTC (permalink / raw)
  To: gcc-bugs

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

Tom de Vries <vries at gcc dot gnu.org> changed:

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

--- Comment #6 from Tom de Vries <vries at gcc dot gnu.org> ---
Patch committed, marking resolved-fixed.

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

end of thread, other threads:[~2020-08-13 10:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-90928-4@http.gcc.gnu.org/bugzilla/>
2020-03-12 11:59 ` [Bug target/90928] [9/10 Regression] [nvptx] internal compiler error: in instantiate_virtual_regs_in_insn, at function.c:1737 jakub at gcc dot gnu.org
2020-05-07 17:00 ` [Bug target/90928] [9/10/11 " tschwinge at gcc dot gnu.org
2020-07-30  9:40 ` vries at gcc dot gnu.org
2020-07-31 17:13 ` cvs-commit at gcc dot gnu.org
2020-08-13 10:01 ` [Bug target/90928] [9/10 " vries at gcc dot gnu.org
2020-08-13 10:01 ` vries 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).