This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/52243] Avoid reallocation for: array1 = array1 / scalar for performance


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52243

--- Comment #2 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Thu Aug 29 11:44:41 2013
New Revision: 202070

URL: http://gcc.gnu.org/viewcvs?rev=202070&root=gcc&view=rev
Log:
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.


Added:
    trunk/gcc/testsuite/gfortran.dg/realloc_on_assign_19.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]