------- Comment #9 from pault at gcc dot gnu dot org 2007-12-09 09:17 ------- Subject: Bug 31487
Author: pault Date: Sun Dec 9 09:17:24 2007 New Revision: 130719 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130719 Log: 2007-12-09 Paul Thomas <[EMAIL PROTECTED]> PR fortran/32129 * dump-parse-tree.c (gfc_show_expr_n): New function for debugging. * gfortran.h : Add prototype for gfc_show_expr_n. * expr.c (simplify_constructor): Copy the constructor expression and try to simplify that. If success, replace the original. Otherwise discard the copy, keep going through the structure and return success. PR fortran/31487 * decl.c (build_struct): Pad out default initializers with spaces to the component character length. 2007-12-09 Paul Thomas <[EMAIL PROTECTED]> PR fortran/32129 * gfortran.dg/derived_comp_array_ref_6.f90: New test. * gfortran.dg/derived_comp_array_ref_7.f90: New test. PR fortran/31487 * gfortran.dg/char_component_initializer_1.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/char_component_initializer_1.f90 trunk/gcc/testsuite/gfortran.dg/derived_comp_array_ref_6.f90 trunk/gcc/testsuite/gfortran.dg/derived_comp_array_ref_7.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/decl.c trunk/gcc/fortran/dump-parse-tree.c trunk/gcc/fortran/expr.c trunk/gcc/fortran/gfortran.h trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31487