]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/52243 (Avoid reallocation for: array1 = array1 / scalar for performance)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Thu, 29 Aug 2013 11:44:41 +0000 (11:44 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Thu, 29 Aug 2013 11:44:41 +0000 (11:44 +0000)
commit4860a46271bd50674a3adf1bc33704b98d7efffc
tree12e9696c1245b6e8aae84a190fcec55b8cb4429a
parent1b27500048b97fbdf53c5407e2dbc8f91c439481
re PR fortran/52243 (Avoid reallocation for:  array1 = array1 / scalar  for performance)

2013-08-29  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/52243
* trans-expr.c (is_runtime_conformable):  New function.
* gfc_trans_assignment_1:  Use it.

2013-08-29  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/52243
* gfortran.dg/realloc_on_assign_14.f90:  Remove warning made
obsolete by patch.
* gfortran.dg/realloc_on_assign_19.f90:  New test.

From-SVN: r202070
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90
gcc/testsuite/gfortran.dg/realloc_on_assign_19.f90 [new file with mode: 0644]