Re: [PATCH] tree-optimization/121527 - wrong SRA with aggregage copy

2025-08-19 Thread Martin Jambor
Hi, On Mon, Aug 18 2025, Richard Biener wrote: > SRA handles outermost VIEW_CONVERT_EXPRs but it wrongly ignores > those when building an access which leads to the wrong size > used when the VIEW_CONVERT_EXPR does not have the same size as > its operand which is valid GENERIC and is used by Ada up

Re: [PATCH] tree-optimization/121527 - wrong SRA with aggregage copy

2025-08-18 Thread Richard Biener
On Mon, 18 Aug 2025, Richard Biener wrote: > SRA handles outermost VIEW_CONVERT_EXPRs but it wrongly ignores > those when building an access which leads to the wrong size > used when the VIEW_CONVERT_EXPR does not have the same size as > its operand which is valid GENERIC and is used by Ada upcast

[PATCH] tree-optimization/121527 - wrong SRA with aggregage copy

2025-08-18 Thread Richard Biener
SRA handles outermost VIEW_CONVERT_EXPRs but it wrongly ignores those when building an access which leads to the wrong size used when the VIEW_CONVERT_EXPR does not have the same size as its operand which is valid GENERIC and is used by Ada upcasting. Bootstrapped on x86_64-unknown-linux-gnu with