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/34796] [4.3 Regression] Too strict error checking for assumed-shaped array



------- Comment #4 from burnus at gcc dot gnu dot org  2008-01-16 07:12 -------
Subject: Bug 34796

Author: burnus
Date: Wed Jan 16 07:12:00 2008
New Revision: 131566

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131566
Log:
2008-01-16  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34796
        * interface.c (compare_parameter): Allow AS_DEFERRED array
        elements and reject attr.pointer array elemenents.
        (get_expr_storage_size): Return storage size of elements of
        assumed-shape and pointer arrays.

2008-01-16  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34796
        * gfortran.dg/argument_checking_13.f90: New.
        * gfortran.dg/argument_checking_14.f90: New.


Added:
    trunk/gcc/testsuite/gfortran.dg/argument_checking_13.f90
    trunk/gcc/testsuite/gfortran.dg/argument_checking_14.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/interface.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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