OSDN Git Service

PR fortran/42769
[pf3gnuchains/gcc-fork.git] / gcc / fortran / ChangeLog
index e1e81b7..452e069 100644 (file)
@@ -1,3 +1,295 @@
+2013-01-08  Mikael Morin  <mikael@gcc.gnu.org>
+
+       PR fortran/42769
+       PR fortran/45836
+       PR fortran/45900
+       * module.c (read_module): Don't reuse local symtree if the associated
+       symbol isn't exactly the one wanted.  Don't reuse local symtree if it is
+       ambiguous.
+       * resolve.c (resolve_call): Use symtree's name instead of symbol's to
+       lookup the symtree.
+
+2013-01-07  Tobias Burnus  <burnus@net-b.de>
+           Thomas Koenig  <tkoenig@gcc.gnu.org>
+           Jakub Jelinek  <jakub@redhat.com>
+
+       PR fortran/55852
+       * expr.c (gfc_build_intrinsic_call): Avoid clashes
+       with user's procedures.
+       * gfortran.h (gfc_build_intrinsic_call): Update prototype.
+       (GFC_PREFIX): Define.
+       * simplify.c (gfc_simplify_size): Update call.
+
+2013-01-07  Steven G. Kargl  <kargl@gcc.gnu.org>
+           Mikael Morin  <mikael@gcc.gnu.org>
+
+       PR fortran/55827
+       * class.c (gfc_fix_class_refs): Adapt ts initialization for the case
+       e->symtree == NULL.
+       * trans-expr.c (gfc_conv_function_expr): Init sym earlier. Use it.
+
+2012-12-20  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/54818
+       * trans-intrinsic.c (gfc_conv_intrinsic_transfer): Ensure that
+       the string length is of type gfc_charlen_type_node.
+
+2012-11-24  Thomas Koenig  <tkoenig@gcc.gnu.org>
+
+       PR fortran/55314
+       Backport from trunk
+       * resolve.c (resolve_allocate_deallocate):  Compare all
+       subscripts when deciding if to reject a (de)allocate
+       statement.
+
+2012-11-23  Janus Weil  <janus@gcc.gnu.org>
+
+       PR fortran/55352
+       * trans-decl.c (generate_local_decl): Don't warn for explicitly imported
+       but unused module variables which are in a namelist or common block.
+
+2012-11-06  Janus Weil  <janus@gcc.gnu.org>
+
+       PR fortran/54917
+       * target-memory.c (gfc_target_expr_size,gfc_target_interpret_expr):
+       Handle BT_CLASS.
+
+2012-10-14  Janus Weil  <janus@gcc.gnu.org>
+
+       PR fortran/54784
+       * trans-stmt.c (gfc_trans_allocate): Correctly determine the reference
+       to the _data component for polymorphic allocation with SOURCE.
+
+2012-09-20  Release Manager
+
+       * GCC 4.7.2 released.
+
+2012-09-13  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/54556
+       * resolve.c (resolve_formal_arglist): Allow VALUE arguments
+       with implicit_pure.
+       (gfc_impure_variable): Don't check gfc_pure such that the
+       function also works for gfc_implicit_pure procedures.
+
+2012-09-12  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/54225
+       PR fortran/53306
+       * array.c (match_subscript, gfc_match_array_ref): Fix
+       diagnostic of coarray's '*'.
+
+2012-09-10  Janus Weil  <janus@gcc.gnu.org>
+
+       PR fortran/54435
+       PR fortran/54443
+       * match.c (gfc_match_select_type): Make sure to only access CLASS_DATA
+       for BT_CLASS.
+
+2012-09-08  Mikael Morin  <mikael@gcc.gnu.org>
+
+       PR fortran/54208
+       * simplify.c (simplify_bound_dim): Resolve array spec before
+       proceeding with simplification.
+
+2012-07-06  Mikael Morin  <mikael@gcc.gnu.org>
+
+       PR fortran/53732
+       * trans-array.c (gfc_add_loop_ss_code): Disable self recursive calls
+       handling nested loop(s) if the subscript flag is true.
+
+2012-06-22  Tobias Burnus  <burnus@net-b.de>
+
+       Backport from mainline
+       2012-06-17  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/53691
+       PR fortran/53685
+       * check.c (gfc_calculate_transfer_sizes): Return if
+       SIZE= is not constant or source-size cannot be determined.
+
+2012-06-14  Tobias Burnus  <burnus@net-b.de>
+
+       Backport from mainline
+       2012-06-04  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/50619
+       * resolve.c (build_default_init_expr): Don't initialize
+       ASSOCIATE names.
+
+2012-06-14  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/53597
+       * decl.c (match_attr_spec): Only mark module variables
+       as SAVE_IMPLICIT for Fortran 2008 and later.
+
+2012-06-14  Release Manager
+
+       * GCC 4.7.1 released.
+
+2012-06-01  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/53521
+       * trans.c (gfc_deallocate_scalar_with_status): Properly
+       handle the case size == 0.
+
+2012-05-23  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/53389
+       * trans-array.c (gfc_add_loop_ss_code): Don't evaluate expression, if
+       ss->is_alloc_lhs is set.
+
+2012-05-07  Tobias Burnus  <burnus@net-b.de>
+
+       Backport from mainline:
+       2012-05-07  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/53255
+       * resolve.c (resolve_typebound_static): Fix handling
+       of overridden specific to generic operator.
+
+2012-05-05  Tobias Burnus  <burnus@net-b.de>
+
+       Backport from mainline:
+       2012-05-04  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/53111
+       * resolve.c (resolve_fl_derived): Fix -std=f95
+       diagnostic for generic vs. DT names.
+
+2012-05-02  Tobias Burnus  <burnus@net-b.de>
+
+       Backport from mainline
+       2012-04-12  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/52864
+       * expr.c (gfc_check_vardef_context): Fix assignment check for
+       pointer components.
+
+2012-04-30  Thomas Koenig  <tkoenig@gcc.gnu.org>
+
+       PR fortran/53148
+       Backport from trunk
+       * frontend-passes.c (create_var):  If the statement has a label,
+       put the label around the block.
+
+2012-04-07  Thomas Koenig  <tkoenig@gcc.gnu.org>
+
+       PR fortran/52893
+       Backport from trunk
+       * frontend-passes.c:  Keep track of wether we are in an implicit
+       DO loop; do not do function elimination if we are.
+
+2012-04-07  Thomas Koenig  <tkoenig@gcc.gnu.org>
+
+       PR fortran/52668
+       Backport from trunk
+       * module.c:  Only mark symbols as use_only if they have been
+       imported via an only list.
+
+2012-03-22  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/52452
+       * resolve.c (resolve_intrinsic): Don't search for a
+       function if we know that it is a subroutine.
+
+2012-03-22  Release Manager
+
+       * GCC 4.7.0 released.
+
+2012-03-10  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/52469
+       * trans-types.c (gfc_get_function_type): Handle backend_decl
+       of a procedure pointer.
+
+2012-02-29  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/52386
+       * trans-expr.c (fcncall_realloc_result): Dereference the
+       descriptor if needed.
+
+2012-02-22  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/52335
+       * io.c (gfc_match_open): Remove bogus F2003 DELIM= check.
+
+2012-02-18  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/52295
+       * interface.c (check_interface0): Internal procs in
+       generic interfaces are allowed in Fortran 2008.
+
+2012-02-17  Tobias Burnus  <burnus@net-b.de>
+           Roland Stigge  <stigge@antcom.de>
+
+       PR translation/52273
+       * interface.c (compare_actual_formal): Fix typo "at at".
+
+2012-02-17  Tobias Burnus  <burnus@net-b.de>
+
+       * gfortran.texi (Q exponent-letter): Fix grammar.
+
+2012-02-17  Tobias Burnus  <burnus@net-b.de>
+
+       * gfortran.texi (Status): Fix typos.
+       * invoke.texi (ffixed-form, fstack-arrays): Spell Fortran with
+       a majuscule.
+
+2012-02-17  Tobias Burnus  <burnus@net-b.de>
+           Roland Stigge  <stigge@antcom.de>
+
+       PR translation/52232
+       PR translation/52234
+       PR translation/52245
+       PR translation/52246
+       PR translation/52262
+       PR translation/52273
+       * io.c (gfc_match_open): Fix typo.
+       * interface.c (compare_actual_formal): Ditto.
+       * lang.opt (freal-4-real-8, freal-4-real-16, freal-8-real-16): Ditto.
+       * match.c (alloc_opt_list, gfc_match_nullify): Ditto.
+       * check.c (gfc_check_associated, gfc_check_null): Ditto.
+
+2012-02-12  Mikael Morin  <mikael@gcc.gnu.org>
+
+       PR fortran/50981
+       * trans-stmt.c (gfc_get_proc_ifc_for_call): New function.
+       (gfc_trans_call): Use gfc_get_proc_ifc_for_call.
+
+2012-02-12  Mikael Morin  <mikael@gcc.gnu.org>
+
+       * trans-array.c (gfc_walk_elemental_function_args,
+       gfc_walk_function_expr): Move call to gfc_get_proc_ifc_for_expr out
+       of gfc_walk_elemental_function_args.
+       * trans-stmt.c (gfc_trans_call): Ditto.
+       * trans-array.h (gfc_get_proc_ifc_for_expr): New prototype.
+       (gfc_walk_elemental_function_args): Update prototype.
+
+2012-02-12  Mikael Morin  <mikael@gcc.gnu.org>
+
+       * trans-array.c (gfc_get_proc_ifc_for_expr): New function.
+       (gfc_walk_elemental_function_args): Move code to
+       gfc_get_proc_ifc_for_expr and call it.
+
+2012-02-08  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/52151
+       * trans-expr.c (fcncall_realloc_result): Set also the stride.
+
+2012-02-07  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/51514
+       * trans-expr.c (gfc_conv_procedure_call): Add _data component
+       for calls of scalar CLASS actuals to TYPE dummies.
+
+2012-02-05  Thomas König  <tkoenig@gcc.gnu.org>
+
+       PR fortran/48847
+       * trans-decl.c:  Warn about unused dummy procedure arguments
+       if -Wunused-dummy-argument is specified.  Suppress middle-end
+       warnings about procedure arguments.
+
 2012-02-05  Paul Thomas  <pault@gcc.gnu.org>
 
        * trans-array.c (gfc_array_allocate): Zero memory for all class