This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r110107 - in /branches/gcc-4_1-branch/gcc: fort...
- From: pault at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 23 Jan 2006 05:37:47 -0000
- Subject: r110107 - in /branches/gcc-4_1-branch/gcc: fort...
Author: pault
Date: Mon Jan 23 05:37:47 2006
New Revision: 110107
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110107
Log:
2005-01-23 Paul Thomas <pault@gcc.gnu.org>
Fix regression in testing of admissability of attributes.
* symbol.c (gfc_add_attribute): If the current_attr has
non-zero intent, do not do the check for a dummy being
used.
* decl.c (attr_decl1): Add current_attr.intent as the
third argument in the call to gfc_add_attribute.
* gfortran.h: Add the third argument to the prototype
for gfc_add_attribute.
2005-01-23 Paul Thomas <pault@gcc.gnu.org>
Fix regression in testing of admissability of attributes.
* gfortran.dg/intent_used_1.f90: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/intent_used_1.f90
Modified:
branches/gcc-4_1-branch/gcc/fortran/ChangeLog
branches/gcc-4_1-branch/gcc/fortran/decl.c
branches/gcc-4_1-branch/gcc/fortran/gfortran.h
branches/gcc-4_1-branch/gcc/fortran/symbol.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog