]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/fortran/ChangeLog
Daily bump.
[thirdparty/gcc.git] / gcc / fortran / ChangeLog
index 19da5ba9543a37821e947826eac2d044692fda8e..d937291cbbcfc1181cf87c9d04cf8110d0685f92 100644 (file)
@@ -1,3 +1,116 @@
+2023-11-28  Andrew Jenner  <andrew@codesourcery.com>
+           Tobias Burnus   <tobias@codesourcery.com>
+
+       PR fortran/110415
+       * trans-expr.cc (trans_class_vptr_len_assignment): Add
+       from_vptrp parameter. Populate it. Don't check for DECL_P
+       when deciding whether to create temporary.
+       (trans_class_pointer_fcn, gfc_trans_pointer_assignment): Add
+       NULL argument to trans_class_vptr_len_assignment calls.
+       (trans_class_assignment): Get rhs_vptr from
+       trans_class_vptr_len_assignment and use it for determining size
+       for allocation/reallocation. Use return value from realloc.
+
+2023-11-26  Harald Anlauf  <anlauf@gmx.de>
+
+       PR fortran/111880
+       * resolve.cc (resolve_common_vars): Do not call gfc_add_in_common
+       for symbols that are USE associated or used in a submodule.
+
+2023-11-24  Tobias Burnus  <tobias@codesourcery.com>
+
+       * lang.opt (Wopenmp): Add, enabled by dafault and documented in C.
+       * openmp.cc (gfc_match_omp_declare_target, resolve_positive_int_expr,
+       resolve_nonnegative_int_expr, resolve_omp_clauses,
+       gfc_resolve_omp_do_blocks): Use OPT_Wopenmp with gfc_warning{,_now}.
+
+2023-11-24  Tobias Burnus  <tobias@codesourcery.com>
+
+       * openmp.cc (gfc_match_omp_depobj): Accept optionally an argument
+       to the destroy clause.
+
+2023-11-23  Harald Anlauf  <anlauf@gmx.de>
+
+       PR fortran/112609
+       * check.cc (gfc_check_system_clock): Add checks on integer arguments
+       to SYSTEM_CLOCK specific to F2023.
+       * error.cc (notify_std_msg): Adjust to handle new features added
+       in F2023.
+       * gfortran.texi (_gfortran_set_options): Document GFC_STD_F2023_DEL,
+       remove obsolete option GFC_STD_F2008_TS and fix enumeration values.
+       * libgfortran.h (GFC_STD_F2023_DEL): Add and use in GFC_STD_OPT_F23.
+       * options.cc (set_default_std_flags): Add GFC_STD_F2023_DEL.
+
+2023-11-17  Tobias Burnus  <tobias@codesourcery.com>
+
+       * gfortran.texi (_gfortran_set_options): Document GFC_STD_F2023.
+       * invoke.texi (std,pedantic,Wampersand,Wtabs): Add -std=2023.
+       * lang.opt (std=f2023): Add.
+       * libgfortran.h (GFC_STD_F2023, GFC_STD_OPT_F23): Add.
+       * options.cc (set_default_std_flags): Add GFC_STD_F2023.
+       (gfc_init_options): Set max_continue_free to 1,000,000.
+       (gfc_post_options): Set flag_free_line_length if unset.
+       (gfc_handle_option): Add OPT_std_f2023, set max_continue_free = 255
+       for -std=f2003, f2008 and f2018.
+
+2023-11-14  David Malcolm  <dmalcolm@redhat.com>
+
+       * error.cc (gfc_diagnostics_init): Use diagnostic_start_span.
+
+2023-11-07  Joseph Myers  <joseph@codesourcery.com>
+
+       * gfortran.h (gfc_real_info): Refer to C23 instead of C2X in
+       comment.
+
+2023-11-06  Martin Jambor  <mjambor@suse.cz>
+
+       * trans-decl.cc (gfc_build_builtin_function_decls): Fix fnspec of
+       generate_error.
+
+2023-11-04  David Malcolm  <dmalcolm@redhat.com>
+
+       * cpp.cc: Update for changes to diagnostic_context.
+       * error.cc: Likewise.
+       * options.cc: Likewise.
+
+2023-11-03  Harald Anlauf  <anlauf@gmx.de>
+
+       PR fortran/97245
+       * match.cc (gfc_match_call): If a procedure pointer has already been
+       resolved, do not create a new symbol in a procedure reference of
+       the same name shadowing the first one if it is host-associated.
+
+2023-11-03  Harald Anlauf  <anlauf@gmx.de>
+
+       PR fortran/92887
+       * trans-expr.cc (conv_cond_temp): Helper function for creation of a
+       conditional temporary.
+       (gfc_conv_procedure_call): Handle passing of allocatable or pointer
+       actual argument to dummy with OPTIONAL + VALUE attribute.  Actual
+       arguments that are not allocated or associated are treated as not
+       present.
+
+2023-11-03  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/98498
+       * interface.cc (upoly_ok): Defined operators using unlimited
+       polymorphic formal arguments must not override the intrinsic
+       operator use.
+
+2023-11-02  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/112316
+       * parse.cc (parse_associate): Remove condition that caused this
+       regression.
+
+2023-10-30  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/104555
+       * resolve.cc (resolve_select_type): If the selector expression
+       has no class component references and the expression is a
+       derived type, copy the typespec of the symbol to that of the
+       expression.
+
 2023-10-27  Harald Anlauf  <anlauf@gmx.de>
            Steven G. Kargl  <kargl@gcc.gnu.org>