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/48462] [4.6/4.7 Regression] realloc on assignment: matmul Segmentation Fault with Allocatable Array


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

--- Comment #9 from Paul Thomas <pault at gcc dot gnu.org> 2011-04-18 05:07:44 UTC ---
Author: pault
Date: Mon Apr 18 05:07:38 2011
New Revision: 172636

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172636
Log:
2011-04-18  Paul Thomas  <pault@gcc.gnu.org>

    PR fortran/48462
    * trans-expr.c (fcncall_realloc_result): Renamed version of
    realloc_lhs_bounds_for_intrinsic_call that does not touch the
    descriptor bounds anymore but makes a temporary descriptor to
    hold the result.
    (gfc_trans_arrayfunc_assign): Modify the reference to above
    renamed function.

2011-04-18  Paul Thomas  <pault@gcc.gnu.org>

    PR fortran/48462
    * gfortran.dg/realloc_on_assign_7.f03: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/realloc_on_assign_7.f03
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]