[Bug target/63679] [5.0 Regression][AArch64] Failure to constant fold.
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 21 10:17:00 GMT 2014
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.
More information about the Gcc-bugs
mailing list