re PR fortran/37011 (F2003, type extension: multiple inheritence not rejected)
authorPaul Thomas <pault@gcc.gnu.org>
Fri, 8 Aug 2008 23:22:51 +0000 (23:22 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Fri, 8 Aug 2008 23:22:51 +0000 (23:22 +0000)
commit63a3341a9d1f760b1761b365f57a27523bfb548b
tree86bf411a254c10887ecbc94dc8b2b49fdd4b8a9a
parente73f7547c50e91654c691a620a949085645c4e51
re PR fortran/37011 (F2003, type extension: multiple inheritence not rejected)

2008-08-09  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/37011
* symbol.c (gfc_add_extension): New function.
* decl.c (gfc_get_type_attr_spec): Call it.
(gfc_match_derived_decl): Set symbol extension attribute from
attr.extension.
* gfortran.h : Add prototype for gfc_add_extension.

From-SVN: r138891
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/gfortran.h
gcc/fortran/symbol.c