[Bug fortran/53309] Unnecessary temporary array creation in subroutine call

2013-07-24 Thread townsend at astro dot wisc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53309 --- Comment #3 from Rich Townsend --- Thanks for the explanation about -Warray-temporaries vs. -fcheck-array-temporaries -- got it! Might be worth changing the output text from the former to something like "Warning: Array temporary might be creat

[Bug fortran/53309] Unnecessary temporary array creation in subroutine call

2013-07-24 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53309 Tobias Burnus changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug fortran/53309] Unnecessary temporary array creation in subroutine call

2013-07-24 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53309 --- Comment #1 from Thomas Koenig --- The runtime test is done by _gfortran_internal_pack. -Warray-temporaries creates the warning if this is called. If you want to know if a temporary has actually been created, use -fcheck-array-temporaries. D