public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/108263] New: [13 Regression] ICE building Linux kernel on ppc64le
@ 2023-01-02 11:31 jakub at gcc dot gnu.org
  2023-01-02 11:31 ` [Bug rtl-optimization/108263] " jakub at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2023-01-02 11:31 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108263
           Summary: [13 Regression] ICE building Linux kernel on ppc64le
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
  Target Milestone: ---

int v, *p;

void
foo (void)
{
  int i;
  for (i = 0;; i++)
    {
      if (v)
        {
          __label__ l1;
          asm goto ("" : : : : l1);
        l1:
          return;
        }
      if (p[i])
        break;
    }
  asm goto ("" : : "r" (i) : : l2);
l2:
}

ICEs with -O2 on powerpc64le-linux:
kernel-ice.i: In function ‘foo’:
kernel-ice.i:21:1: error: in basic block 9:
   21 | }
      | ^
kernel-ice.i:21:1: error: flow control insn inside a basic block
(jump_insn 84 3 87 9 (parallel [
            (asm_operands/v ("") ("") 0 [
                    (reg/v:SI 10 10 [orig:120 i ] [120])
                ]
                 [
                    (asm_input:SI ("r") kernel-ice.i:19)
                ]
                 [
                    (label_ref:DI 42)
                ] kernel-ice.i:19)
            (clobber (reg:SI 98 ca))
        ]) "kernel-ice.i":19:3 -1
     (expr_list:REG_DEAD (reg/v:SI 10 10 [orig:120 i ] [120])
        (expr_list:REG_UNUSED (reg:SI 98 ca)
            (nil)))
 -> 42)
during RTL pass: bbro
kernel-ice.i:21:1: internal compiler error: in rtl_verify_bb_insns, at
cfgrtl.cc:2797

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

end of thread, other threads:[~2023-01-03 11:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-02 11:31 [Bug rtl-optimization/108263] New: [13 Regression] ICE building Linux kernel on ppc64le jakub at gcc dot gnu.org
2023-01-02 11:31 ` [Bug rtl-optimization/108263] " jakub at gcc dot gnu.org
2023-01-02 13:19 ` jakub at gcc dot gnu.org
2023-01-03 11:13 ` cvs-commit at gcc dot gnu.org
2023-01-03 11:14 ` jakub 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).