[Bug target/111935] gcc ICE with risc-v vector intrinsics

2024-04-24 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111935

Kito Cheng  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
 CC||kito at gcc dot gnu.org

--- Comment #5 from Kito Cheng  ---
Checked this has fixed on trunk and GCC 13 branch

[Bug target/111935] gcc ICE with risc-v vector intrinsics

2024-02-16 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111935

Alexandre Oliva  changed:

   What|Removed |Added

 CC||aoliva at gcc dot gnu.org

--- Comment #4 from Alexandre Oliva  ---
Does the test pass in gcc-13 for anyone?  ISTM that it doesn't.  I bisected it
and got to commit 973eb0deb467c79cc21f265a710a81054cfd3e8c AKA r14-3535, for
bug 110943, as the first in which the test generates the expected number of
matches of the vs... pattern.

[Bug target/111935] gcc ICE with risc-v vector intrinsics

2023-10-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111935

--- Comment #3 from CVS Commits  ---
The releases/gcc-13 branch has been updated by Li Xu :

https://gcc.gnu.org/g:b22b845834f8bdc4e18d95b4f36ba702c01ed5f8

commit r13-7996-gb22b845834f8bdc4e18d95b4f36ba702c01ed5f8
Author: xuli 
Date:   Tue Oct 24 07:39:02 2023 +

RISC-V: Fix ICE of RVV vget/vset intrinsic[PR111935]

Calling vget/vset intrinsic without receiving a return value will cause
a crash. Because in this case e.target is null.
This patch should be backported to releases/gcc-13.

PR target/111935

gcc/ChangeLog:

* config/riscv/riscv-vector-builtins-bases.cc: fix bug.

gcc/testsuite/ChangeLog:

* gcc.target/riscv/rvv/base/pr111935.c: New test.

(cherry picked from commit b44d4ff7b43ff6a34d5c074c7ade03c4a38974fa)

[Bug target/111935] gcc ICE with risc-v vector intrinsics

2023-10-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111935

--- Comment #2 from CVS Commits  ---
The master branch has been updated by Li Xu :

https://gcc.gnu.org/g:b44d4ff7b43ff6a34d5c074c7ade03c4a38974fa

commit r14-4879-gb44d4ff7b43ff6a34d5c074c7ade03c4a38974fa
Author: xuli 
Date:   Tue Oct 24 07:39:02 2023 +

RISC-V: Fix ICE of RVV vget/vset intrinsic[PR111935]

Calling vget/vset intrinsic without receiving a return value will cause
a crash. Because in this case e.target is null.
This patch should be backported to releases/gcc-13.

PR target/111935

gcc/ChangeLog:

* config/riscv/riscv-vector-builtins-bases.cc: fix bug.

gcc/testsuite/ChangeLog:

* gcc.target/riscv/rvv/base/pr111935.c: New test.

[Bug target/111935] gcc ICE with risc-v vector intrinsics

2023-10-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111935

Andrew Pinski  changed:

   What|Removed |Added

   Last reconfirmed||2023-10-23
 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #1 from Andrew Pinski  ---
Confirmed, still happens on the trunk.