fortran/ChangeLog:
commit26691d132aa2906b50fcdd86c6cb28042b10227e
authoraldot <aldot@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Oct 2006 23:38:58 +0000 (31 23:38 +0000)
committeraldot <aldot@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Oct 2006 23:38:58 +0000 (31 23:38 +0000)
treec625ef375d766085812e0b32d7cc941024b9531e
parent1abb1bec51bbe8e8534442a9fe9f302e42722b2b
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118347 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/match.c
gcc/fortran/trans-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/blockdata_1.f90
gcc/testsuite/gfortran.dg/blockdata_2.f90 [new file with mode: 0644]