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/52012] [4.6/4.7 Regression] Wrong-code with realloc on assignment and RESHAPE w/ ORDER=


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

--- Comment #11 from Paul Thomas <pault at gcc dot gnu.org> 2012-02-02 21:20:19 UTC ---
Author: pault
Date: Thu Feb  2 21:20:14 2012
New Revision: 183849

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

    PR fortran/52012
    * trans-expr.c (fcncall_realloc_result): If variable shape is
    correct, retain the bounds, whatever they are.

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

    PR fortran/52012
    * gfortran.dg/realloc_on_assign_11.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/realloc_on_assign_11.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-expr.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]