Re: [PATCH] expr: Fix _var handling in initializers [PR112336]

2023-11-23 Thread Richard Biener
On Thu, Nov 23, 2023 at 11:05 AM Jakub Jelinek wrote: > > Hi! > > As the following testcase shows, we ICE when trying to emit ADDR_EXPR of > a bitint variable which doesn't have mode width. > The problem is in the EXTEND_BITINT stuff which makes sure we treat the > padding bits on memory reads

[PATCH] expr: Fix _var handling in initializers [PR112336]

2023-11-23 Thread Jakub Jelinek
Hi! As the following testcase shows, we ICE when trying to emit ADDR_EXPR of a bitint variable which doesn't have mode width. The problem is in the EXTEND_BITINT stuff which makes sure we treat the padding bits on memory reads from user bitint vars as undefined. When expanding ADDR_EXPR on such