OSDN Git Service

2006-03-31 Asher Langton <langton2@llnl.gov>
[pf3gnuchains/gcc-fork.git] / gcc / fortran / ChangeLog
index 0f0f049..a312507 100644 (file)
+2006-03-31  Asher Langton  <langton2@llnl.gov>
+
+       PR fortran/25358
+       *expr.c (gfc_check_assign): Allow cray pointee to be assumes-size.
+       
+2006-03-30  Paul Thomas <paulthomas2@wanadoo.fr>
+            Bud Davis  <bdavis9659@sbcglobal.net>
+
+       PR 21130
+       * module.c (load_needed): Traverse entire tree before returning.
+
+2006-03-30  Roger Sayle  <roger@eyesopen.com>
+
+       PR middle-end/22375
+       * trans.c (gfc_trans_runtime_check): Promote the arguments of
+       __builtin_expect to the correct types, and the result back to
+       boolean_type_node.
+
+2006-03-29  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * Make-lang.in: Rename docdir to gcc_docdir.
+
+2006-03-28  Steven G. Kargl  <kargls@comcast.net>
+
+       * intrinsic.texi: s/floor/float in previous commit.
+
+2006-03-28 Paul Thomas <pault@gcc.gnu.org>
+
+       PR fortran/26779
+       *resolve.c (resolve_fl_procedure): Do not check the access of
+       derived types for internal procedures.
+
+2006-03-27  Jakub Jelinek  <jakub@redhat.com>
+
+       * io.c (check_io_constraints): Don't look at
+       dt->advance->value.charater.string, unless it is a CHARACTER
+       constant.
+
+       * f95-lang.c (gfc_get_alias_set): New function.
+       (LANG_HOOKS_GET_ALIAS_SET): Define.
+
+2006-03-25  Steven G. Kargl  <kargls@comcast.net>
+
+       PR fortran/26816
+       * intrinsic.c (add_functions): Allow FLOAT to accept all integer kinds.
+       * intrinsic.texi: Document FLOAT.
+
+2006-03-25  Thomas Koenig  <Thomas.Koenig@online.de>
+
+       PR fortran/26769
+       * iresolve.c (gfc_resolve_reshape):  Remove doubling of
+       kind for complex. For real(kind=10), call reshape_r10.
+       (gfc_resolve_transpose):  For real(kind=10), call
+       transpose_r10.
+
+2006-03-25  Roger Sayle  <roger@eyesopen.com>
+
+       * dependency.c (gfc_check_dependency): Improve handling of pointers;
+       Two variables of different types can't have a dependency, and two
+       variables with the same symbol are equal, even if pointers.
+
+2006-03-24  Roger Sayle  <roger@eyesopen.com>
+
+       * gfortran.h (gfc_symbol): Add a new "forall_index" bit field.
+       * match.c (match_forall_iterator): Set forall_index field on
+       the iteration variable's symbol.
+       * dependency.c (contains_forall_index_p): New function to
+       traverse a gfc_expr to check whether it contains a variable
+       with forall_index set in it's symbol.
+       (gfc_check_element_vs_element): Return GFC_DEP_EQUAL for scalar
+       constant expressions that don't variables used as FORALL indices.
+
+2006-03-22  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
+
+       PR driver/22600
+       * error.c (gfc_fatal_error): Return ICE_EXIT_CODE instead of 4.
+
+2006-03-22  Thomas Koenig  <Thomas.Koenig@online.de>
+
+       PR fortran/19303
+       * gfortran.h (gfc_option_t):  Add record_marker.
+       * lang.opt:  Add -frecord-marker=4 and -frecord-marker=8.
+       * trans-decl.c:  Add gfor_fndecl_set_record_marker.
+       (gfc_build_builtin_function_decls): Set
+       gfor_fndecl_set_record_marker.
+       (gfc_generate_function_code):  If we are in the main program
+       and -frecord-marker was provided, call set_record_marker.
+       * options.c (gfc_handle_option):  Add handling for
+       -frecord-marker=4 and -frecord-marker=8.
+       * invoke.texi:  Document -frecord-marker.
+
+2006-03-22  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/17298
+       * trans-intrinsic.c (gfc_conv_intrinsic_array_transfer): New
+       function to implement array valued TRANSFER intrinsic.
+       (gfc_conv_intrinsic_function): Call the new function if TRANSFER
+       and non-null se->ss.
+       (gfc_walk_intrinsic_function): Treat TRANSFER as one of the
+       special cases by calling gfc_walk_intrinsic_libfunc directly.
+
+2006-03-21  Toon Moene  <toon@moene.indiv.nluug.nl>
+
+       * options.c (gfc_init_options): Initialize
+       flag_argument_noalias to 3.
+
+2006-03-20  Thomas Koenig  <Thomas.Koenig@online.de>
+
+       PR fortran/20935
+       * iresolve.c (gfc_resolve_maxloc):   If mask is scalar,
+       prefix the function name with an "s".  If the mask is scalar
+       or if its kind is smaller than gfc_default_logical_kind,
+       coerce it to default kind.
+       (gfc_resolve_maxval):  Likewise.
+       (gfc_resolve_minloc):  Likewise.
+       (gfc_resolve_minval):  Likewise.
+       (gfc_resolve_product):  Likewise.
+       (gfc_resolve_sum):  Likewise.
+
+2006-03-19  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/26741
+       *expr.c (external_spec_function): Permit elemental functions.
+
+       PR fortran/26716
+       *interface.c (compare_actual_formal): Detect call for procedure
+       usage and require rank checking, in this case, for assumed shape
+       and deferred shape arrays.
+       (gfc_procedure_use): Revert to pre-PR25070 call to
+       compare_actual_formal that does not require rank checking..
+
+2006-03-16  Roger Sayle  <roger@eyesopen.com>
+
+       * gfortran.h (gfc_equiv_info): Add length field.
+       * trans-common.c (copy_equiv_list_to_ns): Set the length field.
+       * dependency.c (gfc_are_equivalenced_arrays): Use both the offset
+       and length fields to determine whether the two equivalenced symbols
+       overlap in memory.
+
+2006-03-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR fortran/19101
+       * gfortran.h: Add warn_ampersand.
+       * invoke.texi: Add documentation for new option.
+       * lang.opt: Add Wampersand.
+       * options.c (gfc_init_options): Initialize warn_ampersand.
+       (gfc_post_options): Set the warn if pedantic.
+       (set_Wall): Set warn_ampersand.
+       (gfc_handle_option: Add Wampersand for itself, -std=f95, and -std=f2003.
+       * scanner.c (gfc_next_char_literal): Add test for missing '&' in
+       continued character constant and give warning if missing.
+
+2006-03-14  Steven G. Kargl  <kargls@comcast.net>
+
+       PR 18537
+       * gfortran.h: Wrap Copyright line.
+       (gfc_option_t): add warn_tabs member.
+       * lang.opt: Update Coyright year.  Add the Wtabs.
+       * invoke.texi: Document -Wtabs.
+       * scanner.c (gfc_gobble_whitespace): Use warn_tabs.  Add linenum to
+       suppress multiple warnings.
+       (load_line): Use warn_tabs.  Add linenum, current_line, seen_comment
+       to suppress multiple warnings.
+       * options.c (gfc_init_options): Initialize warn_tabs.
+       (set_Wall): set warn_tabs for -Wall.
+       (gfc_post_options): Adjust flag_tabs depending on -pedantic.
+       (gfc_handle_option):  Process command-line option -W[no-]tabs
+
+2006-03-13  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/25378
+       * trans-intrinsic.c (gfc_conv_intrinsic_minmaxloc): Set the initial position to zero and
+       modify the condition for updating it, to implement the F2003 requirement for all(mask)
+       is false.
+
+2006-03-13  Jakub Jelinek  <jakub@redhat.com>
+
+       * trans-openmp.c (gfc_trans_omp_variable): Handle references
+       to parent result.
+       * trans-expr.c (gfc_conv_variable): Remove useless setting
+       of parent_flag, formatting.
+
+       * trans-decl.c (gfc_get_fake_result_decl): Re-add setting of
+       GFC_DECL_RESULT flag.
+
+2003-03-11  Roger Sayle  <roger@eyesopen.com>
+
+       * dependency.c (gfc_dep_compare_expr) <EXPR_OP>: Allow unary and
+       binary operators to compare equal if their operands are equal.
+       <EXPR_FUNCTION>: Allow "constant" intrinsic conversion functions
+       to compare equal, if their operands are equal.
+
 2006-03-11  Erik Edelmann  <eedelman@gcc.gnu.org>
 
        * symbol.c (check_conflict): Allow allocatable function results,
-         except for elemental functions.
+       except for elemental functions.
        * trans-array.c (gfc_trans_allocate_temp_array): Rename to ...
-         (gfc_trans_create_temp_array): ... this, and add new argument
-         callee_alloc.
-         (gfc_trans_array_constructor, gfc_conv_loop_setup): Update call
-         to gfc_trans_allocate_temp_array.
+       (gfc_trans_create_temp_array): ... this, and add new argument
+       callee_alloc.
+       (gfc_trans_array_constructor, gfc_conv_loop_setup): Update call
+       to gfc_trans_allocate_temp_array.
        * trans-array.h (gfc_trans_allocate_temp_array): Update prototype.
        * trans-expr.c (gfc_conv_function_call): Use new arg of
-         gfc_trans_create_temp_array avoid pre-allocation of temporary
-         result variables of pointer AND allocatable functions.
-         (gfc_trans_arrayfunc_assign): Return NULL for allocatable
-         functions.
+       gfc_trans_create_temp_array avoid pre-allocation of temporary
+       result variables of pointer AND allocatable functions.
+       (gfc_trans_arrayfunc_assign): Return NULL for allocatable
+       functions.
        * resolve.c (resolve_symbol): Copy value of 'allocatable' attribute
-         from sym->result to sym.
+       from sym->result to sym.
 
 2006-03-09  Erik Edelmann  <eedelman@gcc.gnu.org>