This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r118347 - in /trunk/gcc: fortran/ChangeLog fort...
- From: aldot at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 31 Oct 2006 23:38:58 -0000
- Subject: r118347 - in /trunk/gcc: fortran/ChangeLog fort...
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