[Bug target/118384] unexpected call to __muldi3 generated for riscv target

2025-01-20 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118384 Richard Sandiford changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org --- Com

[Bug target/118384] unexpected call to __muldi3 generated for riscv target

2025-01-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118384 --- Comment #8 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:8edf8b552313951cb4f2f97821ee4b3820c9506b commit r15-7074-g8edf8b552313951cb4f2f97821ee4b3820c9506b Author: Richard Sandiford Da

[Bug target/118384] unexpected call to __muldi3 generated for riscv target

2025-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118384 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/118384] unexpected call to __muldi3 generated for riscv target

2025-01-09 Thread fanghuaqi at vip dot qq.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118384 --- Comment #6 from Huaqi --- Thanks Kito, this `-fno-ssa-phiopt` option also works.

[Bug target/118384] unexpected call to __muldi3 generated for riscv target

2025-01-09 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118384 Kito Cheng changed: What|Removed |Added CC||kito at gcc dot gnu.org --- Comment #5 fro

[Bug target/118384] unexpected call to __muldi3 generated for riscv target

2025-01-09 Thread fanghuaqi at vip dot qq.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118384 --- Comment #4 from Huaqi --- Thanks Andrew, it is clear to me now. Do you know how it can be avoided? Since I may want to implement my own `__muldi3` function instead of generating a libcall.

[Bug target/118384] unexpected call to __muldi3 generated for riscv target

2025-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118384 --- Comment #3 from Andrew Pinski --- (In reply to Huaqi from comment #1) > This issue also present in arm-eabi-gcc toolchain 14.x, but not present in > 13.x. > > compiler option chosen is -Os -mcpu=cortex-m0 > > chose m0 due it don't have a m

[Bug target/118384] unexpected call to __muldi3 generated for riscv target

2025-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118384 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Component|c