public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/111941] New: RISC-V ICE: in merge, at config/riscv/riscv-vsetvl.cc:1996
@ 2023-10-23 17:45 patrick at rivosinc dot com
  2023-10-23 22:31 ` [Bug target/111941] " patrick at rivosinc dot com
  0 siblings, 1 reply; 2+ messages in thread
From: patrick at rivosinc dot com @ 2023-10-23 17:45 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 111941
           Summary: RISC-V ICE: in merge, at
                    config/riscv/riscv-vsetvl.cc:1996
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: patrick at rivosinc dot com
  Target Milestone: ---

Created attachment 56180
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56180&action=edit
-freport-bug output

First bad commit: r14-4773-g29331e72d0c
Confirmed to still be present on trunk: r14-4809-g55731b59e60

Building newlib 4.1.0 fails on ldtoa.c

https://sourceware.org/git/?p=newlib-cygwin.git;a=blob;f=newlib/libc/stdlib/ldtoa.c;h=1cc97151afb693b04c864243a4466038b06ac94f;hb=415fdd4279b85eeec9d54775ce13c5c412451e08

creduce'd testcase:

./bin/riscv64-unknown-elf-gcc -fno-builtin -O2 -march=rv64gv_zbb -mabi=lp64d -S
-o test.S red.c
./bin/riscv64-unknown-elf-gcc -fno-builtin -O2 -march=rv32gv_zbb -mabi=ilp32d
-S -o test.S red.c

> cat red.c
typedef struct {
  short a[0]
} b;
c;
d[];
b e;
*f;
j() {
  short *g = d;
  int h;
  unsigned short i;
  for (; h < 10; h++)
    i |= *f++;
  if (i)
    i = 1;
  h = 0;
  for (; h < 10; h++)
    g[h] = e.a[h];
  c = i;
}

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

* [Bug target/111941] RISC-V ICE: in merge, at config/riscv/riscv-vsetvl.cc:1996
  2023-10-23 17:45 [Bug target/111941] New: RISC-V ICE: in merge, at config/riscv/riscv-vsetvl.cc:1996 patrick at rivosinc dot com
@ 2023-10-23 22:31 ` patrick at rivosinc dot com
  0 siblings, 0 replies; 2+ messages in thread
From: patrick at rivosinc dot com @ 2023-10-23 22:31 UTC (permalink / raw)
  To: gcc-bugs

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

Patrick O'Neill <patrick at rivosinc dot com> changed:

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

--- Comment #1 from Patrick O'Neill <patrick at rivosinc dot com> ---
Confirmed to be fixed on r14-4873-g02aa322c8cf.

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

end of thread, other threads:[~2023-10-23 22:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-23 17:45 [Bug target/111941] New: RISC-V ICE: in merge, at config/riscv/riscv-vsetvl.cc:1996 patrick at rivosinc dot com
2023-10-23 22:31 ` [Bug target/111941] " patrick at rivosinc dot com

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).