https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102043
Thomas Schwinge <tschwinge at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org, | |frederik at gcc dot gnu.org, | |sandra at gcc dot gnu.org, | |tschwinge at gcc dot gnu.org --- Comment #34 from Thomas Schwinge <tschwinge at gcc dot gnu.org> --- I'm totally lacking all context here ;-) -- but did see "OpenACC" mentioned, so: (In reply to Richard Biener from comment #33) > I'll note the OpenACC folks were working on making gfortran preserve > multi-dimensional array accesses See Frederik's submission "Fortran: Delinearize array accesses", <http://mid.mail-archive.com/20211215155447.19379-13-frederik@codesourcery.com>, primarily developed by Sandra Loosemore, with help from Tobias Burnus (from what I remember). Intended for discussion for GCC 13. > not sure how they address this issue. With > a single dimension there's not much value in using ARRAY_REF over > pointer arithmetic and dereference.