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/45044] Different named COMMON block size: No warning


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

--- Comment #5 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-08-30 22:09:55 UTC ---
Author: burnus
Date: Tue Aug 30 22:09:49 2011
New Revision: 178344

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178344
Log:
2011-08-30  Tobias Burnus  <burnus@net-b.de>

        PR fortran/45044
        * trans-common.c (build_common_decl): Warn if named common
        block's size is not everywhere the same.

2011-08-30  Tobias Burnus  <burnus@net-b.de>

        PR fortran/45044
        * gfortran.dg/common_14.f90: New.
        * gfortran.dg/common_resize_1.f: Add two dg-warning.


Added:
    trunk/gcc/testsuite/gfortran.dg/common_14.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-common.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/common_resize_1.f


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