OSDN Git Service

contrib/
[pf3gnuchains/gcc-fork.git] / gcc / fortran / ChangeLog
index c8301f6..bd18bd1 100644 (file)
@@ -1,3 +1,139 @@
+2008-10-24  Jakub Jelinek  <jakub@redhat.com>
+
+       * Make-lang.in (check-f95-subtargets, check-fortran-subtargets): New
+       aliases for check-gfortran-subtargets.
+       (lang_checks_parallelized): Add check-gfortran.
+       (check_gfortran_parallelize): New variable.
+
+2008-10-19  Paul Thomas  <pault@gcc.gnu.org>
+
+        PR fortran/37723
+        * dependency.c (gfc_dep_resolver ): If we find equal array
+       element references, go on to the next reference.
+
+2008-10-16  Daniel Kraft  <d@domob.eu>
+
+       * resolve.c (resolve_elemental_actual): Handle calls to intrinsic
+       subroutines correctly.
+
+2008-10-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * simplify.c: Remove MPFR_VERSION_NUM(2,3,0) conditionals.
+
+2008-10-12  Daniel Kraft  <d@domob.eu>
+
+       PR fortran/37688
+       * expr.c (gfc_expr_check_typed): Extend permission of untyped
+       expressions to both top-level variable and basic arithmetic expressions.
+
+2008-10-12  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/37787
+       * dependency.c (gfc_are_equivalenced_arrays): Look in symbol
+       namespace rather than current namespace, if it is available.
+
+2008-10-12  Steven G. Kargl  <kargls@comcast.net>
+
+       PR fortran/37792
+       * fortran/resolve.c (resolve_fl_variable): Simplify the
+       initializer if there is one.
+
+2008-10-11  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/37794
+       * module.c (check_for_ambiguous): Remove redundant code.
+
+2008-10-09  Daniel Kraft  <d@domob.eu>
+
+       PR fortran/35723
+       * gfortran.h (gfc_suppress_error): Removed from header.
+       (gfc_push_suppress_errors), (gfc_pop_suppress_errors): New methods.
+       * array.c (gfc_array_size): Use new gfc_push/pop_suppress_errors
+       instead of directly changing gfc_suppress_error.
+       * intrinsic.c (gfc_intrinsic_func_interface): Ditto.
+       (gfc_intrinsic_sub_interface): Ditto.
+       * error.c (suppress_errors): Made static from `gfc_suppress_error'.
+       (gfc_push_suppress_errors), (gfc_pop_suppress_errors): New methods.
+       (gfc_notify_std), (gfc_error): Use new static name of global.
+       * expr.c (check_arglist), (check_references): New methods.
+       (check_restricted): Check arglists and references of EXPR_FUNCTIONs
+       and EXPR_VARAIBALEs, respectively.  Allow PARAMETER symbols.
+
+2008-10-07  Jakub Jelinek  <jakub@redhat.com>
+
+       * f95-lang.c (poplevel): Don't clear BLOCK_VARS if functionbody.
+       * trans-decl.c (gfc_build_qualified_array): Build accurate debug type
+       even if nest.
+       (build_entry_thunks, gfc_generate_function_code,
+       gfc_generate_constructors): Ensure DECL_SAVED_TREE is a BIND_EXPR
+       with DECL_INITIAL as its BLOCK.
+
+2008-10-05  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/35680
+       * gfortran.h : Add 'error' bit field to gfc_expr structure.
+       * expr.c (check_inquiry): When checking a restricted expression
+       check that arguments are either variables or restricted.
+       (check_restricted): Do not emit error if the expression has
+       'error' set.  Clean up detection of host-associated variable.
+
+2008-10-05  Daniel Kraft  <d@domob.eu>
+
+       PR fortran/37638
+       * gfortran.h (struct gfc_typebound_proc): New flag `error'.
+       * resolve.c (update_arglist_pass): Added assertion.
+       (update_compcall_arglist): Fail early for erraneous procedures to avoid
+       confusion later.
+       (resolve_typebound_generic_call): Ignore erraneous specific targets
+       and added assertions.
+       (resolve_typebound_procedure): Set new `error' flag.
+
+2008-10-04  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/37706
+       * module.c (load_equiv): Check the module before negating the
+       unused flag.
+
+2008-10-02  Steven Bosscher  <steven@gcc.gnu.org>
+
+       PR fortran/37635
+       * intrinsic.c (add_functions): Add LEADZ and TRAILZ as generics.
+       * intrinsic.h (gfc_simplify_leadz, gfc_simplify_trailz): New protos.
+       * gfortran.h <enum gfc_isym_id>: (GFC_ISYM_LEADZ, GFC_ISYM_TRAILZ): New.
+       * f95-lang (gfc_init_builtin_functions): Add BUILT_IN_CLZ,
+       BUILT_IN_CLZL, BUILT_IN_CLZLL, BUILT_IN_CTZ, BUILT_IN_CTZL, and
+       BUILT_IN_CTZLL.
+       * trans-intrinsic.c (gfc_conv_intrinsic_leadz,
+       gfc_conv_intrinsic_trails): New code-generation functions for LEADZ
+       and TRAILZ intrinsics.
+       (gfc_conv_intrinsic_function): Use them
+       * intrinsic.texi: Add documentation for LEADZ and TRAILZ.
+       * simplify.c (gfc_simplify_leadz, gfc_simplify_trailz): New functions.
+
+2008-09-30  Janus Weil  <janus@gcc.gnu.org>
+
+       PR fortran/36592
+       * symbol.c (check_conflict): If a symbol in a COMMON block is a
+       procedure, it must be a procedure pointer.
+       (gfc_add_in_common): Symbols in COMMON blocks may be variables or
+       procedure pointers.
+       * trans-types.c (gfc_sym_type): Make procedure pointers in COMMON
+       blocks work.
+
+2008-09-25  Jerry DeLisle  <jvdelisle@gcc.gnu.org
+
+       PR fortran/37498
+       * trans-io.c (build_dt): Revert previous patch..
+       * ioparm.def: Delete IOPARM_dt_f2003.
+
+2008-09-25  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/37504
+       * expr.c (gfc_check_pointer_assign): Allow assignment of
+       protected pointers.
+       * match.c (gfc_match_assignment,gfc_match_pointer_assignment):
+       Remove unreachable code.
+
 2008-09-24  Tobias Burnus  <burnus@net-b.de>
 
        * options.c (set_default_std_flags,gfc_init_options):