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/55314] [4.6/4.7/4.8 Regression] Rejects some valid ALLOCATE statements


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

--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2012-11-24 22:17:40 UTC ---
Author: tkoenig
Date: Sat Nov 24 22:17:35 2012
New Revision: 193784

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193784
Log:
2012-11-24  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR fortran/55314
    Backport from trunk
    * resolve.c (resolve_allocate_deallocate):  Compare all
    subscripts when deciding if to reject a (de)allocate
    statement.

2012-11-24  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR fortran/55314
    Backport from trunk
    * gfortran.dg/allocate_error_4.f90:  New test.


Added:
    branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/allocate_error_4.f90
Modified:
    branches/gcc-4_6-branch/gcc/fortran/ChangeLog
    branches/gcc-4_6-branch/gcc/fortran/resolve.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog


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