OSDN Git Service

fortran/
[pf3gnuchains/gcc-fork.git] / gcc / fortran / ChangeLog
index 109e83a..e5540e0 100644 (file)
+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/20541
+       * 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
+       * 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".
+       * intrinsic.texi (MOVE_ALLOC): changed "Options" to "Standards".
 
 2006-10-09  Steven G. Kargl  <kargl@gcc.gnu.org>