OSDN Git Service

* trans-decl.c (gfc_get_symbol_decl): Fix formatting.
[pf3gnuchains/gcc-fork.git] / gcc / fortran / ChangeLog
index 42c07fe..3141d72 100644 (file)
@@ -1,3 +1,230 @@
+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
 
 2006-10-17  Paul Thomas <pault@gcc.gnu.org>
 
-       PR fortran/20541
+       PR fortran/29451
        * trans-array.c (gfc_trans_array_bounds): Test for and set
        negative stride of a non-constant bound array to zero.