public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/109179] New: addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0'
@ 2023-03-17 19:38 bergner at gcc dot gnu.org
  2023-03-17 19:39 ` [Bug target/109179] " bergner at gcc dot gnu.org
                   ` (24 more replies)
  0 siblings, 25 replies; 26+ messages in thread
From: bergner at gcc dot gnu.org @ 2023-03-17 19:38 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 109179
           Summary: addkf3-sw.c:51:1: internal compiler error: RTL check:
                    expected elt 3 type 'e' or 'u', have '0'
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bergner at gcc dot gnu.org
  Target Milestone: ---

A new bootstrap ICE on trunk.  Setting component to target until I narrow down
the change that caused it.

during RTL pass: reload
addkf3-sw.c: In function ‘__addkf3_sw’:
addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e'
or 'u', have '0' (rtx note) in PATTERN, at rtl.h:1509
   51 | }
      | ^
0x1148c663 rtl_check_failed_type2(rtx_def const*, int, int, int, char const*,
int, char const*)
        /home/bergner/gcc/gcc-fsf-mainline-chip-ice-base/gcc/rtl.cc:907
0x10a0a207 PATTERN(rtx_def*)
        /home/bergner/gcc/gcc-fsf-mainline-chip-ice-base/gcc/rtl.h:1509
0x1278c12b insn_extract(rtx_insn*)
       
/home/bergner/gcc/build/gcc-fsf-mainline-chip-ice-base-regtest/gcc/insn-extract.cc:23
0x1118c9e7 lra_set_insn_recog_data(rtx_insn*)
        /home/bergner/gcc/gcc-fsf-mainline-chip-ice-base/gcc/lra.cc:1059
0x11194f23 lra_get_insn_recog_data(rtx_insn*)
        /home/bergner/gcc/gcc-fsf-mainline-chip-ice-base/gcc/lra-int.h:493
0x111b8de7 combine_reload_insn
       
/home/bergner/gcc/gcc-fsf-mainline-chip-ice-base/gcc/lra-constraints.cc:5017
0x111b9e4b lra_constraints(bool)
       
/home/bergner/gcc/gcc-fsf-mainline-chip-ice-base/gcc/lra-constraints.cc:5231
0x111942a3 lra(_IO_FILE*)
        /home/bergner/gcc/gcc-fsf-mainline-chip-ice-base/gcc/lra.cc:2375
0x110fdd77 do_reload
        /home/bergner/gcc/gcc-fsf-mainline-chip-ice-base/gcc/ira.cc:5963
0x110fe5df execute
        /home/bergner/gcc/gcc-fsf-mainline-chip-ice-base/gcc/ira.cc:6149

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

* [Bug target/109179] addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0'
  2023-03-17 19:38 [Bug target/109179] New: addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0' bergner at gcc dot gnu.org
@ 2023-03-17 19:39 ` bergner at gcc dot gnu.org
  2023-03-17 19:43 ` bergner at gcc dot gnu.org
                   ` (23 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bergner at gcc dot gnu.org @ 2023-03-17 19:39 UTC (permalink / raw)
  To: gcc-bugs

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

Peter Bergner <bergner at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2023-03-17
           Keywords|                            |ice-checking
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
             Target|                            |powerpc64le-linux
   Target Milestone|---                         |13.0

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

* [Bug target/109179] addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0'
  2023-03-17 19:38 [Bug target/109179] New: addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0' bergner at gcc dot gnu.org
  2023-03-17 19:39 ` [Bug target/109179] " bergner at gcc dot gnu.org
