OSDN Git Service

2006-11-22 Paul Thomas <pault@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / fortran / ChangeLog
index 85c9533..b9c5944 100644 (file)
@@ -1,3 +1,791 @@
+2006-11-22 Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/25087
+       * resolve.c (resolve_fl_procedure): Add an error if an external
+       automatic character length function does not have an explicit
+       interface.
+
+2006-11-22 Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/29652
+       * interface.c (check_interface1): Use a local value, instead of
+       the dummy, as the inner iterator over interface symbols.
+
+2006-11-21 Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/29820
+       * trans-array.c (gfc_get_derived_type): Once done, spread the
+       backend_decl to all identical derived types in all sibling
+       namespaces.
+
+2006-11-20  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/27546
+       * primary.c (gfc_match_rvalue): Added IMPORT support.
+
+2006-11-20  Tobias Burnus  <burnus@net-b.de>
+
+       * symbol.c (check_conflict): Add conflict between VOLATILE
+         attribute and program name.
+
+2006-11-20  Bernhard Fischer  <aldot@gcc.gnu.org>
+
+       PR fortran/24783
+       * resolve.c (resolve_variable): Get the implicit type from the
+       symbols namespace rather than the default namespace. Fix whitespace.
+       (resolve_formal_arglist, resolve_equivalence): Fix typo.
+
+2006-11-19  Erik Edelmann  <eedelman@gcc.gnu.org>
+
+       * resolve.c (resolve_ref): Check for ALLOCATABLEs to the right of
+         nonzero rank part references too.
+
+2006-11-19  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
+       * module.c (gfc_use_module): Uncomment the ISO_FORTRAN_ENV code.
+       Check that intrinsic and non-intrinsic modules don't conflict.
+       (use_iso_fortran_env_module): New function.
+       (create_int_parameter): New function.
+       * trans-types.c (gfc_init_kinds): Choose values for
+       gfc_numeric_storage_size and gfc_character_storage_size.
+       (gfc_numeric_storage_size, gfc_character_storage_size): New variables.
+       * resolve.c (resolve_symbol): Do no check intrinsic modules
+       against the list of intrinsic symbols.
+       * iso-fortran-env.def: New file.
+       * gfortran.h (gfc_numeric_storage_size,
+       gfc_character_storage_size): Add prototypes.
+
+2006-11-18  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
+       PR fortran/24285
+       * io.c (check_format): Allow dollars everywhere in format, and
+       issue a warning.
+
+2006-11-17  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
+       * gfortran.h (gfc_add_intrinsic_modules_path,
+       gfc_open_intrinsic_module): New prototypes.
+       (gfc_add_include_path, gfc_open_included_file): Update prototypes.
+       * lang.opt: Add -fintrinsic-modules-path option.
+       * module.c (gfc_match_use): Match the Fortran 2003 form of
+       USE statement.
+       (gfc_use_module): Also handle intrinsic modules. 
+       * scanner.c (gfc_directorylist): Add use_for_modules for field.
+       (intrinsic_modules_dirs): New static variable.
+       (add_path_to_list, gfc_add_intrinsic_modules_path): New functions.
+       (gfc_add_include_path): Use the new add_path_to_list helper
+       function.
+       (gfc_release_include_path): Free memory for intrinsic_modules_dirs.
+       (open_included_file, gfc_open_intrinsic_module): New functions.
+       (gfc_open_included_file): Use the new open_included_file
+       helper function.
+       * lang-specs.h: Use the new -fintrinsic-modules-path option.
+       * parse.c (decode_statement): Do not match the required space
+       after USE here.
+       * options.c (gfc_handle_option): Handle the new option. Use new
+       prototype for gfc_add_include_path.
+       (gfc_post_options): Use new prototype for gfc_add_include_path.
+
+2006-11-16  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
+       PR fortran/29391
+       PR fortran/29489
+       * simplify.c (simplify_bound): Fix the simplification of
+       LBOUND/UBOUND intrinsics.
+       * trans-intrinsic.c (simplify_bound): Fix the logic, and
+       remove an erroneous assert.
+
+2006-11-16  Francois-Xavier Coudert  <fxcoudert@gcc.gnu,org>
+
+       * trans-decl.c (gfc_get_symbol_decl): Fix formatting.
+
+2006-11-15  Brooks Moses  <brooks.moses@codesourcery.com>
+
+       * data.c: Remove trailing periods from error messages.
+       * decl.c: Likewise.
+       * expr.c: Likewise.
+       * io.c: Likewise.
+       * match.c: Likewise.
+       * module.c: Likewise.
+       * options.c: Likewise.
+       * resolve.c: Likewise.
+       * symbol.c: Likewise.
+       * trans-io.c: Likewise.
+
+2006-11-15  Brooks Moses  <brooks.moses@codesourcery.com>
+
+       * lang.opt: Rearrange entries back into ASCII order.
+
+2006-11-15  Tobias Burnus  <burnus@net-b.de>
+
+       * parse.c (parse_contained): Fix indention
+         of one line.
+
+2006-11-15  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/27546
+       * decl.c (gfc_match_import,variable_decl):
+         Add IMPORT support.
+         (gfc_match_kind_spec): Fix typo in gfc_error.
+       * gfortran.h (gfc_namespace, gfc_statement):
+         Add IMPORT support.
+       * parse.c (decode_statement,gfc_ascii_statement,
+         verify_st_order): Add IMPORT support.
+       * match.h: Add gfc_match_import.
+       * gfortran.texi: Add IMPORT to the supported
+         Fortran 2003 features.
+
+2006-11-15  Tobias Burnus  <burnus@net-b.de>
+           Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       PR fortran/27588
+       * trans-expr.c (gfc_conv_substring): Add bounds checking.
+         (gfc_conv_variable, gfc_conv_substring_expr): Pass more
+         arguments to gfc_conv_substring.
+
+2006-11-15  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/29806
+       * parse.c (parse_contained): Check for empty contains statement.
+
+2006-11-15  Bud Davis <bdavis9659@sbcglobal.net>
+
+       PR fortran/28974
+       * gfortran.h (gfc_expr): Add element which holds a splay-tree
+       for the exclusive purpose of quick access to a constructor by
+       offset.
+       * data.c (find_con_by_offset): Use the splay tree for the search.
+       (gfc_assign_data_value): Use the splay tree.
+       (gfc_assign_data_value_range): ditto.
+       * expr.c (gfc_get_expr): Initialize new element to null.
+       (gfc_free_expr): Delete splay tree when deleting gfc_expr.
+
+2006-11-14  Brooks Moses  <brooks.moses@codesourcery.com>
+
+       PR fortran/29702
+       * error.c (show_loci): Move column-offset calculation to
+       show_locus.
+       (show_locus): Remove blank lines before "Included in"
+       lines, clean up code, calculate column-offsets, print
+       column number is error-header lines as appropriate.
+       (error_integer): (new function) Print integer to error
+       buffer.
+       (error_print): Use error_integer, avoid possible buffer
+       overflows from buggy error formats.
+
+2006-11-14  Brooks Moses  <brooks.moses@codesourcery.com>
+       * gfortran.h (GFC_MAX_LINE): Remove constant definition.
+       (gfc_option_t): Clarify comments.
+       * options.c: Set default line length limits to actual default
+       values, rather than flag values.
+       * scanner.c: Eliminate checking and handling of the
+       fixed/free_line_length flag values.
+
+2006-11-14  Brooks Moses  <brooks.moses@codesourcery.com>
+       * lang.opt: Remove -fno-backend option.
+       * gfortran.h (gfc_option_t): Remove flag_no_backend.
+       * options.c (gfc_init_options): Remove flag_no_backend.
+       (gfc_handle_option): Remove -fno-backend option handler.
+       * parse.c (gfc_parse_file): Remove references to
+       gfc_option.flag_no_backend.
+
+2006-11-14  Tobias Burnus  <burnus@net-b.de>
+
+       * match.c (gfc_match_namelist): Add missing space to
+         error message.
+
+2006-11-14  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/29657
+       * symbol.c (check_conflict): Add further conflicts.
+
+2006-11-13  Jakub Jelinek  <jakub@redhat.com>
+
+       PR fortran/29759
+       * fortran/scanner.c (skip_free_comments): Clear openmp_flag
+       before returning true.
+
+2006-11-12  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+
+       PR fortran/26994
+       * trans-expr.c (gfc_conv_expr_reference): Set TREE_STATIC on the
+       new CONST_DECL.
+
+2006-11-11  Tobias Schl\81üter  <tobias.schlueter@physik.uni-muenchen.de>
+
+       * array.c: Add 2006 to copyright years.
+       * data.c: Same.
+       * interface.c: Same.
+       * misc.c: Same.
+       * trans-io.c: Same.
+
+2006-11-11  Richard Guenther  <rguenther@suse.de>
+
+       * trans-intrinsic.c (enum rounding_mode): New enum.
+       (build_fix_expr, gfc_conv_intrinsic_aint, gfc_conv_intrinsic_mod,
+       gfc_conv_intrinsic_function): Use it instead of FIX_CEIL_EXPR,
+       FIX_FLOOR_EXPR, FIX_ROUND_EXPR and FIX_TRUNC_EXPR.
+
+2006-11-10  Brooks Moses  <brooks.moses@codesourcery.com>
+
+       * lang.opt (-fmodule-private): Remove option.
+       * gfortran.h (gfc_option_t): Remove module_access_private flag.
+       * options.c (gfc_init_options): Remove initialization for it.
+       (gfc_handle_option): Remove handling for -fmodule-private.
+       * module.c (gfc_check_access): Add comments, remove check for
+       gfc_option.flag_module_access_private.
+
+2006-11-10 Paul Thomas <pault@gcc.gnu.org>
+
+       PR fortran/29758
+       * check.c (gfc_check_reshape): Check that there are enough
+       elements in the source array as to be able to fill an array
+       defined by shape, when pad is absent.
+
+2006-11-10 Paul Thomas <pault@gcc.gnu.org>
+
+       PR fortran/29315
+       * trans-expr.c (is_aliased_array): Treat correctly the case where the
+       component is itself and array or array reference.
+
+2006-11-09  Brooks Moses  <brooks.moses@codesourcery.com>
+
+       * check.c (same_type_check): Typo fix in comment.
+
+2006-11-09 Paul Thomas <pault@gcc.gnu.org>
+
+       PR fortran/29431
+       * trans-array.c    (get_array_ctor_strlen): If we fall through to
+       default, use a constant character length if it is available.
+
+2006-11-09 Paul Thomas <pault@gcc.gnu.org>
+
+       PR fortran/29744
+       * trans-types.c (gfc_get_derived_type): Ensure that the
+       proc_name namespace is not the same as the owner namespace and
+       that identical derived types in the same namespace share the
+       same backend_decl.
+
+2006-11-09 Paul Thomas <pault@gcc.gnu.org>
+
+       PR fortran/29699
+       * trans-array.c (structure_alloc_comps): Detect pointers to
+       arrays and use indirect reference to declaration.
+       * resolve.c (resolve_fl_variable): Tidy up condition.
+       (resolve_symbol): The same and only add initialization code if
+       the symbol is referenced.
+       * trans-decl.c (gfc_trans_deferred_vars): Call gfc_trans_
+       deferred_array before gfc_trans_auto_array_allocation.
+
+       PR fortran/21370
+       * symbol.c (check_done): Remove.
+       (gfc_add_attribute): Remove reference to check_done and remove
+       the argument attr_intent.
+       (gfc_add_allocatable, gfc_add_dimension, gfc_add_external,
+       gfc_add_intrinsic, gfc_add_optional, gfc_add_pointer,
+       gfc_add_cray_pointer, gfc_add_cray_pointee, gfc_add_result,
+       gfc_add_target, gfc_add_in_common, gfc_add_elemental,
+       gfc_add_pure, gfc_add_recursive, gfc_add_procedure,
+       gfc_add_type): Remove references to check_done.
+       * decl.c (attr_decl1): Eliminate third argument in call to
+       gfc_add_attribute.
+       * gfortran.h : Change prototype for gfc_add_attribute.
+
+2006-11-08  Brooks Moses  <brooks.moses@codesourcery.com>
+
+       * invoke.texi: Added documentation for -fmax-errors option.
+
+2006-11-08  Brooks Moses  <brooks.moses@codesourcery.com>
+
+       * lang.opt: Add -fmax-errors= option.
+       * gfortran.h (gfc_option_t): Add max_errors element.
+       * options.c (gfc_init_options): Set max_errors default value
+       to 25.
+       (gfc_handle_options): Assign -fmax_errors value to
+       gfc_option.max_errors.
+       * error.c (gfc_increment_error_count): New function, which
+       also checks whether the error count exceeds max_errors.
+       (gfc_warning): Use it.
+       (gfc_warning_now): Use it.
+       (gfc_notify_std): Use it.
+       (gfc_error): Use it.
+       (gfc_error_now): Use it.
+       (gfc_error_check): Use it.
+
+2006-11-08  Brooks Moses  <brooks.moses@codesourcery.com>
+
+       * lang.opt: Remove non-working -qkind= option.
+       * gfortran.h (gfc_option_t): Remove q_kind member.
+       * options.c (gfc_init_options): Remove q_kind initialization.
+       (gfc_handle_option): Remove -qkind= option handling.
+       * primary.c: (match_real_constant): Remove 'Q' exponent.
+
+2006-11-08  Tobias Burnus  <burnus@net-b.de>
+
+       * gfortran.texi: Add volatile and internal-file
+         namelist to Fortran 2003 status.
+       * intrinsic.texi: Correct CHMOD entry.
+
+2006-11-07  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/29539
+       PR fortran/29634
+       * decl.c (variable_decl): Add test for presence of proc_name.
+       * error.c (gfc_error_flag_test): New function.
+       * gfortran.h : Prototype for gfc_error_flag_test.
+
+2006-11-07  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/29601
+       * symbol.c (check_conflict, gfc_add_volatile): Add volatile support.
+       * decl.c (match_attr_spec, gfc_match_volatile): Add volatile support.
+       * gfortran.h (symbol_attribute): Add volatile_ to struct.
+       * resolve.c (was_declared): Add volatile support.
+       * trans-decl.c (gfc_finish_var_decl): Add volatile support.
+       * match.h: Declare gfc_match_volatile.
+       * parse.c (decode_statement): Recognize volatile.
+       * modules.c (ab_attribute, attr_bits, mio_symbol_attribute):
+         Add volatile support.
+       * dump-parse-tree.c (gfc_show_attr): Add volatile support.
+
+2006-11-06  Tobias Burnus  <burnus@net-b.de>
+
+       * decl.c (match_attr_spec, gfc_match_enum): Unify gfc_notify_std
+         message for GFC_STD_F2003.
+       * array.c (gfc_match_array_constructor): Unify gfc_notify_std
+         message for GFC_STD_F2003.
+       * io.c (check_io_constraints): Unify gfc_notify_std message for
+         GFC_STD_F2003.
+       * resolve.c (resolve_actual_arglist): Unify gfc_notify_std message
+         for GFC_STD_F2003.
+
+2006-11-06  Brooks Moses  <brooks.moses@codesourcery.com>
+
+       * intrinsic.texi: Added documentation for FTELL, GETLOG, and
+       HOSTNM intrinsics.
+
+2006-11-06  Erik Edelmann  <eedelman@gcc.gnu.org>
+
+       PR fortran/29630
+       PR fortran/29679
+       * expr.c (find_array_section): Support vector subscripts.  Don't
+         add sizes for dimen_type == DIMEN_ELEMENT to the shape array.
+
+2006-11-05  Bernhard Fischer  <aldot@gcc.gnu.org>
+
+       PR fortran/21061
+       * error.c (gfc_warning): If warnings_are_errors then treat
+       warnings as errors with respect to the exit code.
+       (gfc_notify_std): Ditto.
+       (gfc_warning_now): Ditto.
+
+2006-11-05  Francois-Xavier Coudert  <fxcoudert@gcc.gnu,org>
+           Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/24518
+       * trans-intrinsic.c (gfc_conv_intrinsic_mod): Use built_in fmod
+       for both MOD and MODULO, if it is available.
+
+       PR fortran/29565
+       * trans-expr.c (gfc_conv_aliased_arg): For an INTENT(OUT), save
+       the declarations from the unused loops by merging the block
+       scope for each; this ensures that the temporary is declared.
+
+2006-11-04  Brooks Moses  <brooks.moses@codesourcery.com>
+
+       * error.c (show_locus): Add trailing colon in error messages.
+       (error_print): Avoid leading space in error lines.
+
+2006-11-04  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
+       PR fortran/29713
+       * expr.c (gfc_simplify_expr): Correct memory allocation.
+
+2006-11-02  Brooks Moses  <brooks.moses@codesourcery.com>
+
+       * error.c (show_locus): Remove "In file" from error messages.
+
+2006-10-31  Geoffrey Keating  <geoffk@apple.com>
+
+       * trans-decl.c (gfc_generate_constructors): Update for removal
+       of get_file_function_name.
+
+2006-11-01  Bernhard Fischer  <aldot@gcc.gnu.org>
+
+       PR fortran/29537
+       * trans-common.c (gfc_trans_common): If the blank common is
+       in a procedure or program without a name then proc_name is null, so
+       use the locus of the common.
+       (gfc_sym_mangled_common_id): Fix whitespace.
+       * match.c (gfc_match_common): Emit warning about blank common in
+       block data.
+
+2006-10-31  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
+       PR fortran/29067
+       * decl.c (gfc_set_constant_character_len): NULL-terminate the
+       character constant string.
+       * data.c (create_character_intializer): Likewise.
+       * expr.c (gfc_simplify_expr): NULL-terminate the substring
+       character constant.
+       * primary.c (match_hollerith_constant): NULL-terminate the
+       character constant string.
+
+2006-10-31  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/29387
+       * trans-intrinsic.c (gfc_conv_intrinsic_len): Rearrange to have
+       a specific case for EXPR_VARIABLE and, in default, build an ss
+       to call gfc_conv_expr_descriptor for array expressions..
+
+       PR fortran/29490
+       * trans-expr.c (gfc_set_interface_mapping_bounds): In the case
+       that GFC_TYPE_ARRAY_LBOUND is not available, use descriptor
+       values for it and GFC_TYPE_ARRAY_UBOUND.
+
+       PR fortran/29641
+       * trans-types.c (gfc_get_derived_type): If the derived type
+       namespace has neither a parent nor a proc_name, set NULL for
+       the search namespace.
+
+2006-10-30  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/29452
+       * io.c (check_io_constraints): Fix keyword string comparison.
+
+2006-10-30  Andrew Pinski  <pinskia@gmail.com>
+
+       PR fortran/29410
+       * trans-intrinsic.c (gfc_conv_intrinsic_array_transfer):
+       Change over to create VIEW_CONVERT_EXPR instead of using an
+       ADDR_EXPR, a cast and then an indirect reference
+
+2006-10-29  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
+       * trans-intrinsic.c (gfc_conv_intrinsic_loc): Make LOC return a
+       signed integer node.
+
+2006-10-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR fortran/17741
+       * decl.c (get_proc_name): Bump current namespace refs count.
+
+2006-10-29  Jakub Jelinek  <jakub@redhat.com>
+
+       PR fortran/29629
+       * trans-openmp.c (gfc_trans_omp_array_reduction): Set attr.flavor
+       of init_val_sym and outer_sym to FL_VARIABLE.
+
+2006-10-29  Kazu Hirata  <kazu@codesourcery.com>
+
+       * intrinsic.texi: Fix a typo.
+
+2006-10-27  Steven G. Kargl  <kargl@gcc.gnu.org>
+
+       * gfortran.h: Remove GFC_MPFR_TOO_OLD.
+       * arith.c (arctangent2): Remove function
+       (gfc_check_real_range): Remove subnormal kludge.
+       * arith.h: Remove arctangent2 prototype.
+       * simplify.c: (gfc_simplify_atan2): Remove use of arctangent2.
+       (gfc_simplify_exponent, gfc_simplify_log, gfc_simplify_nearest,
+       gfc_simplify_rrspacing, gfc_simplify_spacing): Remove mpfr kludges.
+
+2006-10-28  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/28224
+       * io.c (check_io_constraints): Allow namelists
+         for internal files for Fortran 2003.
+
+2006-10-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR fortran/27954
+       * decl.c (gfc_free_data_all): New function to free all data structures
+       after errors in DATA statements and declarations.
+       (top_var_list): Use new function.(top_val_list): Use new function.
+       (gfc_match_data_decl): Use new function.
+       * misc.c (gfc_typename): Fixed incorrect function name in error text. 
+
+2006-10-24  Erik Edelmann  <eedelman@gcc.gnu.org>
+
+       PR fortran/29393
+       * expr.c (simplify_parameter_variable): Keep rank of original
+       expression.
+
+2006-10-23 Rafael Avila de Espindola  <rafael.espindola@gmail.com>
+
+       * Make-lang.in (f951$(exeext)): Depend on and link with attribs.o.
+       * trans.h (builtin_function): Rename to gfc_builtin_function.
+       Change the signature.
+       * 95-lang.c (LANG_HOOKS_BUILTIN_FUNCTION): Define as
+       gfc_builtin_function.
+       (builtin_function): Rename to gfc_builtin_function. Move common
+       code to builtin_function.
+       (gfc_define_builtin): Replace calls to builtin_function with
+       gfc_define_builtin.
+
+2006-10-22  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
+       PR fortran/26025
+       * lang.opt: Add -fexternal-blas and -fblas-matmul-limit options.
+       * options.c (gfc_init_options): Initialize new flags.
+       (gfc_handle_option): Handle new flags.
+       * gfortran.h (gfc_option): Add flag_external_blas and
+       blas_matmul_limit flags.
+       * trans-expr.c (gfc_conv_function_call): Use new argument
+       append_args, appending it at the end of the argument list
+       built for a function call.
+       * trans-stmt.c (gfc_trans_call): Use NULL_TREE for the new
+       append_args argument to gfc_trans_call.
+       * trans.h (gfc_conv_function_call): Update prototype.
+       * trans-decl.c (gfc_build_intrinsic_function_decls): Add
+       prototypes for BLAS ?gemm routines.
+       * trans-intrinsic.c (gfc_conv_intrinsic_funcall): Generate the
+       extra arguments given to the library matmul function, and give
+       them to gfc_conv_function_call.
+       * invoke.texi: Add documentation for -fexternal-blas and
+       -fblas-matmul-limit.
+
+2006-10-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * Make-lang.in (F95_LIBS): Delete.
+       * f951$(exeext): Use $(LIBS) instead of $(F95_LIBS).
+       * config-lang.in (need_gmp): Delete.
+
+2006-10-19  Brooks Moses  <bmoses@stanford.edu>
+
+       * invoke.texi: Fixed "denormal" typo.
+
+2006-10-19  Paul Thomas <pault@gcc.gnu.org>
+
+       PR fortran/29216
+       PR fortran/29314
+       * gfortran.h : Add EXEC_INIT_ASSIGN.
+       * dump-parse-tree.c (gfc_show_code_node): The same.
+       * trans-openmp.c (gfc_trans_omp_array_reduction): Set new
+       argument for gfc_trans_assignment to false.
+       * trans-stmt.c (gfc_trans_forall_1): The same.
+       * trans-expr.c (gfc_conv_function_call, gfc_trans_assign,
+       gfc_trans_arrayfunc_assign, gfc_trans_assignment): The
+       same. In the latter function, use the new flag to stop
+       the checking of the lhs for deallocation.
+       (gfc_trans_init_assign): New function.
+       * trans-stmt.h : Add prototype for gfc_trans_init_assign.
+       * trans.c (gfc_trans_code): Implement EXEC_INIT_ASSIGN.
+       * trans.h : Add new boolean argument to the prototype of
+       gfc_trans_assignment.
+       * resolve.c (resolve_allocate_exp): Replace EXEC_ASSIGN by
+       EXEC_INIT_ASSIGN.
+       (resolve_code): EXEC_INIT_ASSIGN does not need resolution.
+       (apply_default_init): New function.
+       (resolve_symbol): Call it for derived types that become
+       defined but which do not already have an initialization
+       expression..
+       * st.c (gfc_free_statement): Include EXEC_INIT_ASSIGN.
+
+2006-10-16  Tobias Burnus  <burnus@net-b.de>
+
+       * primary.c: Revert 'significand'-to-'significant' comment change.
+       * invoke.texi (Warning Options): Minor cleanup for
+         -Wimplicit-interface.
+
+2006-10-17  Paul Thomas <pault@gcc.gnu.org>
+
+       PR fortran/29451
+       * trans-array.c (gfc_trans_array_bounds): Test for and set
+       negative stride of a non-constant bound array to zero.
+
+       PR fortran/29392
+       * data.c (create_character_intializer): Copy and simplify
+       the expressions for the start and end of a sub-string
+       reference.
+
+2006-10-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * io.c (gfc_match_close): Ensure that status is terminated by
+       a NULL element.
+
+2006-10-16  Tobias Burnus  <burnus@net-b.de>
+
+       * trans-stmt.c: Fix a typo
+       * invoke.texi: Fix typos
+       * resolve.c: Fix a comment typo
+       * trans-decl.c: Fix a comment typo
+       * primary.c: Fix a comment typo
+
+2006-10-15  Steven G. Kargl  <kargl@gcc.gnu.org>
+
+       PR fortran/29403
+       * io.c (match_io):  Check for a default-char-expr for PRINT format.
+
+2006-10-15  Bernhard Fischer  <aldot@gcc.gnu.org>
+
+       PR fortran/24767
+       * lang.opt (Wunused-labels): Remove.
+       * options.c: Remove references to gfc_option.warn_unused_labels.
+       * gfortran.h: Remove variable warn_unused_labels.               
+       * resolve.c (warn_unused_fortran_label) : Use warn_unused_label
+       instead of gfc_option.warn_unused_labels.
+       * invoke.texi: Remove documentation of -Wunused-labels.
+
+2006-10-14  Tobias Burnus  <burnus@net-b.de>
+
+       * gfortran.texi: Add link to GFortran apps
+       * intrinsic.texi: Updated documentation of ACCESS and CHMOD
+
+2006-10-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR fortran/19261
+       * scanner.c (load_line): Add checks for illegal use of '&' and issue
+       warnings.  Issue errors with -pedantic.
+
+2006-10-14 Paul Thomas <pault@gcc.gnu.org>
+
+       PR fortran/29371
+       * trans-expr.c (gfc_trans_pointer_assignment): Add the expression
+       for the assignment of null to the data field to se->pre, rather
+       than block.     
+
+2006-10-14  Kazu Hirata  <kazu@codesourcery.com>
+
+       * intrinsic.texi: Fix typos.
+       * trans-array.c: Fix a comment typo.
+
+2006-10-13  Brooks Moses  <bmoses@stanford.edu>
+
+       * intrinsic.texi (STAT): Reverted a format in example code to
+       octal; noted this in accompanying string.
+
+2006-10-13 Paul Thomas <pault@gcc.gnu.org>
+
+       PR fortran/29373
+       * decl.c (get_proc_name, gfc_match_function_decl): Add
+       attr.implicit_type to conditions that throw error for
+       existing explicit interface and that allow new type-
+       spec to be applied.
+
+       PR fortran/29407
+       * resolve.c (resolve_fl_namelist): Do not check for
+       namelist/procedure conflict, if the symbol corresponds
+       to a good local variable declaration.
+
+       PR fortran/27701
+       * decl.c (get_proc_name): Replace the detection of a declared
+       procedure by the presence of a formal argument list by the
+       attributes of the symbol and the presence of an explicit
+       interface.
+
+       PR fortran/29232
+       * resolve.c (resolve_fl_variable): See if the host association
+       of a derived type is blocked by the presence of another type I
+       object in the current namespace.
+
+       PR fortran/29364
+       * resolve.c (resolve_fl_derived): Check for the presence of
+       the derived type for a derived type component.
+
+       PR fortran/24398
+       * module.c (gfc_use_module): Check that the first words in a
+       module file are 'GFORTRAN module'.
+
+       PR fortran/29422
+       * resolve.c (resolve_transfer): Test functions for suitability
+       for IO, as well as variables.
+
+       PR fortran/29428
+       * trans-expr.c (gfc_trans_scalar_assign): Remove nullify of
+       rhs expression.
+
+2006-10-13  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
+       PR fortran/29391
+       * trans-intrinsic.c (gfc_conv_intrinsic_bound): Generate correct
+       code for LBOUND and UBOUND intrinsics.
+
+2006-10-13  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
+       PR fortran/21435
+       * io.c (compare_to_allowed_values): New function.
+       (gfc_match_open): Add checks for constant values of specifiers.
+       (gfc_match_close): Add checks for constant values of the STATUS
+       specifier.
+
+2006-10-12  Brooks Moses  <bmoses@stanford.edu>
+
+       * intrinsic.texi (STAT): Fixed a format typo in sample code.
+
+2006-10-12  Brooks Moses  <bmoses@stanford.edu>
+
+       * intrinsic.texi (STAT): Shortened lines in sample code.
+
+2006-10-11  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
+
+       * gfortran.h (gfc_show_actual_arglist, gfc_show_array_ref,
+       gfc_show_array_spec, gfc_show_attr, gfc_show_code,
+       gfc_show_components, gfc_show_constructor, gfc_show_equiv,
+       gfc_show_expr, gfc_show_namelist, gfc_show_ref, gfc_show_symbol,
+       gfc_show_typespec): Add prototypes.
+       * dump-parse-tree.c (gfc_show_actual_arglist, gfc_show_array_ref,
+       gfc_show_array_spec, gfc_show_attr, gfc_show_code,
+       gfc_show_components, gfc_show_constructor, gfc_show_equiv,
+       gfc_show_expr, gfc_show_namelist, gfc_show_ref, gfc_show_symbol,
+       gfc_show_typespec): Remove 'static' from declaration.
+
+2006-10-10  Brooks Moses  <bmoses@stanford.edu>
+
+       * invoke.texi, gfortran.texi: Corrected erronous dashes.
+
+2006-10-10  Brooks Moses  <bmoses@stanford.edu>
+
+       * Make-lang.in: Added "fortran.pdf", "gfortran.pdf" target
+       support.
+
+2006-10-10  Daniel Franke  <franke.daniel@gmail.com>
+
+       * intrinsic.texi: added documentation for FSTAT, GETARG,GET_COMMAND,
+       GET_COMMAND_ARGUMENT, GETENV, GET_ENVIRONMENT_VARIABLE, IAND, IARGC,
+       LSTAT and STAT, removed the reference to PR19292 from ACCESS, CHMOD,
+       GMTIME, LSHIFT, LTIME, RSHIFT.
+
+2006-10-10  Brooks Moses  <bmoses@stanford.edu>
+
+       * gfortran.texi (Standards): Update to current status.
+
+2006-10-09  Brooks Moses  <bmoses@stanford.edu>
+
+       * Make-lang.in: Added intrinsic.texi to GFORTRAN_TEXI
+       dependences.
+
+2006-10-09  Brooks Moses  <bmoses@stanford.edu>
+
+       * intrinsic.texi (MOVE_ALLOC): changed "Options" to "Standards".
+
+2006-10-09  Steven G. Kargl  <kargl@gcc.gnu.org>
+
+       * gfortran.h: Define GFC_MPFR_TOO_OLD via mpfr version info.
+       * arith.c (arctangent, gfc_check_real_range): Use it.   
+       * simplify.c (gfc_simplify_atan2, gfc_simplify_exponent,
+       gfc_simplify_log, gfc_simplify_nearest): Use it.
+
+       PR fortran/15441
+       PR fortran/29312
+       * iresolve.c (gfc_resolve_rrspacing): Give rrspacing library
+       routine hidden precision argument.
+       (gfc_resolve_spacing): Give spacing library routine hidden
+       precision, emin - 1, and tiny(x) arguments.
+       * simplify.c (gfc_simplify_nearest): Remove explicit subnormalization.
+       (gfc_simplify_rrspacing): Implement formula from Fortran 95 standard.
+       (gfc_simplify_spacing): Implement formula from Fortran 2003 standard.
+       * trans-intrinsic.c (gfc_intrinsic_map_t) Declare rrspacing and
+       spacing via LIBF_FUNCTION
+       (prepare_arg_info, call_builtin_clz, gfc_conv_intrinsic_spacing,
+       gfc_conv_intrinsic_rrspacing): Remove functions.
+       (gfc_conv_intrinsic_function): Remove calls to
+       gfc_conv_intrinsic_spacing and gfc_conv_intrinsic_rrspacing.
+       * f95-lang.c (gfc_init_builtin_functions): Remove __builtin_clz,
+       __builtin_clzl and __builtin_clzll
+
 2006-10-09  Richard Henderson  <rth@redhat.com>
 
        Revert emutls patch.