OSDN Git Service

* trans-stmt.c (gfc_trans_forall_1): Prefer to use smaller logical
[pf3gnuchains/gcc-fork.git] / gcc / fortran / ChangeLog
index af1d05f..e18ab3f 100644 (file)
@@ -1,5 +1,132 @@
+2005-06-25  Jakub Jelinek  <jakub@redhat.com>
+
+       * trans-stmt.c (gfc_trans_forall_1): Prefer to use smaller logical
+       type than boolean_type_node.
+
+2005-06-25  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * all files: Update FSF address in copyright headers.
+
+2005-06-24  Jerry DeLisle <jvdelisle@verizon.net>
+
+       PR fortran/21915
+       * gfortran.h: Add symbols for new intrinsics
+       * intrinsic.c: Add acosh, asinh, and atanh
+       * intrinsic.h: Add prototypes
+       * iresolve.c (gfc_resolve_acosh): New function
+       (gfc_resolve_asinh): New
+       (gfc_resolve_atanh): New
+       * mathbuiltins.def: Add defines
+       * simplify.c (gfc_simplify_acosh): New function
+       (gfc_simplify_asinh): New
+       (gfc_simplify_atanh): New
+
+2005-06-24  Feng Wang  <fengwang@nudt.edu.cn>
+
+       * simplify.c (gfc_simplify_modulo): Don't clear before get result.
+
+2005-06-22  Paul Brook  <paul@codesourcery.com>
+
+       PR fortran/21034
+       * symbol.c (gfc_is_var_automatic): New function.
+       (save_symbol): Use it.
+
+2005-06-21  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
+           Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/22010
+       Port from g95.
+       * module.c (mio_namelist): New function. Correct to set
+       namelist_tail and to give error on renaming namelist by use
+       association.
+       (mio_symbol): Call mio_namelist.
+
+2005-06-19  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
+       * gfortran.h: Add flag_backslash compile-time option.
+       * lang.opt: Add support for -fbackslash option.
+       * options.c: Likewise.
+       * primary.c: Implement behavior for -fno-backslash.
+       * invoke.texi: Add doc for -fbackslash option.
+       * gfortran.texi: Remove mention of -fno-backslash as a
+       possible extension.
+
+2005-06-20  Steven G. Kargl  <kargls@comcast.net>
+       (port from g95)
+
+       PR fortran/21257
+       * match.c (gfc_match_label): Detect duplicate labels.
+
+
+2005-06-20  Erik Edelmann  <erik.edelmann@iki.fi>
+
+       * intrinsic.c (check_intrinsic_standard): Fix spelling error
+       in a warning message.
+
+2005-06-18  Erik Edelman  <eedelman@acclab.helsinki.fi>
+           Steven G. Kargl <kargls@comast.net>
+
+       PR fortran/19926
+       * primary.c (gfc_match_rvalue):  expr_type can be EXPR_CONSTANT
+       for an array; check that sym->as is NULL.
+
+
+2005-06-18  Steven G. Kargl  <kargls@comcast.net>
+
+       * intrinsic.c (gfc_intrinsic_func_interface): Enable errors for generic
+       functions whose simplification routine return FAILURE.
+
+2005-06-13  Geoffrey Keating  <geoffk@apple.com>
+
+       * Make-lang.in (fortran.install-man): Doesn't depend on installdirs.
+       (rule for installing f95.1 manpage): Does depend on installdirs.
+
+2005-06-13  Jakub Jelinek  <jakub@redhat.com>
+
+       PR fortran/22038
+       * trans-stmt.c (gfc_trans_forall_loop): Only increment maskindex
+       in the innermost loop.
+
+       * trans-expr.c (gfc_conv_function_call): Return int instead of
+       void.  Use a local variable for has_alternate_specifier and
+       return it.  Avoid modification of function type's return value
+       in place, since it may be shared.
+       * trans.h (has_alternate_specifier): Remove.
+       (gfc_conv_function_call): Change return type.
+       * trans-stmt.c (has_alternate_specifier): Remove.
+       (gfc_trans_call): Add a local has_alternate_specifier variable,
+       set it from gfc_conv_function_call return value.
+
+2005-06-12  Richard Henderson  <rth@redhat.com>
+
+       * trans-array.c (gfc_conv_descriptor_data_get): Rename from
+       gfc_conv_descriptor_data.  Cast the result to the DATAPTR type.
+       (gfc_conv_descriptor_data_set, gfc_conv_descriptor_data_addr): New.
+       (gfc_trans_allocate_array_storage): Use them.
+       (gfc_array_allocate, gfc_array_deallocate): Likewise.
+       (gfc_trans_dummy_array_bias, gfc_conv_expr_descriptor): Likewise.
+       (gfc_trans_deferred_array): Likewise.
+       * trans-expr.c (gfc_conv_function_call): Likewise.
+       (gfc_trans_subcomponent_assign): Likewise.
+       (gfc_trans_pointer_assignment): Likewise.
+       * trans-intrinsic.c (gfc_conv_allocated): Likewise.
+       * trans-types.c (gfc_array_descriptor_base): New.
+       (gfc_get_element_type): Use GFC_TYPE_ARRAY_DATAPTR_TYPE.
+       (gfc_get_array_descriptor_base): Break out from ...
+       (gfc_get_array_type_bounds): ... here.  Create type variants.
+       * trans-array.h (gfc_conv_descriptor_data_get): Declare.
+       (gfc_conv_descriptor_data_set, gfc_conv_descriptor_data_addr): Declare.
+
+2005-06-12  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
+
+       * trans-expr.c (gfc_conv_variable): POINTER results don't need f2c
+       calling conventions.  Look at sym instead of sym->result.
+       * trans-types.c (gfc_sym_type): Remove workaround for frontend bug.
+       Remove condition which is always false with workaround removed.
+       (gfc_return_by_reference): Always look at sym, never at sym->result.
+
 2005-06-11  Steven G. Kargl  <kargls@comcast.net>
-        
+       
        PR fortran/17792
        PR fortran/21375
        * trans-array.c (gfc_array_deallocate): pstat is new argument
        dereference the temporary upon return.
 
 2005-05-29  Janne Blomqvist  <jblomqvi@vipunen.hut.fi>
-            Steven G. Kargl  <kargls@comcast.net>
+           Steven G. Kargl  <kargls@comcast.net>
   
        fortran/PR20846
        * io.c (gfc_match_inquire): Implement constraints on UNIT and FILE usage.
        (gfc_check_integer_range): Chop extra bits in subnormal numbers.
 
 2005-05-28  Jerry DeLisle   <jvdelisle@verizon.net>
-            Steven G. Kargl  <kargls@comcast.net>
+           Steven G. Kargl  <kargls@comcast.net>
 
        * intrinsic.texi: added documentation for BIT_SIZE, BTEST, CHAR, CEILING
        and CMPLX
        * trans-const.c (gfc_conv_mpz_to_tree): Fix comment.
 
 2005-04-19  Arnaud Desitter  <arnaud.desitter@ouce.ox.ac.uk>
-            Steven G. Kargl  <kargls@comcast.net>
+           Steven G. Kargl  <kargls@comcast.net>
 
        * invoke.texi: Update -Waliasing description