@ 2023-03-17 19:43 ` bergner at gcc dot gnu.org
  2023-03-17 20:05 ` bergner at gcc dot gnu.org
                   ` (22 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bergner at gcc dot gnu.org @ 2023-03-17 19:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Peter Bergner <bergner at gcc dot gnu.org> ---
Vlad's recent commit looks like a promising candidate though:

commit 57688950b9328cbb4a9c21eb3199f9132b5119d3
Author:     Vladimir N. Makarov <vmakarov@redhat.com>
AuthorDate: Fri Mar 17 08:58:58 2023 -0400
Commit:     Vladimir N. Makarov <vmakarov@redhat.com>
CommitDate: Fri Mar 17 09:07:20 2023 -0400

    LRA: Implement combining secondary memory reload and original insn

    LRA creates secondary memory reload insns but do not try to combine it
    with the original insn.  This patch implements a simple insn combining
    for such cases in LRA.

            PR rtl-optimization/109052

    gcc/ChangeLog:

            * lra-constraints.cc: Include hooks.h.
            (combine_reload_insn): New function.
            (lra_constraints): Call it.

    gcc/testsuite/ChangeLog:

            * gcc.target/i386/pr109052.c: New.

I'm building with the commit before this to see whether we succeed or not.

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

* [Bug target/109179] addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0'
  2023-03-17 19:38 [Bug target/109179] New: addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0' bergner at gcc dot gnu.org
  2023-03-17 19:39 ` [Bug target/109179] " bergner at gcc dot gnu.org
  2023-03-17 19:43 ` bergner at gcc dot gnu.org
@ 2023-03-17 20:05 ` bergner at gcc dot gnu.org
  2023-03-17 20:12 ` bergner at gcc dot gnu.org
                   ` (21 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bergner at gcc dot gnu.org @ 2023-03-17 20:05 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Peter Bergner <bergner at gcc dot gnu.org> ---
(In reply to Peter Bergner from comment #1)
> Vlad's recent commit looks like a promising candidate though:
[snip]
> I'm building with the commit before this to see whether we succeed or not.

Bootstrap is into stage3 and we died in stage1 before, so I'm confident it is
Vlad's commit.

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

* [Bug target/109179] addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0'
  2023-03-17 19:38 [Bug target/109179] New: addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0' bergner at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2023-03-17 20:05 ` bergner at gcc dot gnu.org
@ 2023-03-17 20:12 ` bergner at gcc dot gnu.org
  2023-03-17 20:14 ` bergner at gcc dot gnu.org
                   ` (20 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bergner at gcc dot gnu.org @ 2023-03-17 20:12 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Peter Bergner <bergner at gcc dot gnu.org> ---
The ICE is occurring with:

Breakpoint 2, internal_error (gmsgid=0x1351b738 "RTL check: expected elt %d
type '%c' or '%c', have '%c' (rtx %s) in %s, at %s:%d")
    at /home/bergner/gcc/gcc-fsf-mainline-chip-ice/gcc/diagnostic.cc:2152
2152      auto_diagnostic_group d;
(gdb) bt
#0  internal_error (gmsgid=0x1351b738 "RTL check: expected elt %d type '%c' or
'%c', have '%c' (rtx %s) in %s, at %s:%d")
    at /home/bergner/gcc/gcc-fsf-mainline-chip-ice/gcc/diagnostic.cc:2152
#1  0x00000000114dbcd4 in rtl_check_failed_type2 (r=0x7ffff5770340, n=3,
c1=101, c2=117, 
    file=0x134813c0 "/home/bergner/gcc/gcc-fsf-mainline-chip-ice/gcc/rtl.h",
line=1509, 
    func=0x13481f80 <PATTERN(rtx_def*)::__FUNCTION__> "PATTERN") at
/home/bergner/gcc/gcc-fsf-mainline-chip-ice/gcc/rtl.cc:907
#2  0x0000000010a18f70 in PATTERN (insn=0x7ffff5770340) at
/home/bergner/gcc/gcc-fsf-mainline-chip-ice/gcc/rtl.h:1509
#3  0x0000000012853b2c in insn_extract (insn=0x7ffff5770340) at
insn-extract.cc:23
#4  0x00000000111c54c4 in lra_set_insn_recog_data (insn=0x7ffff5770340) at
/home/bergner/gcc/gcc-fsf-mainline-chip-ice/gcc/lra.cc:1059
#5  0x00000000111ce070 in lra_get_insn_recog_data (insn=0x7ffff5770340) at
/home/bergner/gcc/gcc-fsf-mainline-chip-ice/gcc/lra-int.h:493
#6  0x00000000111f2e64 in combine_reload_insn (from=0x7ffff5770500,
to=0x7ffff5770340)
    at /home/bergner/gcc/gcc-fsf-mainline-chip-ice/gcc/lra-constraints.cc:5017
...

(gdb) frame 3
#3  0x0000000012853b2c in insn_extract (insn=0x7ffff5770340) at
insn-extract.cc:23
23        rtx pat = PATTERN (insn);
(gdb) pr insn
(note 9 19 13 2 NOTE_INSN_DELETED)

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

* [Bug target/109179] addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0'
  2023-03-17 19:38 [Bug target/109179] New: addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0' bergner at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2023-03-17 20:12 ` bergner at gcc dot gnu.org
@ 2023-03-17 20:14 ` bergner at gcc dot gnu.org
  2023-03-17 20:18 ` [Bug rtl-optimization/109179] " bergner at gcc dot gnu.org
                   ` (19 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bergner at gcc dot gnu.org @ 2023-03-17 20:14 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Peter Bergner <bergner at gcc dot gnu.org> ---
...on the following minimal test case:

bergner@ltcden2-lp1:PR109179$ cat bug.i 
__int128 var;
__int128
foo (void)
{
  return var;
}

bergner@ltcden2-lp1:PR109179$
/home/bergner/gcc/build/gcc-fsf-mainline-chip-ice-debug/./gcc/xgcc
-B/home/bergner/gcc/build/gcc-fsf-mainline-chip-ice-debug/./gcc/ -S -O0
-mcpu=power8 bug.i 
during RTL pass: reload
bug.i: In function ‘foo’:
bug.i:6:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u',
have '0' (rtx note) in PATTERN, at rtl.h:1509
    6 | }
      | ^
0x114dbcd3 rtl_check_failed_type2(rtx_def const*, int, int, int, char const*,
int, char const*)
        /home/bergner/gcc/gcc-fsf-mainline-chip-ice/gcc/rtl.cc:907
0x10a18f6f PATTERN(rtx_def*)
        /home/bergner/gcc/gcc-fsf-mainline-chip-ice/gcc/rtl.h:1509
0x12853b2b insn_extract(rtx_insn*)
       
/home/bergner/gcc/build/gcc-fsf-mainline-chip-ice-debug/gcc/insn-extract.cc:23
0x111c54c3 lra_set_insn_recog_data(rtx_insn*)
        /home/bergner/gcc/gcc-fsf-mainline-chip-ice/gcc/lra.cc:1059
0x111ce06f lra_get_insn_recog_data(rtx_insn*)
        /home/bergner/gcc/gcc-fsf-mainline-chip-ice/gcc/lra-int.h:493
0x111f2e63 combine_reload_insn
        /home/bergner/gcc/gcc-fsf-mainline-chip-ice/gcc/lra-constraints.cc:5017

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

* [Bug rtl-optimization/109179] addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0'
  2023-03-17 19:38 [Bug target/109179] New: addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0' bergner at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2023-03-17 20:14 ` bergner at gcc dot gnu.org
@ 2023-03-17 20:18 ` bergner at gcc dot gnu.org
  2023-03-17 20:29 ` vmakarov at gcc dot gnu.org
                   ` (18 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bergner at gcc dot gnu.org @ 2023-03-17 20:18 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Peter Bergner <bergner at gcc dot gnu.org> ---
The "from" and "to" arguments to combine_reload_insn() are:

(gdb) pr from
(insn 19 17 9 2 (parallel [
            (set (reg:TI 118 [ <retval> ])
                (unspec:TI [
                        (reg:TI 117 [ _2 ])
                    ] UNSPEC_P8V_RELOAD_FROM_VSX))
            (clobber (reg:TI 123))
        ]) "bug.i":5:10 discrim 1 669 {reload_gpr_from_vsxti}
     (nil))

(gdb) pr to
(note 9 19 13 2 NOTE_INSN_DELETED)

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

* [Bug rtl-optimization/109179] addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0'
  2023-03-17 19:38 [Bug target/109179] New: addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0' bergner at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2023-03-17 20:18 ` [Bug rtl-optimization/109179] " bergner at gcc dot gnu.org
@ 2023-03-17 20:29 ` vmakarov at gcc dot gnu.org
  2023-03-17 20:29 ` [Bug rtl-optimization/109179] [13 Regression] " pinskia at gcc dot gnu.org
                   ` (17 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: vmakarov at gcc dot gnu.org @ 2023-03-17 20:29 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
Peter, thank you for reporting.  I'll try to fix it today or revert it.

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

* [Bug rtl-optimization/109179] [13 Regression] addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0'
  2023-03-17 19:38 [Bug target/109179] New: addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0' bergner at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2023-03-17 20:29 ` vmakarov at gcc dot gnu.org
@ 2023-03-17 20:29 ` pinskia at gcc dot gnu.org
  2023-03-17 20:38 ` jakub at gcc dot gnu.org
                   ` (16 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-03-17 20:29 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |blocker
           Keywords|                            |build, ice-on-valid-code
            Summary|addkf3-sw.c:51:1: internal  |[13 Regression]
                   |compiler error: RTL check:  |addkf3-sw.c:51:1: internal
                   |expected elt 3 type 'e' or  |compiler error: RTL check:
                   |'u', have '0'               |expected elt 3 type 'e' or
                   |                            |'u', have '0'

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

* [Bug rtl-optimization/109179] [13 Regression] addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0'
  2023-03-17 19:38 [Bug target/109179] New: addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0' bergner at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2023-03-17 20:29 ` [Bug rtl-optimization/109179] [13 Regression] " pinskia at gcc dot gnu.org
@ 2023-03-17 20:38 ` jakub at gcc dot gnu.org
  2023-03-17 20:46 ` bergner at gcc dot gnu.org
                   ` (15 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: jakub at gcc dot gnu.org @ 2023-03-17 20:38 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So perhaps:
--- gcc/lra-constraints.cc.jj   2023-03-17 16:09:09.162136438 +0100
+++ gcc/lra-constraints.cc      2023-03-17 21:37:04.799285670 +0100
@@ -5020,7 +5020,9 @@ combine_reload_insn (rtx_insn *from, rtx
   /* Check conditions for second memory reload and original insn:  */
   if ((targetm.secondary_memory_needed
        == hook_bool_mode_reg_class_t_reg_class_t_false)
-      || NEXT_INSN (from) != to || CALL_P (to)
+      || NEXT_INSN (from) != to
+      || !NONDEBUG_INSN_P (to)
+      || CALL_P (to)
       || id->used_insn_alternative == LRA_UNKNOWN_ALT
       || (set = single_set (from)) == NULL_RTX)
     return false;
?

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

* [Bug rtl-optimization/109179] [13 Regression] addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0'
  2023-03-17 19:38 [Bug target/109179] New: addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0' bergner at gcc dot gnu.org
                   ` (8 preceding siblings ...)
  2023-03-17 20:38 ` jakub at gcc dot gnu.org
@ 2023-03-17 20:46 ` bergner at gcc dot gnu.org
  2023-03-17 20:48 ` vmakarov at gcc dot gnu.org
                   ` (14 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bergner at gcc dot gnu.org @ 2023-03-17 20:46 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Peter Bergner <bergner at gcc dot gnu.org> ---
Here's another creduced test case, this one with -O2 optimization:

bergner@ltcden2-lp1:PR109179$ cat bug2.i 
union u
{
  _Float128 flt;
  long sign;
};

_Float128
foo (long src)
{
  union u var;
  var.sign = src;
  return var.flt;
}
bergner@ltcden2-lp1:PR109179$ gcc -S -O2 -mcpu=power8 bug2.i 
during RTL pass: reload
bug2.i: In function ‘foo’:
bug2.i:13:1: internal compiler error: RTL check: expected elt 3 type 'e' or
'u', have '0' (rtx note) in PATTERN, at rtl.h:1509
   13 | }
      | ^
0x1148c663 rtl_check_failed_type2(rtx_def const*, int, int, int, char const*,
int, char const*)
        /home/bergner/gcc/gcc-fsf-mainline-chip-ice/gcc/rtl.cc:907
0x10a0a207 PATTERN(rtx_def*)
        /home/bergner/gcc/gcc-fsf-mainline-chip-ice/gcc/rtl.h:1509
0x1278c123 insn_extract(rtx_insn*)
       
/home/bergner/gcc/build/gcc-fsf-mainline-chip-ice-regtest/gcc/insn-extract.cc:23
0x1118c9e7 lra_set_insn_recog_data(rtx_insn*)
        /home/bergner/gcc/gcc-fsf-mainline-chip-ice/gcc/lra.cc:1059
0x11194f23 lra_get_insn_recog_data(rtx_insn*)
        /home/bergner/gcc/gcc-fsf-mainline-chip-ice/gcc/lra-int.h:493
0x111b8de7 combine_reload_insn
        /home/bergner/gcc/gcc-fsf-mainline-chip-ice/gcc/lra-constraints.cc:5017

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

* [Bug rtl-optimization/109179] [13 Regression] addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0'
  2023-03-17 19:38 [Bug target/109179] New: addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0' bergner at gcc dot gnu.org
                   ` (9 preceding siblings ...)
  2023-03-17 20:46 ` bergner at gcc dot gnu.org
@ 2023-03-17 20:48 ` vmakarov at gcc dot gnu.org
  2023-03-17 20:50 ` bergner at gcc dot gnu.org
                   ` (13 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: vmakarov at gcc dot gnu.org @ 2023-03-17 20:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #7)
> So perhaps:
> --- gcc/lra-constraints.cc.jj	2023-03-17 16:09:09.162136438 +0100
> +++ gcc/lra-constraints.cc	2023-03-17 21:37:04.799285670 +0100
> @@ -5020,7 +5020,9 @@ combine_reload_insn (rtx_insn *from, rtx
>    /* Check conditions for second memory reload and original insn:  */
>    if ((targetm.secondary_memory_needed
>         == hook_bool_mode_reg_class_t_reg_class_t_false)
> -      || NEXT_INSN (from) != to || CALL_P (to)
> +      || NEXT_INSN (from) != to
> +      || !NONDEBUG_INSN_P (to)
> +      || CALL_P (to)
>        || id->used_insn_alternative == LRA_UNKNOWN_ALT
>        || (set = single_set (from)) == NULL_RTX)
>      return false;
> ?

Yes, that is what I am trying to do.  For me only question why is LRA works
there on notes.   LRA pushes only real insns to work stack.

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

* [Bug rtl-optimization/109179] [13 Regression] addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0'
  2023-03-17 19:38 [Bug target/109179] New: addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0' bergner at gcc dot gnu.org
                   ` (10 preceding siblings ...)
  2023-03-17 20:48 ` vmakarov at gcc dot gnu.org
@ 2023-03-17 20:50 ` bergner at gcc dot gnu.org
  2023-03-17 20:51 ` jakub at gcc dot gnu.org
                   ` (12 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bergner at gcc dot gnu.org @ 2023-03-17 20:50 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 from Peter Bergner <bergner at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #7)
> So perhaps:
> --- gcc/lra-constraints.cc.jj	2023-03-17 16:09:09.162136438 +0100
> +++ gcc/lra-constraints.cc	2023-03-17 21:37:04.799285670 +0100
> @@ -5020,7 +5020,9 @@ combine_reload_insn (rtx_insn *from, rtx
>    /* Check conditions for second memory reload and original insn:  */
>    if ((targetm.secondary_memory_needed
>         == hook_bool_mode_reg_class_t_reg_class_t_false)
> -      || NEXT_INSN (from) != to || CALL_P (to)
> +      || NEXT_INSN (from) != to
> +      || !NONDEBUG_INSN_P (to)
> +      || CALL_P (to)
>        || id->used_insn_alternative == LRA_UNKNOWN_ALT
>        || (set = single_set (from)) == NULL_RTX)
>      return false;
> ?

I can give this try.  Although it would be good to know from Vlad whether it's
invalid to ever pass a debug insn to combine_reload_insn() or not.

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

* [Bug rtl-optimization/109179] [13 Regression] addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0'
  2023-03-17 19:38 [Bug target/109179] New: addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0' bergner at gcc dot gnu.org
                   ` (11 preceding siblings ...)
  2023-03-17 20:50 ` bergner at gcc dot gnu.org
@ 2023-03-17 20:51 ` jakub at gcc dot gnu.org
  2023-03-17 21:04 ` bergner at gcc dot gnu.org
                   ` (11 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: jakub at gcc dot gnu.org @ 2023-03-17 20:51 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
But in this case it has been removed in between:
#0  set_insn_deleted (insn=0x7fffea13a340) at ../../gcc/emit-rtl.cc:4257
#1  0x0000000000ac7d3e in lra_set_insn_deleted (insn=0x7fffea13a340) at
../../gcc/lra.cc:263
#2  0x0000000000ad8de8 in check_and_process_move (change_p=0x7fffffffd26f,
sec_mem_p=0x7fffffffd26e) at ../../gcc/lra-constraints.cc:1400
#3  0x0000000000ae0034 in curr_insn_transform (check_only_p=false) at
../../gcc/lra-constraints.cc:4130
#4  0x0000000000ae41d3 in lra_constraints (first_p=true) at
../../gcc/lra-constraints.cc:5314

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

* [Bug rtl-optimization/109179] [13 Regression] addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0'
  2023-03-17 19:38 [Bug target/109179] New: addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0' bergner at gcc dot gnu.org
                   ` (12 preceding siblings ...)
  2023-03-17 20:51 ` jakub at gcc dot gnu.org
@ 2023-03-17 21:04 ` bergner at gcc dot gnu.org
  2023-03-17 21:09 ` bergner at gcc dot gnu.org
                   ` (10 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bergner at gcc dot gnu.org @ 2023-03-17 21:04 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #12 from Peter Bergner <bergner at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #7)
> So perhaps:
> --- gcc/lra-constraints.cc.jj	2023-03-17 16:09:09.162136438 +0100
> +++ gcc/lra-constraints.cc	2023-03-17 21:37:04.799285670 +0100
> @@ -5020,7 +5020,9 @@ combine_reload_insn (rtx_insn *from, rtx
>    /* Check conditions for second memory reload and original insn:  */
>    if ((targetm.secondary_memory_needed
>         == hook_bool_mode_reg_class_t_reg_class_t_false)
> -      || NEXT_INSN (from) != to || CALL_P (to)
> +      || NEXT_INSN (from) != to
> +      || !NONDEBUG_INSN_P (to)
> +      || CALL_P (to)
>        || id->used_insn_alternative == LRA_UNKNOWN_ALT
>        || (set = single_set (from)) == NULL_RTX)
>      return false;
> ?

This doesn't work as is, since the ICE is occurring on code before we get here
in the function.  Specifically here:

   lra_insn_recog_data_t id = lra_get_insn_recog_data (to);

I'll try moving the test up earlier and testing with that.

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

* [Bug rtl-optimization/109179] [13 Regression] addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0'
  2023-03-17 19:38 [Bug target/109179] New: addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0' bergner at gcc dot gnu.org
                   ` (13 preceding siblings ...)
  2023-03-17 21:04 ` bergner at gcc dot gnu.org
@ 2023-03-17 21:09 ` bergner at gcc dot gnu.org
  2023-03-17 21:13 ` vmakarov at gcc dot gnu.org
                   ` (9 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bergner at gcc dot gnu.org @ 2023-03-17 21:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #13 from Peter Bergner <bergner at gcc dot gnu.org> ---
(In reply to Peter Bergner from comment #12)
> I'll try moving the test up earlier and testing with that.

So this fixes the ICEs on the two test cases above.  I'll try a full bootstrap
with it.

--- a/gcc/lra-constraints.cc
+++ b/gcc/lra-constraints.cc
@@ -5014,6 +5014,10 @@ combine_reload_insn (rtx_insn *from, rtx_insn *to)
   enum reg_class to_class, from_class;
   int n, nop;
   signed char changed_nops[MAX_RECOG_OPERANDS + 1];
+
+  if (!NONDEBUG_INSN_P (to))
+    return false;
+
   lra_insn_recog_data_t id = lra_get_insn_recog_data (to);
   struct lra_static_insn_data *static_id = id->insn_static_data;

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

* [Bug rtl-optimization/109179] [13 Regression] addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0'
  2023-03-17 19:38 [Bug target/109179] New: addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0' bergner at gcc dot gnu.org
                   ` (14 preceding siblings ...)
  2023-03-17 21:09 ` bergner at gcc dot gnu.org
@ 2023-03-17 21:13 ` vmakarov at gcc dot gnu.org
  2023-03-17 21:23 ` bergner at gcc dot gnu.org
                   ` (8 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: vmakarov at gcc dot gnu.org @ 2023-03-17 21:13 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #14 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
(In reply to Peter Bergner from comment #13)
> (In reply to Peter Bergner from comment #12)
> > I'll try moving the test up earlier and testing with that.
> 
> So this fixes the ICEs on the two test cases above.  I'll try a full
> bootstrap with it.
> 
> --- a/gcc/lra-constraints.cc
> +++ b/gcc/lra-constraints.cc
> @@ -5014,6 +5014,10 @@ combine_reload_insn (rtx_insn *from, rtx_insn *to)
>    enum reg_class to_class, from_class;
>    int n, nop;
>    signed char changed_nops[MAX_RECOG_OPERANDS + 1];
> +
> +  if (!NONDEBUG_INSN_P (to))
> +    return false;
> +
>    lra_insn_recog_data_t id = lra_get_insn_recog_data (to);
>    struct lra_static_insn_data *static_id = id->insn_static_data;

Peter, sorry for troubles and thank you for working on it.  The patch is ok for
me.  Could you commit the patch if the bootstrap is ok.

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

* [Bug rtl-optimization/109179] [13 Regression] addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0'
  2023-03-17 19:38 [Bug target/109179] New: addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0' bergner at gcc dot gnu.org
                   ` (15 preceding siblings ...)
  2023-03-17 21:13 ` vmakarov at gcc dot gnu.org
@ 2023-03-17 21:23 ` bergner at gcc dot gnu.org
  2023-03-17 21:27 ` jakub at gcc dot gnu.org
                   ` (7 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bergner at gcc dot gnu.org @ 2023-03-17 21:23 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #15 from Peter Bergner <bergner at gcc dot gnu.org> ---
(In reply to Vladimir Makarov from comment #14)
> Peter, sorry for troubles and thank you for working on it.  The patch is ok
> for me.  Could you commit the patch if the bootstrap is ok.

Will do and no problem.  I'll also compare the testsuite results to the
testsuite results from the commit before yours, just to be sure no other
non-ICE errors crept in.

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

* [Bug rtl-optimization/109179] [13 Regression] addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0'
  2023-03-17 19:38 [Bug target/109179] New: addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0' bergner at gcc dot gnu.org
                   ` (16 preceding siblings ...)
  2023-03-17 21:23 ` bergner at gcc dot gnu.org
@ 2023-03-17 21:27 ` jakub at gcc dot gnu.org
  2023-03-17 21:34 ` bergner at gcc dot gnu.org
                   ` (6 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: jakub at gcc dot gnu.org @ 2023-03-17 21:27 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Can't you move all the tests that don't need id or static_id (all but one)
before the
  lra_insn_recog_data_t id = lra_get_insn_recog_data (to);
  struct lra_static_insn_data *static_id = id->insn_static_data;
instead?
Ok, single_set is also a call, so maybe keep that one too?

I know, microoptimizations...

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

* [Bug rtl-optimization/109179] [13 Regression] addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0'
  2023-03-17 19:38 [Bug target/109179] New: addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0' bergner at gcc dot gnu.org
                   ` (17 preceding siblings ...)
  2023-03-17 21:27 ` jakub at gcc dot gnu.org
@ 2023-03-17 21:34 ` bergner at gcc dot gnu.org
  2023-03-17 21:54 ` bergner at gcc dot gnu.org
                   ` (5 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bergner at gcc dot gnu.org @ 2023-03-17 21:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #17 from Peter Bergner <bergner at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #16)
> Can't you move all the tests that don't need id or static_id (all but one)
> before the
>   lra_insn_recog_data_t id = lra_get_insn_recog_data (to);
>   struct lra_static_insn_data *static_id = id->insn_static_data;
> instead?
> Ok, single_set is also a call, so maybe keep that one too?
> 
> I know, microoptimizations...

I can do that after my current run is done.  I just wanted to verify the one
test was enough to fix the ICE and wasn't looking closely at what all could be
moved earlier.

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

* [Bug rtl-optimization/109179] [13 Regression] addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0'
  2023-03-17 19:38 [Bug target/109179] New: addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0' bergner at gcc dot gnu.org
                   ` (18 preceding siblings ...)
  2023-03-17 21:34 ` bergner at gcc dot gnu.org
@ 2023-03-17 21:54 ` bergner at gcc dot gnu.org
  2023-03-17 22:03 ` bergner at gcc dot gnu.org
                   ` (4 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bergner at gcc dot gnu.org @ 2023-03-17 21:54 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #18 from Peter Bergner <bergner at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #16)
> Can't you move all the tests that don't need id or static_id (all but one)
> before the
>   lra_insn_recog_data_t id = lra_get_insn_recog_data (to);
>   struct lra_static_insn_data *static_id = id->insn_static_data;
> instead?
> Ok, single_set is also a call, so maybe keep that one too?
> 
> I know, microoptimizations...

Looking at lra_get_insn_recog_data() versus the common case for single_set(), I
think moving the single_set() call earlier is fine too, and it simplifies the
final code with just the one early out tests rather than splitting them up.

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

* [Bug rtl-optimization/109179] [13 Regression] addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0'
  2023-03-17 19:38 [Bug target/109179] New: addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0' bergner at gcc dot gnu.org
                   ` (19 preceding siblings ...)
  2023-03-17 21:54 ` bergner at gcc dot gnu.org
@ 2023-03-17 22:03 ` bergner at gcc dot gnu.org
  2023-03-17 22:06 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bergner at gcc dot gnu.org @ 2023-03-17 22:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #19 from Peter Bergner <bergner at gcc dot gnu.org> ---
(In reply to Peter Bergner from comment #18)
> (In reply to Jakub Jelinek from comment #16)
> > Can't you move all the tests that don't need id or static_id (all but one)
> > before the
> >   lra_insn_recog_data_t id = lra_get_insn_recog_data (to);
> >   struct lra_static_insn_data *static_id = id->insn_static_data;
> > instead?
> > Ok, single_set is also a call, so maybe keep that one too?
> > 
> > I know, microoptimizations...
> 
> Looking at lra_get_insn_recog_data() versus the common case for
> single_set(), I think moving the single_set() call earlier is fine too, and
> it simplifies the final code with just the one early out tests rather than
> splitting them up.

Ah, nevermind, we have the "|| id->used_insn_alternative == LRA_UNKNOWN_ALT"
which we can't move.  Then I'll keep the single_set() close to it's use of the
result just after.  How about this?

--- a/gcc/lra-constraints.cc
+++ b/gcc/lra-constraints.cc
@@ -5014,14 +5014,19 @@ combine_reload_insn (rtx_insn *from, rtx_insn *to)
   enum reg_class to_class, from_class;
   int n, nop;
   signed char changed_nops[MAX_RECOG_OPERANDS + 1];
-  lra_insn_recog_data_t id = lra_get_insn_recog_data (to);
-  struct lra_static_insn_data *static_id = id->insn_static_data;

   /* Check conditions for second memory reload and original insn:  */
   if ((targetm.secondary_memory_needed
        == hook_bool_mode_reg_class_t_reg_class_t_false)
-      || NEXT_INSN (from) != to || CALL_P (to)
-      || id->used_insn_alternative == LRA_UNKNOWN_ALT
+      || NEXT_INSN (from) != to
+      || !NONDEBUG_INSN_P (to)
+      || CALL_P (to))
+    return false;
+
+  lra_insn_recog_data_t id = lra_get_insn_recog_data (to);
+  struct lra_static_insn_data *static_id = id->insn_static_data;
+  
+  if (id->used_insn_alternative == LRA_UNKNOWN_ALT
       || (set = single_set (from)) == NULL_RTX)
     return false;
   from_reg = SET_DEST (set);

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

* [Bug rtl-optimization/109179] [13 Regression] addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0'
  2023-03-17 19:38 [Bug target/109179] New: addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0' bergner at gcc dot gnu.org
                   ` (20 preceding siblings ...)
  2023-03-17 22:03 ` bergner at gcc dot gnu.org
@ 2023-03-17 22:06 ` jakub at gcc dot gnu.org
  2023-03-17 22:13 ` vmakarov at gcc dot gnu.org
                   ` (2 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: jakub at gcc dot gnu.org @ 2023-03-17 22:06 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
That LGTM, but Vlad is the maintainer here...

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

* [Bug rtl-optimization/109179] [13 Regression] addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0'
  2023-03-17 19:38 [Bug target/109179] New: addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0' bergner at gcc dot gnu.org
                   ` (21 preceding siblings ...)
  2023-03-17 22:06 ` jakub at gcc dot gnu.org
@ 2023-03-17 22:13 ` vmakarov at gcc dot gnu.org
  2023-03-18  0:03 ` cvs-commit at gcc dot gnu.org
  2023-03-18  0:05 ` bergner at gcc dot gnu.org
  24 siblings, 0 replies; 26+ messages in thread
From: vmakarov at gcc dot gnu.org @ 2023-03-17 22:13 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #21 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #20)
> That LGTM, but Vlad is the maintainer here...

It looks ok for me too.

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

* [Bug rtl-optimization/109179] [13 Regression] addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0'
  2023-03-17 19:38 [Bug target/109179] New: addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0' bergner at gcc dot gnu.org
                   ` (22 preceding siblings ...)
  2023-03-17 22:13 ` vmakarov at gcc dot gnu.org
@ 2023-03-18  0:03 ` cvs-commit at gcc dot gnu.org
  2023-03-18  0:05 ` bergner at gcc dot gnu.org
  24 siblings, 0 replies; 26+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-03-18  0:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #22 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Peter Bergner <bergner@gcc.gnu.org>:

https://gcc.gnu.org/g:44a13125a0d56dbabb9bc61de7ff8bf94fb57928

commit r13-6745-g44a13125a0d56dbabb9bc61de7ff8bf94fb57928
Author: Peter Bergner <bergner@linux.ibm.com>
Date:   Fri Mar 17 19:01:45 2023 -0500

    lra: Ignore debug insns and notes in combine_reload_insn [PR109179]

    We ICE in combine_reload_insn if we've deleted the TO insn operand during
    processing, because lra_get_insn_recog_data doesn't expect to see the note
    that replaces the deleted insn.  The solution here is to exit early if TO
    is a debug insn or note.

    2023-03-17  Peter Bergner  <bergner@linux.ibm.com>

    gcc/
            PR rtl-optimization/109179
            * lra-constraints.cc (combine_reload_insn): Enforce TO is not a
debug
            insn or note.  Move the tests earlier to guard
lra_get_insn_recog_data.

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

* [Bug rtl-optimization/109179] [13 Regression] addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0'
  2023-03-17 19:38 [Bug target/109179] New: addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0' bergner at gcc dot gnu.org
                   ` (23 preceding siblings ...)
  2023-03-18  0:03 ` cvs-commit at gcc dot gnu.org
@ 2023-03-18  0:05 ` bergner at gcc dot gnu.org
  24 siblings, 0 replies; 26+ messages in thread
From: bergner at gcc dot gnu.org @ 2023-03-18  0:05 UTC (permalink / raw)
  To: gcc-bugs

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

Peter Bergner <bergner at gcc dot gnu.org> changed:

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

--- Comment #23 from Peter Bergner <bergner at gcc dot gnu.org> ---
(In reply to Vladimir Makarov from comment #21)
> (In reply to Jakub Jelinek from comment #20)
> > That LGTM, but Vlad is the maintainer here...
> 
> It looks ok for me too.

Ok, the above patch bootstrapped with no errors and the testsuite run showed no
regressions compared to the commit before Vlad's patch, so I pushed the fix as
approved.  Thanks for everyone's help!

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

end of thread, other threads:[~2023-03-18  0:05 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-17 19:38 [Bug target/109179] New: addkf3-sw.c:51:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0' bergner at gcc dot gnu.org
2023-03-17 19:39 ` [Bug target/109179] " bergner at gcc dot gnu.org
2023-03-17 19:43 ` bergner at gcc dot gnu.org
2023-03-17 20:05 ` bergner at gcc dot gnu.org
2023-03-17 20:12 ` bergner at gcc dot gnu.org
2023-03-17 20:14 ` bergner at gcc dot gnu.org
2023-03-17 20:18 ` [Bug rtl-optimization/109179] " bergner at gcc dot gnu.org
2023-03-17 20:29 ` vmakarov at gcc dot gnu.org
2023-03-17 20:29 ` [Bug rtl-optimization/109179] [13 Regression] " pinskia at gcc dot gnu.org
2023-03-17 20:38 ` jakub at gcc dot gnu.org
2023-03-17 20:46 ` bergner at gcc dot gnu.org
2023-03-17 20:48 ` vmakarov at gcc dot gnu.org
2023-03-17 20:50 ` bergner at gcc dot gnu.org
2023-03-17 20:51 ` jakub at gcc dot gnu.org
2023-03-17 21:04 ` bergner at gcc dot gnu.org
2023-03-17 21:09 ` bergner at gcc dot gnu.org
2023-03-17 21:13 ` vmakarov at gcc dot gnu.org
2023-03-17 21:23 ` bergner at gcc dot gnu.org
2023-03-17 21:27 ` jakub at gcc dot gnu.org
2023-03-17 21:34 ` bergner at gcc dot gnu.org
2023-03-17 21:54 ` bergner at gcc dot gnu.org
2023-03-17 22:03 ` bergner at gcc dot gnu.org
2023-03-17 22:06 ` jakub at gcc dot gnu.org
2023-03-17 22:13 ` vmakarov at gcc dot gnu.org
2023-03-18  0:03 ` cvs-commit at gcc dot gnu.org
2023-03-18  0:05 ` bergner 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).