Re: [PATCH v1] RISC-V: Fix out of range memory access when lto mode init

2023-06-19 Thread Jakub Jelinek via Gcc-patches
On Mon, Jun 19, 2023 at 08:40:58AM +, Richard Biener wrote: > You also have to fix bp_pack_machine_mode/bp_unpack_machine_mode which > streams exactly values in [0, 1<<8 - 1]. > > CCing Jakub who invented this code. For stream-out, all it stores is a bool flag whether the mode is streamed out

RE: [PATCH v1] RISC-V: Fix out of range memory access when lto mode init

2023-06-19 Thread Li, Pan2 via Gcc-patches
, Pan2 Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; rdapp@gmail.com; jeffreya...@gmail.com; Wang, Yanzhang ; kito.ch...@gmail.com; Jakub Jelinek Subject: RE: [PATCH v1] RISC-V: Fix out of range memory access when lto mode init On Mon, 19 Jun 2023, Li, Pan2 wrote: > Add Richard B

RE: [PATCH v1] RISC-V: Fix out of range memory access when lto mode init

2023-06-19 Thread Richard Biener via Gcc-patches
On Mon, 19 Jun 2023, Li, Pan2 wrote: > Add Richard Biener for reviewing, sorry for inconvenient. > > Pan > > -Original Message- > From: Li, Pan2 > Sent: Monday, June 19, 2023 4:07 PM > To: gcc-patches@gcc.gnu.org > Cc: juzhe.zh...@rivai.ai; rdapp@gmail.com; jeffreya...@gmail.com; L

RE: [PATCH v1] RISC-V: Fix out of range memory access when lto mode init

2023-06-19 Thread Li, Pan2 via Gcc-patches
Add Richard Biener for reviewing, sorry for inconvenient. Pan -Original Message- From: Li, Pan2 Sent: Monday, June 19, 2023 4:07 PM To: gcc-patches@gcc.gnu.org Cc: juzhe.zh...@rivai.ai; rdapp@gmail.com; jeffreya...@gmail.com; Li, Pan2 ; Wang, Yanzhang ; kito.ch...@gmail.com Subjec