]> git.ipfire.org Git - thirdparty/gcc.git/commit
trans-decl.c (gfc_build_qualified_array): Don't skip generation of range types.
authorAlexandre Oliva <aoliva@redhat.com>
Fri, 5 Jun 2009 06:09:43 +0000 (06:09 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Fri, 5 Jun 2009 06:09:43 +0000 (06:09 +0000)
commitd560566ab0860d1111cde7f89362a88649bc7ed1
treec2fae2b03526763b221c2aace7b4c09f7e54f0ed
parentfaef1e6d29245f7ab50c45d52a127e29aac6f208
trans-decl.c (gfc_build_qualified_array): Don't skip generation of range types.

* trans-decl.c (gfc_build_qualified_array): Don't skip generation
of range types.
* trans.h (struct lang_type): Add base_decls.
(GFC_TYPE_ARRAY_BASE_DECL): New.
* trans-types.c (gfc_get_array_type_bounds): Initialize base decls
proactively and excessively.
(gfc_get_array_descr_info): Use existing base decls if available.

From-SVN: r148197
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/fortran/trans-types.c
gcc/fortran/trans.h