https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80164
--- Comment #11 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- Author: jvdelisle Date: Wed Jun 28 02:17:40 2017 New Revision: 249718 URL: https://gcc.gnu.org/viewcvs?rev=249718&root=gcc&view=rev Log: 2017-06-27 Jerry DeLisle <jvdeli...@gcc.gnu.org> PR fortran/80164 * trans-stmt.c (gfc_trans_call): If no code expr, use code->loc as warning/error locus. * gfortran.dg/array_temporaries_4.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/array_temporaries_4.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-stmt.c trunk/gcc/testsuite/ChangeLog