https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121304
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> --- Fixed with commit d2a4e9905420ab6e4c6e46ff57dac9b360765ce4 (HEAD -> master) Author: Richard Biener <rguent...@suse.de> Date: Wed Jul 30 09:44:07 2025 +0200 tree-optimization/121304 - set memory_access_type before reading it The following re-orders gather/scatter handling back to be before we check for fallback situations, specifically make sure to set memory_access_type before reading it. * tree-vect-stmts.cc (get_group_load_store_type): Process STMT_VINFO_GATHER_SCATTER before reading memory_access_type.