RE: [PATCH] RISC-V: Fix zero-scratch-regs-3.c fail

2023-05-25 Thread Li, Pan2 via Gcc-patches
Committed the PATCH v2, thanks Kito. Pan -Original Message- From: Gcc-patches On Behalf Of Kito Cheng via Gcc-patches Sent: Friday, May 26, 2023 7:48 AM To: 钟居哲 Cc: GCC Patches ; Jeff Law ; Jeff Law ; Kito Cheng ; Palmer Dabbelt Subject: Re: [PATCH] RISC-V: Fix zero-scratch-regs-3

Re: [PATCH] RISC-V: Fix zero-scratch-regs-3.c fail

2023-05-25 Thread Kito Cheng via Gcc-patches
Lgtm with a minor comment 於 2023年5月26日 週五 07:18 寫道: > From: Juzhe-Zhong > > Fix ICE of zero-scratch-regs-3.c: > bug.c:7:1: internal compiler error: Segmentation fault > 7 | } > | ^ > 0x1647b23 crash_signal > ../../../riscv-gcc/gcc/toplev.cc:314 > 0x147053f maybe_legitimize_ope

[PATCH] RISC-V: Fix zero-scratch-regs-3.c fail

2023-05-25 Thread juzhe . zhong
From: Juzhe-Zhong Fix ICE of zero-scratch-regs-3.c: bug.c:7:1: internal compiler error: Segmentation fault 7 | } | ^ 0x1647b23 crash_signal ../../../riscv-gcc/gcc/toplev.cc:314 0x147053f maybe_legitimize_operand ../../../riscv-gcc/gcc/optabs.cc:7947 0x1470dc2 maybe_legit