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
, 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
.com; jeffreya...@gmail.com; Li,
> Pan2 ; Wang, Yanzhang ;
> kito.ch...@gmail.com
> Subject: [PATCH v1] RISC-V: Fix out of range memory access when lto mode init
>
> From: Pan Li
>
> We extend the machine mode from 8 to 16 bits already. But there still
> one placing mi
Subject: [PATCH v1] RISC-V: Fix out of range memory access when lto mode init
From: Pan Li
We extend the machine mode from 8 to 16 bits already. But there still
one placing missing from the tree-streamer. It has one hard coded array
for the machine code like size 256.
In the lto pass, we memset the
From: Pan Li
We extend the machine mode from 8 to 16 bits already. But there still
one placing missing from the tree-streamer. It has one hard coded array
for the machine code like size 256.
In the lto pass, we memset the array by MAX_MACHINE_MODE count but the
value of the MAX_MACHINE_MODE will