OSDN Git Service

2005-12-16 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / fortran / ChangeLog
index d43c884..2fa33a1 100644 (file)
@@ -1,9 +1,143 @@
+2005-12-16  Richard Guenther  <rguenther@suse.de>
+
+       * trans-array.c (gfc_conv_descriptor_data_addr): Use
+       build_fold_addr_expr where appropriate.
+       (gfc_trans_allocate_array_storage): Likewise.
+       (gfc_trans_array_constructor_value): Likewise.
+       (gfc_conv_array_data): Likewise.
+       (gfc_conv_expr_descriptor): Likewise.
+       (gfc_conv_array_parameter): Likewise.
+       * trans-expr.c (gfc_conv_variable): Likewise.
+       (gfc_conv_function_val): Likewise.
+       (gfc_conv_function_call): Likewise.
+       (gfc_conv_expr_reference): Likewise.
+       * trans-intrinsic.c (gfc_conv_intrinsic_ctime): Likewise.
+       (gfc_conv_intrinsic_fdate): Likewise.
+       (gfc_conv_intrinsic_ttynam): Likewise.
+       (gfc_conv_intrinsic_si_kind): Likewise.
+       (gfc_conv_intrinsic_trim): Likewise.
+       * trans-io.c (set_parameter_ref): Likewise.
+       (gfc_convert_array_to_string): Likewise.
+       (gfc_trans_open): Likewise.
+       (gfc_trans_close): Likewise.
+       (build_filepos): Likewise.
+       (gfc_trans_inquire): Likewise.
+       (nml_get_addr_expr): Likewise.
+       (transfer_namelist_element): Likewise.
+       (build_dt): Likewise.
+       (gfc_trans_dt_end): Likewise.
+       (transfer_array_component): Likewise.
+       (transfer_expr): Likewise.
+       (transfer_array_desc): Likewise.
+       (gfc_trans_transfer): Likewise.
+       * trans-stmt.c (gfc_trans_allocate): Likewise.
+       (gfc_trans_deallocate): Likewise.
+
+2005-12-16  Kazu Hirata  <kazu@codesourcery.com>
+
+       * dependency.c, resolve.c, trans-array.c: Fix comment typos.
+       * gfortran.texi: Fix typos.
+
+2005-12-14  Erik Edelmann  <eedelman@gcc.gnu.org>
+
+       PR fortran/18197
+       * resolve.c (resolve_formal_arglist): Remove code to set
+       the type of a function symbol from it's result symbol.
+
+2005-12-13  Richard Guenther  <rguenther@suse.de>
+
+       * trans-expr.c (gfc_conv_substring): Use fold_build2 and
+       build_int_cst.
+
+2005-12-13  Richard Sandiford  <richard@codesourcery.com>
+
+       * Make-lang.in (fortran/trans-resolve.o): Depend on
+       fortran/dependency.h.
+       * gfortran.h (gfc_expr): Add an "inline_noncopying_intrinsic" flag.
+       * dependency.h (gfc_get_noncopying_intrinsic_argument): Declare.
+       (gfc_check_fncall_dependency): Change prototype.
+       * dependency.c (gfc_get_noncopying_intrinsic_argument): New function.
+       (gfc_check_argument_var_dependency): New function, split from
+       gfc_check_fncall_dependency.
+       (gfc_check_argument_dependency): New function.
+       (gfc_check_fncall_dependency): Replace the expression parameter with
+       separate symbol and argument list parameters.  Generalize the function
+       to handle dependencies for any type of expression, not just variables.
+       Accept a further argument giving the intent of the expression being
+       tested.  Ignore intent(in) arguments if that expression is also
+       intent(in).
+       * resolve.c: Include dependency.h.
+       (find_noncopying_intrinsics): New function.
+       (resolve_function, resolve_call): Call it on success.
+       * trans-array.h (gfc_conv_array_transpose): Declare.
+       (gfc_check_fncall_dependency): Remove prototype.
+       * trans-array.c (gfc_conv_array_transpose): New function.
+       * trans-intrinsic.c (gfc_conv_intrinsic_function): Don't use the
+       libcall handling if the expression is to be evaluated inline.
+       Add a case for handling inline transpose()s.
+       * trans-expr.c (gfc_trans_arrayfunc_assign): Adjust for the new
+       interface provided by gfc_check_fncall_dependency.
+
+2005-12-12  Steven G. Kargl  <kargls@comcast.net>
+
+       PR fortran/25078
+       * match.c (gfc_match_equivalence):  Count number of objects.
+
+2005-12-11  Aldy Hernandez  <aldyh@redhat.com>
+
+        * lang.opt: Add RejectNegative to ffixed-form and ffree-form.
+
+2005-12-10  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
+       PR fortran/25068
+       * io.c (resolve_tag): Add correct diagnostic for F2003 feature.
+
+2005-12-10  Thomas Koenig  <Thomas.Koenig@online.de>
+
+       PR fortran/23815
+       * io.c (top level):  Add convert to io_tag.
+       (resolve_tag):  convert is GFC_STD_GNU.
+       (match_open_element):  Add convert.
+       (gfc_free_open):  Likewise.
+       (gfc_resolve_open):  Likewise.
+       (gfc_free_inquire):  Likewise.
+       (match_inquire_element):  Likewise.
+       * dump-parse-tree.c (gfc_show_code_node):  Add
+       convet for open and inquire.
+       gfortran.h: Add convert to gfc_open and gfc_inquire.
+       * trans-io.c (gfc_trans_open):  Add convert.
+       (gfc_trans_inquire):  Likewise.
+       * ioparm.def:  Add convert to open and inquire.
+       * gfortran.texi:  Document CONVERT.
+
+2005-12-09  Roger Sayle  <roger@eyesopen.com>
+
+       PR fortran/22527
+       * f95-lang.c (gfc_truthvalue_conversion): Use a zero of the correct
+       integer type when building an inequality.
+
+2005-12-09  Richard Guenther  <rguenther@suse.de>
+
+       * f95-lang.c (build_builtin_fntypes): Use correct
+       return types, as indicated by comments.
+
+2005-12-08  Erik Edelmann  <eedelman@gcc.gnu.org>
+
+       PR fortran/25292
+       * check.c (gfc_check_associated): Allow function results
+       as actual arguments to ASSOCIATED.  Moved a misplaced
+       comment.
+
+2005-12-07  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
+
+       * Make-lang.in (fortran.all.build, fortran.install-normal): Remove.
+
 2005-12-07  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
 
        * Make-lang.in: Remove all dependencies on s-gtype, except for
        gt-fortran-trans.h.
 
-2005-12-30  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+2005-12-03  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
 
        PR fortran/25106
        * parse.c (next_free): Use new prototype for gfc_match_st_label.