re PR fortran/70524 (ICE when using -frepack-arrays -Warray-temporaries)
authorAndre Vehreschild <vehre@gcc.gnu.org>
Mon, 8 Aug 2016 08:11:29 +0000 (10:11 +0200)
committerAndre Vehreschild <vehre@gcc.gnu.org>
Mon, 8 Aug 2016 08:11:29 +0000 (10:11 +0200)
commit8e9218f2b39c5730760a23595f449498f3f4faf6
treeb3f93dd8a7175d930adc37a11b36164f595c7a41
parent1b8256df48e672430eefdd7da0071157b1a29b9c
re PR fortran/70524 (ICE when using  -frepack-arrays -Warray-temporaries)

gcc/testsuite/ChangeLog:

2016-08-08  Andre Vehreschild  <vehre@gcc.gnu.org>

PR fortran/70524
* gfortran.dg/dependency_48.f90: New test.

gcc/fortran/ChangeLog:

2016-08-08  Andre Vehreschild  <vehre@gcc.gnu.org>

PR fortran/70524
* trans-array.c (gfc_trans_dummy_array_bias): Ensure that the
location information is correctly set.
* trans-decl.c (gfc_trans_deferred_vars): Set the locus of the
current construct early.

From-SVN: r239230
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/fortran/trans-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/dependency_48.f90 [new file with mode: 0644]