OSDN Git Service

2008-09-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / fortran / ChangeLog
index 13ddef1..4d4752a 100644 (file)
@@ -1,3 +1,164 @@
+2008-09-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+           Tobias Burnus  <burnus@net.b.de>
+
+       PR fortran/35840
+       * io.c (match_vtag): Add tag name to error message.
+       (match_out_tag): Cleanup whitespace.
+       (gfc_resolve_dt): Resolve id and async tags. 
+
+2008-09-13  Daniel Kraft  <d@domob.eu>
+
+       PR fortran/35770
+       * primary.c (gfc_match_varspec): Added missing type-spec clearing
+       after wrong implicit character typing.
+
+2008-09-12  Richard Guenther  <rguenther@suse.de>
+
+       * trans-intrinsic.c (gfc_conv_intrinsic_transfer): Use
+       build_fold_addr_expr to properly mark the argument
+       addressable.
+
+2008-09-11  Daniel Kraft  <d@domob.eu>
+
+       PR fortran/36214
+       * simplify.c (simplify_cmplx): Added linebreak to long line.
+       * target-memory.c (gfc_convert_boz): Fix indentation.
+       (gfc_interpret_float): Set mpfr precision to right value before
+       calling mpfr_init.
+
+2008-09-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * expr.c (find_array_element): Reformat comment.
+
+2008-09-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * expr.c (find_array_element): Reformat.
+
+2008-09-10  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/37420
+       * trans-decl.c (get_proc_pointer_decl): Fix -Wunused-variable.
+
+2008-09-09  Daniel Kraft  <d@domob.eu>
+
+       PR fortran/37429
+       * resolve.c (expression_rank): Added assertion to guard against
+       EXPR_COMPCALL expressions.
+       (resolve_compcall): Set expression's rank from the target procedure's.
+
+2008-09-09  Daniel Kraft  <d@domob.eu>
+
+       PR fortran/37411
+       * trans-array.c (gfc_conv_array_parameter): Added assertion that the
+       symbol has an array spec.
+
+2008-09-08  Daniel Kraft  <d@domob.eu>
+
+       PR fortran/37199
+       * trans-expr.c (gfc_add_interface_mapping): Set new_sym->as.
+       (gfc_map_intrinsic_function): Added checks against NULL bounds in
+       array specs.
+
+2008-09-08  Tobias Burnus  <burnus@net.b.de>
+
+       PR fortran/37400
+       * symbol.c (gfc_set_default_type): Copy char len.
+
+2008-09-06  Steven G. Kargl  <kargls@comcast.net>
+
+       PR fortran/36153
+       * fortran/resolve.c (resolve_function): Shortcircuit for SIZE and
+       UBOUND if 2nd argument is KIND.
+
+2008-09-06  Steven G. Kargl  <kargls@comcast.net>
+
+       PR fortran/33229
+       * resolve.c (resolve_function): An intrinsic subroutine should not be
+       called as a function.
+
+2008-09-05  Daniel Kraft  <d@domob.eu>
+
+       PR fortran/35837
+       * resolve.c (resolve_types): Restore gfc_current_ns on exit.
+       * symbol.c (gfc_save_all): Removed blank line.
+
+2008-09-05  Daniel Kraft  <d@domob.eu>
+
+       PR fortran/36746
+       * primary.c (gfc_match_rvalue): Removed logic to handle implicit
+       typing to a derived-type if a component reference is found.
+       (gfc_match_varspec): Moved it here.
+
+2008-09-04  Richard Guenther  <rguenther@suse.de>
+
+       * trans-array.c (gfc_conv_array_parameter): Use correct types
+       in building COND_EXPRs.
+       * trans-expr.c (gfc_conv_missing_dummy): Likewise.
+       * trans-intrinsics.c (gfc_conv_intrinsic_merge): Likewise.
+
+2008-09-04  Daniel Kraft  <d@domob.eu>
+
+       * PR fortran/37099
+       * expr.c (simplify_const_ref): Update expression's character length
+       when pulling out a substring reference.
+
+2008-09-04  Ian Lance Taylor  <iant@google.com>
+
+       * symbol.c (generate_isocbinding_symbol): Compare
+       gfc_notification_std with ERROR rather than FAILURE.
+       * resolve.c (check_assumed_size_reference): Compare array type
+       with AR_FULL rather than DIMEN_ELEMENT.
+       (resolve_actual_arglist): Compare with EXPR_VARIABLE rather than
+       FL_VARIABLE.
+
+2008-09-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR fortran/37228
+       * io.c (check_format): Allow specifying precision with g0 format.
+
+2008-09-02  Daniel Kraft  <d@domob.eu>
+
+       * gfortran.h (struct gfc_namespace): New member `implicit_loc'.
+       (gfc_add_abstract): New method.
+       * decl.c (gfc_get_type_attr_spec): Match ABSTRACT attribute.
+       (gfc_match_derived_decl): Copy abstract attribute in derived symbol.
+       * dump-parse-tree.c (show_attr): Show ABSTRACT attribute as `ABSTRACT'
+       only to allow for ABSTRACT types.
+       * parse.c (parse_interface): Use new gfc_add_abstract.
+       * primary.c (gfc_match_structure_constructor): Check that no ABSTRACT
+       type is constructed.
+       * resolve.c (resolve_typespec_used): New method.
+       (resolve_fl_derived): Check type in respect to ABSTRACT attribute and
+       check that no component is of an ABSTRACT type.
+       (resolve_symbol): Check that no symbol is of an ABSTRACT type.
+       (resolve_types): Check IMPLICIT declarations for ABSTRACT types.
+       * symbol.c (gfc_merge_new_implicit): Remember loci of IMPLICIT's.
+       (gfc_add_abstract): New method.
+
+2008-09-01  Daniel Kraft  <d@domob.eu>
+
+       PR fortran/37193
+       * module.c (read_module): Initialize use_only flag on used symbols.
+
+2008-09-01  Daniel Kraft  <d@domob.eu>
+
+       * gfc-internals.texi (F2003 OOP), (Type-bound Procedures): New chapter
+       and section to document the internals of type-bound procedures.
+       (gfc_expr): Document EXPR_COMPCALL.
+       * gfortran.h (struct gfc_expr): Remove unused `derived' from compcall.
+       * dump-parse-tree.c (show_compcall): New method.
+       (show_expr): Call it for EXPR_COMPCALL.
+       (show_typebound), (show_f2k_derived): New methods.
+       (show_symbol): Call show_f2k_derived.
+       (show_code_node): Handle EXEC_COMPCALL.
+       * primary.c (gfc_match_varspec): Don't initialize removed `derived' in
+       primary->value.compcall.
+
+2008-08-31  Richard Guenther  <rguenther@suse.de>
+
+       * trans-expr.c (gfc_trans_string_copy): Use the correct types
+       to compute slen and dlen.
+
 2008-08-31  Daniel Kraft  <d@domob.eu>
 
        * gfortran.h (enum gfc_statement): New entry `ST_GENERIC'.