[Bug fortran/94925] New: Undesired runtime warning message

siteg at mathalacarte dot com gcc-bugzilla@gcc.gnu.org
Sat May 2 18:05:48 GMT 2020


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

            Bug ID: 94925
           Summary: Undesired runtime warning message
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: siteg at mathalacarte dot com
  Target Milestone: ---

Just upgraded to GNU Fortran (GCC) 10.0.1 20200328 (Red Hat 10.0.1-0.11), and
am getting this warning at runtime:
"Fortran runtime warning: An array temporary was created"
This did not happen in the past.  I have tried adding the flags
-fcheck=no-array-temps -Wno-array-temporaries
to no effect.  These occur in a large program where these temporary arrays are
used for debugging information that would not be used in production.  I have
not managed to create a small program that illustrates the problem.  I'm hoping
that the fact that this problem occurred between the 9.3.1 compiler and the
current one may help in getting it tracked down.


More information about the Gcc-bugs mailing list