Re: [PATCH] Fix misoptimization of CONSTRUCTOR with reverse SSO

2025-06-27 Thread Richard Biener
On Thu, Jun 26, 2025 at 12:34 PM Eric Botcazou wrote: > > Hi, > > fold_ctor_reference already punts on a CONSTRUCTOR whose type has reverse > storage order, but it can be invoked in a couple of places on a CONSTRUCTOR > with native storage order that has been wrapped in a VIEW_CONVERT_EXPR to a >

[PATCH] Fix misoptimization of CONSTRUCTOR with reverse SSO

2025-06-26 Thread Eric Botcazou
Hi, fold_ctor_reference already punts on a CONSTRUCTOR whose type has reverse storage order, but it can be invoked in a couple of places on a CONSTRUCTOR with native storage order that has been wrapped in a VIEW_CONVERT_EXPR to a type with reverse storage order; this would require a post adjust