Re: [PATCH] PR middle-end/105853: Call store_constructor directly from calls.cc.

2022-06-12 Thread Jeff Law via Gcc-patches
On 6/6/2022 7:50 AM, Roger Sayle wrote: This patch fixes both ICE regressions PR middle-end/105853 and PR target/105856 caused by my recent patch to expand small const structs as immediate constants. That patch updated code generation in three places: two in expr.cc that call store_constructo

Re: [PATCH] PR middle-end/105853: Call store_constructor directly from calls.cc.

2022-06-07 Thread Eric Botcazou via Gcc-patches
> The (proposed) solution is to export store_constructor (and it's helper > function int_expr_size) from expr.cc, by removing their static qualifier > and prototyping both functions in expr.h, so they can be called directly > from load_register_parameters in calls.cc. This cures both ICEs, but > a