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/55789] [4.6/4.7/4.8 Regression] Needless realloc with array constructor.


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

--- Comment #9 from Paul Thomas <pault at gcc dot gnu.org> 2013-02-06 20:20:24 UTC ---
Author: pault
Date: Wed Feb  6 20:20:08 2013
New Revision: 195815

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195815
Log:
2013-02-06 Paul Thomas  <pault@gcc.gnu.org>

    PR fortran/55789
    * trans-array.c (trans_array_constructor): Remove condition
    'dynamic' = true if the loop ubound is a VAR_DECL.

2013-02-06 Paul Thomas  <pault@gcc.gnu.org>

    PR fortran/55789
    * gfortran.dg/array_constructor_41.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/array_constructor_41.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-array.c
    trunk/gcc/testsuite/ChangeLog


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