https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69489
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization CC| |rguenth at gcc dot gnu.org --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- For if-conversion this triggers the three-argument PHI case which is only handled for force_vectorize loops. Similar to the masked-load-store case we should simply trigger versioning if that happens. We still run into _14 = *_13; tree could trap... then of course. The fix for that is for ref_DR_map to hash/compare DR_BASE_ADDRESS, DR_OFFSET, DR_INIT and DR_STEP instead of a somewhat stripped DR_REF.