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/29537] ICE in gfc_match_common for blank common in BLOCK DATA unit



------- Comment #11 from aldot at gcc dot gnu dot org  2006-10-31 23:39 -------
Subject: Bug 29537

Author: aldot
Date: Tue Oct 31 23:38:58 2006
New Revision: 118347

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118347
Log:
fortran/ChangeLog:
2006-11-01  Bernhard Fischer  <aldot@gcc.gnu.org>

        PR fortran/29537
        * trans-common.c (gfc_trans_common): If the blank common is
        in a procedure or program without a name then proc_name is null, so use
        the locus of the common.
        (gfc_sym_mangled_common_id): Fix whitespace.
        * match.c (gfc_match_common): Emit warning about blank common in
        block data.

testsuite/ChangeLog:
2006-11-01  Bernhard Fischer  <aldot@gcc.gnu.org>

        PR fortran/29537
        * gfortran.dg/blockdata_1.f90: Add warning about blank common in block
        data.
        * gfortran.dg/blockdata_2.f90: New testcase.


Added:
    trunk/gcc/testsuite/gfortran.dg/blockdata_2.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/match.c
    trunk/gcc/fortran/trans-common.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/blockdata_1.f90


-- 


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


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