https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63679

--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
Ok, so I have a patch that works until we get to try constant folding
a vector load from an array of elements.  There both native_encode_expr
and fold_ctor_reference fail (the first because it doesn't handle
CONSTRUCTORs yet the latter because it doesn't handle multi-field/index
results).  The idea was to get CONSTRUCTOR support into native_encode_expr
which would then handle the fully-constant cases (but not initializers
with constant addresses like &global-var).

Of course it wouldn't help as FRE isn't run late.  Hah.

Reply via email to