https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94925

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
The code printing this diagnostic is guarded with

      if (gfc_option.rtcheck & GFC_RTCHECK_ARRAY_TEMPS)
        {
          char * msg;

          if (fsym && proc_name)
            msg = xasprintf ("An array temporary was created for argument "
                             "'%s' of procedure '%s'", fsym->name, proc_name);

and thus

-fcheck-array-temporaries

Reply via email to