re PR libfortran/30533 ([4.1 only] minval, maxval missing for kind=1 and kind=2)
[gcc.git] / gcc / fortran / ChangeLog
index 86a56529ba805bfa2a25e9e6c409264e7a897116..1f2f26ae5dd4e99a177f6f6d159ab91506c3cad3 100644 (file)
@@ -1,3 +1,133 @@
+2007-02-19  Thomas Koenig  <Thomas.Koenig@online.de>
+
+       PR libfortran/30533
+       * fortran/iresolve.c(gfc_resolve_maxloc):  Remove coercion of
+       argument to default integer.
+       (gfc_resolve_minloc):  Likewise.
+
+2007-02-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR fortran/30681
+       * options.c (gfc_init_options): Relax warning level for obsolescent.
+       * match.c (match_arithmetic_if): Change to obsolescent from deleted.
+       (gfc_match_if): Same.
+
+2007-02-18  Roger Sayle  <roger@eyesopen.com>
+
+       * trans-array.c (gfc_build_constant_array_constructor): When the
+       shape of the constructor is known, use that to construct the
+       gfc_array_spec.
+       (gfc_trans_constant_array_constructor): Initialize the "info"
+       information for all of the dimensions of the array constructor.
+       (constant_array_constructor_loop_size): New function.
+       (gfc_trans_array_constructor): Use it to determine whether a
+       loop is suitable for "constant array constructor" optimization.
+
+       * trans-intrinsic.c (gfc_conv_intrinsic_anyall): Use fold_build2
+       instead of build2, to avoid conditions like "(a != b) != 0".
+
+2007-02-18  Roger Sayle  <roger@eyesopen.com>
+           Paul Thomas <pault@gcc.gnu.org>
+
+        PR fortran/30400
+        * match.c (match_forall_iterator): Use gfc_match_expr instead
+       of gfc_match_variable to match the iterator variable.  Return
+       MATCH_NO if not a variable.  Remove the reset of the symbol's
+       flavor in cleanup.
+
+2007-02-16  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/30793
+       * trans-decl.c (gfc_generate_function_code): Do not initialize
+       pointers to derived components.
+
+2007-02-15  Sandra Loosemore  <sandra@codesourcery.com>
+           Brooks Moses  <brooks.moses@codesourcery.com>
+           Lee Millward  <lee.millward@codesourcery.com>
+
+       * trans-expr.c (gfc_conv_power_op): Use build_call_expr.
+       (gfc_conv_string_tmp): Likewise.
+       (gfc_conv_concat_op): Likewise.
+       (gfc_build_compare_string): Likewise.
+       (gfc_conv_function_call): Use build_call_list instead of build3.
+
+       * trans-array.c (gfc_trans_allocate_array_storage): Use
+       build_call_expr.
+       (gfc_grow_array): Likewise.
+       (gfc_trans_array_ctor_element): Likewise.
+       (gfc_trans_array_constructor_value): Likewise.
+       (gfc_array_allocate): Likewise.
+       (gfc_array_deallocate): Likewise.
+       (gfc_trans_auto_array_allocation): Likewise.
+       (gfc_trans_dummy_array_bias): Likewise.
+       (gfc_conv_array_parameter): Likewise.
+       (gfc_trans_dealloc_allocated): Likewise.
+       (gfc_duplicate_allocatable): Likewise.
+
+       * trans-openmp.c (gfc_trans_omp_barrier): Use build_call_expr.
+       (gfc_trans_omp_flush): Likewise.
+
+       * trans-stmt.c (gfc_conv_elementel_dependencies): Use build_call_expr.
+       (gfc_trans_pause): Likewise.
+       (gfc_trans_stop): Likewise.
+       (gfc_trans_character_select): Likewise.
+       (gfc_do_allocate): Likewise.
+       (gfc_trans_assign_need_temp): Likewise.
+       (gfc_trans_pointer_assign_need_temp): Likewise.
+       (gfc_trans_forall_1): Likewise.
+       (gfc_trans_where_2): Likewise.
+       (gfc_trans_allocate): Likewise.
+       (gfc_trans_deallocate): Likewise.
+
+       * trans.c (gfc_trans_runtime_check): Use build_call_expr.
+
+       * trans-io.c (gfc_trans_open): Use build_call_expr.
+       (gfc_trans_close): Likewise.
+       (build_filepos): Likewise.
+       (gfc_trans_inquire): Likewise.
+       (NML_FIRST_ARG): Delete.
+       (NML_ADD_ARG): Delete.
+       (transfer_namelist_element): Use build_call_expr.
+       (build_dt): Likewise.
+       (gfc_trans_dt_end): Likewise.
+       (transfer_expr): Likewise.
+       (transfer_array-desc): Likewise.
+
+       * trans-decl.c (gfc_generate_function_code): Use build_call_expr.
+       (gfc_generate_constructors): Likewise.
+
+       * trans-intrinsic.c (gfc_conv_intrinsic_ctime): Use build_call_expr.
+       (gfc_conv_intrinsic_fdate): Likewise.
+       (gfc_conv_intrinsic_ttynam): Likewise.
+       (gfc_conv_intrinsic_array_transfer): Likewise.
+       (gfc_conv_associated): Likewise.
+       (gfc_conv_intrinsic_si_kind): Likewise.
+       (gfc_conv_intrinsic_trim): Likewise.
+       (gfc_conv_intrinsic_repeat: Likewise.
+       (gfc_conv_intrinsic_iargc): Likewise.
+
+2007-02-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR fortran/30779
+       * scanner.c (gfc_next_char_literal): Add check for end of file after
+       call to advance_line.
+
+2007-02-14  Steven G. Kargl  <kargl@gcc.gnu.org>
+
+       PR fortran/30799
+       * primary.c (match_logical_constant): Return MATCH_ERROR on invalid
+       kind.
+
+2007-02-14  Steven G. Kargl  <kargl@gcc.gnu.org>
+
+       * misc.c (gfc_typename): Fix potential buffer overflow.
+
+2007-02-13  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/30554
+       * module.c (read_module): Set pointer_info to referenced if the
+       symbol has no namespace.
+
 2007-02-12  Nick Clifton  <nickc@redhat.com>
 
        * lang.opt:  Add Warning attribute to warning options.