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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2023-12-11

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Andreas Schwab from comment #7)
> spawn -ignore SIGHUP /daten/aranym/gcc/gcc-20231208/Build/gcc/xgcc
> -B/daten/aranym/gcc/gcc-20231208/Build/gcc/
> /daten/aranym/gcc/gcc-20231208/gcc/testsuite/gcc.dg/torture/vshuf-v16qi.c
> -fdiagnostics-plain-output -O2 -lm -o ./vshuf-v16qi.exe
> during RTL pass: reload
> In file included from
> /daten/aranym/gcc/gcc-20231208/gcc/testsuite/gcc.dg/torture/vshuf-v16qi.c:11:
> /daten/aranym/gcc/gcc-20231208/gcc/testsuite/gcc.dg/torture/vshuf-main.inc:
> In function 'test_3':
> /daten/aranym/gcc/gcc-20231208/gcc/testsuite/gcc.dg/torture/vshuf-main.inc:
> 27:1: internal compiler error: maximum number of generated reload insns per
> insn achieved (90)
> /daten/aranym/gcc/gcc-20231208/gcc/testsuite/gcc.dg/torture/vshuf-16.inc:6:1:
> note: in expansion of macro 'T'
> /daten/aranym/gcc/gcc-20231208/gcc/testsuite/gcc.dg/torture/vshuf-main.inc:
> 28:1: note: in expansion of macro 'TESTS'
> 0xbe89f0 lra_constraints(bool)
>         ../../gcc/lra-constraints.cc:5429
> 0xbcffba lra(_IO_FILE*, int)
>         ../../gcc/lra.cc:2440
> 0xb7def7 do_reload
>         ../../gcc/ira.cc:5973
> 0xb7def7 execute
>         ../../gcc/ira.cc:6161

...
(insn 269 268 270 2 (set (reg:QI 226)
        (reg:QI 225))
"/space/rguenther/src/gcc/gcc/testsuite/gcc.dg/torture/vshuf-main.inc":28:1 62
{*m68k.md:1130}
     (nil))
(insn 270 269 271 2 (set (reg:QI 227)
        (reg:QI 226))
"/space/rguenther/src/gcc/gcc/testsuite/gcc.dg/torture/vshuf-main.inc":28:1 62
{*m68k.md:1130}
     (nil))
(insn 271 270 272 2 (set (reg:QI 228)
        (reg:QI 227))
"/space/rguenther/src/gcc/gcc/testsuite/gcc.dg/torture/vshuf-main.inc":28:1 62
{*m68k.md:1130}
     (nil))
(insn 272 271 35 2 (set (subreg:QI (reg:SI 138 [orig:43 _26 ] [43]) 3)
        (reg:QI 228))
"/space/rguenther/src/gcc/gcc/testsuite/gcc.dg/torture/vshuf-main.inc":28:1 62
{*m68k.md:1130}
     (nil))

which is

(define_insn ""
  [(set (match_operand:QI 0 "nonimmediate_operand" "=d,*a,m")
    (match_operand:QI 1 "general_src_operand" "dmSi*a,di*a,dmSi"))]
  "!TARGET_COLDFIRE"
  "* return output_move_qimode (operands);"
  [(set_attr "flags_valid" "set")])

  271: r138:SI#3=r227:QI

         Considering alt=0 of insn 271:   (0) =d  (1) dmSi*a
            0 Super set class reg: reject-=3
            0 Non input pseudo reload: reject++
            1 Non pseudo reload: reject++
            Cycle danger: overall += LRA_MAX_REJECT
          overall=605,losers=1,rld_nregs=1
         Considering alt=1 of insn 271:   (0) *a  (1) di*a
            0 Super set class reg: reject-=3
            0 Costly loser: reject++
            0 Non input pseudo reload: reject++
            1 Non pseudo reload: reject++
          overall=6,losers=1,rld_nregs=1
         Considering alt=2 of insn 271:   (0) m  (1) dmSi
            Using memory insn operand 0: reject+=3
            0 Non input pseudo reload: reject++
            overall=10,losers=1 -- refuse
      Choosing alt 1 in insn 271:  (0) *a  (1) di*a {*m68k.md:1130}
      Creating newreg=228, assigning class ADDR_REGS to r228

Reply via email to