------- Comment #4 from dfranke at gcc dot gnu dot org 2009-01-03 22:11 ------- array.c (gfc_get_array_element) states: "Access is not efficient at all, but this is another place where things do not have to be particularly fast."
As get_array_element shows up in #2, this might be a place to start. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34554