https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70434
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |5.4 --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- In the end this is because of the unfortunate way we handle vector indexing (I think we have similar PRs elsewhere where I pasted patches to address this). The common convert_vector_to_pointer_for_subscript is the culprit here where we should instead simply convert the vector to an array via a VIEW_CONVERT_EXPR.