public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/104024] New: ICE in curr_insn_transform, at lra-constraints.c:4132
@ 2022-01-14  8:35 marxin at gcc dot gnu.org
  2022-02-16  5:44 ` [Bug target/104024] ICE in curr_insn_transform with -O1 -mpower10-fusion -mpower10-fusion-2logical with __int128_t and __builtin_add_overflow linkw at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-01-14  8:35 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 104024
           Summary: ICE in curr_insn_transform, at lra-constraints.c:4132
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: krebbel at gcc dot gnu.org, segher at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-linux-gnu
            Target: ppc64-linux-gnu

The following ICEs:

$ ppc64-linux-gnu-gcc
/home/marxin/Programming/gcc/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-6.c
-O1 -mpower10-fusion -mpower10-fusion-2logical
In file included from
/home/marxin/Programming/gcc/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-1.h:1,
                 from
/home/marxin/Programming/gcc/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-6.c:5:
/home/marxin/Programming/gcc/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-6.c:
In function ‘t100_1add’:
/home/marxin/Programming/gcc/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow.h:28:1:
error: unable to generate reloads for:
   28 | }                                               \
      | ^
/home/marxin/Programming/gcc/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow.h:159:1:
note: in expansion of macro ‘T’
  159 | T (n, t, t, t, v1, v2, vr, b, o)
      | ^
/home/marxin/Programming/gcc/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-1.h:4:1:
note: in expansion of macro ‘ST’
    4 | ST (100, signed type, 2, 3, 5, U(s, add), 0) \
      | ^~
/home/marxin/Programming/gcc/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-6.c:11:1:
note: in expansion of macro ‘TESTS’
   11 | TESTS (__int128, INT128_MIN, INT128_MAX)
      | ^~~~~
(insn 13 78 50 2 (parallel [
            (set (reg:TI 128)
                (and:TI (xor:TI (reg:TI 124)
                        (reg/v:TI 123 [ y ]))
                    (reg:TI 127)))
            (clobber (reg:TI 147))
        ])
"/home/marxin/Programming/gcc/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-6.c":11:1
2690 {*fuse_vxor_vand}
     (expr_list:REG_UNUSED (reg:TI 147)
        (expr_list:REG_DEAD (reg:TI 127)
            (expr_list:REG_DEAD (reg/v:TI 123 [ y ])
                (nil)))))
during RTL pass: reload
/home/marxin/Programming/gcc/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow.h:28:1:
internal compiler error: in curr_insn_transform, at lra-constraints.c:4132
   28 | }                                               \
      | ^
/home/marxin/Programming/gcc/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow.h:159:1:
note: in expansion of macro ‘T’
  159 | T (n, t, t, t, v1, v2, vr, b, o)
      | ^
/home/marxin/Programming/gcc/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-1.h:4:1:
note: in expansion of macro ‘ST’
    4 | ST (100, signed type, 2, 3, 5, U(s, add), 0) \
      | ^~
/home/marxin/Programming/gcc/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-6.c:11:1:
note: in expansion of macro ‘TESTS’
   11 | TESTS (__int128, INT128_MIN, INT128_MAX)
      | ^~~~~
0x5f1d79 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-ppc64/build/gcc/rtl-error.c:108
0x5ea4c8 curr_insn_transform
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-ppc64/build/gcc/lra-constraints.c:4132
0xa00cc5 lra_constraints(bool)
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-ppc64/build/gcc/lra-constraints.c:5161
0x9ef182 lra(_IO_FILE*)
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-ppc64/build/gcc/lra.c:2336
0x9ab6a9 do_reload
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-ppc64/build/gcc/ira.c:5934
0x9ab6a9 execute
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-ppc64/build/gcc/ira.c:6120
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

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

end of thread, other threads:[~2023-09-12  9:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-14  8:35 [Bug target/104024] New: ICE in curr_insn_transform, at lra-constraints.c:4132 marxin at gcc dot gnu.org
2022-02-16  5:44 ` [Bug target/104024] ICE in curr_insn_transform with -O1 -mpower10-fusion -mpower10-fusion-2logical with __int128_t and __builtin_add_overflow linkw at gcc dot gnu.org
2022-02-18  8:48 ` linkw at gcc dot gnu.org
2022-02-18  8:49 ` linkw at gcc dot gnu.org
2022-02-18 17:25 ` segher at gcc dot gnu.org
2022-02-21  2:29 ` linkw at gcc dot gnu.org
2023-06-15 10:37 ` jamborm at gcc dot gnu.org
2023-06-16 12:14 ` linkw at gcc dot gnu.org
2023-09-12  9:15 ` linkw 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).