OSDN Git Service

2009-07-09 Tobias Burnus <burnus@net-b.de>
[pf3gnuchains/gcc-fork.git] / gcc / fortran / ChangeLog
index 61196df..3f3feec 100644 (file)
@@ -1,3 +1,114 @@
+2009-07-09  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/40604
+       * intrinsic.c (gfc_convert_type_warn): Set sym->result.
+       * trans-expr.c (gfc_conv_procedure_call): Fix -fcheck=pointer
+       for optional arguments.
+
+2009-07-08  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/40675
+       * simplify.c (gfc_simplify_sign): Handle signed zero correctly.
+       * trans-intrinsic.c (gfc_conv_intrinsic_sign): Support
+       -fno-sign-zero.
+       * invoke.texi (-fno-sign-zero): Add text regarding SIGN intrinsic.
+
+2008-07-08  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/40591
+       * decl.c (match_procedure_interface):  Correct the association
+       or creation of the interface procedure's symbol.
+
+2009-07-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * trans-intrinsic.c (gfc_conv_intrinsic_minmaxloc): For integer
+       maxloc initialize limit to -huge-1 rather than just -huge.
+
+2009-07-04  Janus Weil  <janus@gcc.gnu.org>
+
+       PR fortran/40593
+       * interface.c (compare_actual_formal): Take care of proc-pointer-valued
+       functions as actual arguments.
+       * trans-expr.c (gfc_conv_procedure_call): Ditto.
+       * resolve.c (resolve_specific_f0): Use the correct ts.
+
+2009-07-02  Michael Matz  <matz@suse.de>
+
+       PR fortran/32131
+       * trans-array.c (gfc_conv_descriptor_stride_get): Return
+       constant one for strides in the first dimension of ALLOCATABLE
+       arrays.
+
+2009-06-30  Janus Weil  <janus@gcc.gnu.org>
+
+       PR fortran/40594
+       * trans-types.c (gfc_get_derived_type): Bugfix, reverting one hunk from
+       r147206.
+
+2009-06-29  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/40580
+       * trans-expr.c  (gfc_conv_procedure_call): Add -fcheck=pointer check.
+       * libgfortran.h: Add GFC_RTCHECK_POINTER.
+       * invoke.texi (-fcheck): Document new pointer option.
+       * options.c (gfc_handle_runtime_check_option): Handle pointer option.
+
+       * gfortran.texi (C Binding): Improve wording.
+       * iso-c-binding.def: Remove obsolete comment.
+
+2009-06-29  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/40551
+       * dependency.h : Add second bool* argument to prototype of
+       gfc_full_array_ref_p.
+       * dependency.c (gfc_full_array_ref_p): If second argument is
+       present, return true if last dimension of reference is an
+       element or has unity stride.
+       * trans-array.c : Add NULL second argument to references to
+       gfc_full_array_ref_p.
+       * trans-expr.c : The same, except for;
+       (gfc_trans_arrayfunc_assign): Return fail if lhs reference
+       is not a full array or a contiguous section.
+
+2009-06-28  Tobias Burnus  <burnus@net-b.de>
+           Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       PR fortran/34112
+       * symbol.c (gfc_add_ext_attribute): New function.
+       (gfc_get_sym_tree): New argument allow_subroutine.
+       (gfc_get_symbol,gfc_get_ha_sym_tree,gen_cptr_param,gen_fptr_param
+       gen_shape_param,generate_isocbinding_symbol): Use it.
+       * decl.c (find_special): New argument allow_subroutine.
+       (add_init_expr_to_sym,add_hidden_procptr_result,attr_decl1,
+       match_procedure_in_type,gfc_match_final_decl): Use it.
+       (gfc_match_gcc_attributes): New function.
+       * gfortran.texi (Mixed-Language Programming): New section
+       "GNU Fortran Compiler Directives".
+       * gfortran.h (ext_attr_t): New struct.
+       (symbol_attributes): Use it.
+       (gfc_add_ext_attribute): New prototype.
+       (gfc_get_sym_tree): Update pototype.
+       * expr.c (gfc_check_pointer_assign): Check whether call
+       convention is the same.
+       * module.c (import_iso_c_binding_module, create_int_parameter,
+       use_iso_fortran_env_module): Update gfc_get_sym_tree call.
+       * scanner.c (skip_gcc_attribute): New function.
+       (skip_free_comments,skip_fixed_comments): Use it.
+       (gfc_next_char_literal): Support !GCC$ lines.
+       * resolve.c (check_host_association): Update
+       gfc_get_sym_tree call.
+       * match.c (gfc_match_sym_tree,gfc_match_call): Update
+       gfc_get_sym_tree call.
+       * trans-decl.c (add_attributes_to_decl): New function.
+       (gfc_get_symbol_decl,get_proc_pointer_decl,
+       gfc_get_extern_function_decl,build_function_decl: Use it.
+       * match.h (gfc_match_gcc_attributes): Add prototype.
+       * parse.c (decode_gcc_attribute): New function.
+       (next_free,next_fixed): Support !GCC$ lines.
+       * primary.c (match_actual_arg,check_for_implicit_index,
+       gfc_match_rvalue,gfc_match_rvalue): Update
+       gfc_get_sym_tree call.
+
 2009-06-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * gfortran.h: Define HAVE_mpc_pow.