trans-types.h (gfc_packed): New enum.
authorTobias Schlüter <tobi@gcc.gnu.org>
Tue, 17 Apr 2007 18:47:19 +0000 (20:47 +0200)
committerTobias Schlüter <tobi@gcc.gnu.org>
Tue, 17 Apr 2007 18:47:19 +0000 (20:47 +0200)
commitdcfef7d48a2efbf578d586e894863136d8cae6de
tree5dd769b03ed06d8ac44f5aeeb8ee9d71d96d0b73
parentf01ec37df9e2d75b027fa7fb2bc8738a5c6f580c
trans-types.h (gfc_packed): New enum.

* trans-types.h (gfc_packed): New enum.
(gfc_get_nodesc_array_type): Change prototype to use new enum.
* trans-types.c (gfc_get_nodesc_array): Use gfc_packed for
argument packed.  Adapt all references to values accordingly.
(gfc_sym_type): Use enum values in call to gfc_get_nodesc_array.
(gfc_get_derived_type): Likewise.
* trans-array.c (gfc_build_constant_array_constructor): Likewise.
* trans-expr.c (gfc_get_interface_mapping_charlen): Changed packed
argument to type gfc_packed.
(gfc_add_interface_mapping): Use enum values in call to
gfc_get_interface_mapping.
* trans-decl.c (gfc_build_dummy_array_decl): Adapt to use enum
values when determining packing.

From-SVN: r123924
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/fortran/trans-decl.c
gcc/fortran/trans-expr.c
gcc/fortran/trans-types.c
gcc/fortran/trans-types.h