OSDN Git Service

2005-01-23 Paul Thomas <pault@gcc.gnu.org>
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Jan 2006 05:07:52 +0000 (05:07 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Jan 2006 05:07:52 +0000 (05:07 +0000)
commit16f491537e2bac3a4f03c1a8564e379440a5ca33
tree8ebb2f15eb3f79dbe90e03b880a60ebda46f94d8
parentba7564bd3a42686bb50d86bfc19430d396ce59de
2005-01-23  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/25901
* decl.c (get_proc_name): Replace subroutine and function
attributes in "already defined" test by the formal arglist
pointer being non-NULL.

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>

PR fortran/25901
* gfortran.dg/internal references_2.f90: New test.

Fix regression in testing of admissability of attributes.
* gfortran.dg/intent_used_1.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110106 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/gfortran.h
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/intent_used_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/internal_references_2.f90 [new file with mode: 0644]
libgomp/Makefile.in
libgomp/aclocal.m4
libgomp/testsuite/Makefile.in