2007-09-22 Paul Thomas <pault@gcc.gnu.org>
commitbe0f1581f250c18ae6e30def1433717e5595a2e2
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 22 Sep 2007 15:46:41 +0000 (22 15:46 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 22 Sep 2007 15:46:41 +0000 (22 15:46 +0000)
tree67fbb65e9ee062ee2344f0156c199922dd6c94dc
parent4cac39455215a243e113a3dee1e9412dd1f86b23
2007-09-22  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/33337
PR fortran/33376
* trans-decl.c (gfc_create_module_variable): Output
derived type parameters.
* arith.c (gfc_parentheses): Return the argument if
it is a constant expression.
* primary.c (gfc_match_rvalue): Remove the clearing of
the module name and the use_assoc attribute for derived
type parameter expressions.

2007-09-22  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/33337
* gfortran.dg/derived_comp_array_ref_3.f90: New test.

PR fortran/33376
* gfortran.dg/derived_comp_array_ref_4.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128672 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/arith.c
gcc/fortran/primary.c
gcc/fortran/trans-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/derived_comp_array_ref_3.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/derived_comp_array_ref_4.f90 [new file with mode: 0644]