diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b94bb620721ef26a3e375e2f9744b85cf7efbcd3..51cb9ec39c483353c872e4223deb1e463dd8fa6a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,148 @@ +2022-06-24 Jason Merrill <jason@redhat.com> + + PR c++/87729 + PR c++/20423 + * doc/invoke.texi: Document changes. + +2022-06-24 Iain Buclaw <ibuclaw@gdcproject.org> + + * config/tilepro/gen-mul-tables.cc (tilegx_emit): Adjust loop + condition to avoid overflow. + +2022-06-24 Will Schmidt <will_schmidt@vnet.ibm.com> + + * config/rs6000/aix71.h (MASK_PPC_GPOPT, MASK_PPC_GFXOPT): Replace with + OPTION_MASK_PPC_GPOPT, OPTION_MASK_PPC_GFXOPT. + * config/rs6000/darwin.h (MASK_PPC_GFXOPT): Replace with + OPTION_MASK_PPC_GFXOPT. + * config/rs6000/darwin64-biarch.h (MASK_PPC_GFXOPT): Same. + * config/rs6000/default64.h (MASK_PPC_GPOPT, MASK_PPC_GFXOPT): Replace with + OPTION_MASK_PPC_GPOPT, OPTION_MASK_PPC_GFXOPT. + * config/rs6000/rs6000-c.cc: Update comment. + * config/rs6000/rs6000-cpus.def: Update RS6000_CPU macro calls. + * config/rs6000/rs6000.cc (rs6000_darwin_file_start): Replace + MASK_PPC_GPOPT with OPTION_MASK_PPC_GPOPT. + (rs6000_builtin_mask_names): Replace MASK_PPC_GFXOPT, MASK_POPCNTB + with OPTION_MASK_PPC_GFXOPT, OPTION_MASK_POPCNTB. + * config/rs6000/rs6000.h: (MASK_P8_VECTOR, MASK_P9_VECTOR, + MASK_P9_MISC, MASK_POPCNTB, MASK_POPCNTD, MASK_PPC_GFXOPT, + MASK_PPC_GPOPT, MASK_RECIP_PRECISION, MASK_SOFT_FLOAT, + MASK_VSX, MASK_POWER10, MASK_P10_FUSION): Delete. + +2022-06-24 Will Schmidt <will_schmidt@vnet.ibm.com> + + * config/rs6000/aix71.h (TARGET_DEFAULT): Replace MASK_MFCRF with + OPTION_MASK_MFCRF. + * config/rs6000/darwin.h (TARGET_DEFAULT): Replace MASK_MULTIPLE with + OPTION_MASK_MULTIPLE. + * config/rs6000/darwin64-biarch.h (TARGET_DEFAULT): Same. + * config/rs6000/default64.h (TARGET_DEFAULT): Replace MASK_MFCRF with + OPTION_MASK_MFCRF. + * config/rs6000/eabi.h (TARGET_DEFAULT): Replace MASK_EABI with + OPTION_MASK_EABI. + * config/rs6000/eabialtivec.h (TARGET_DEFAULT): Same. + * config/rs6000/linuxaltivec.h (TARGET_DEFAULT): Replace + MASK_ALTIVEC with OPTION_MASK_ALTIVEC. + * config/rs6000/rs6000-cpus.def (MASK_ALTIVEC, MASK_CMPB, + MASK_CRYPTO, MASK_DFP, MASK_DIRECT_MOVE, MASK_DLMZB, MASK_EABI, + MASK_FLOAT128_KEYWORD, MASK_FLOAT128_HW, MASK_FPRND, + MASK_P8_FUSION, MASK_HARD_FLOAT, MASK_HTM, MASK_ISEL, MASK_MFCRF, + MASK_MMA, MASK_MULHW, MASK_MULTIPLE, MASK_NO_UPDATE): + Replace with + OPTION_MASK_ALTIVEC, OPTION_MASK_CMPB, OPTION_MASK_CRYPTO, + OPTION_MASK_DFP, OPTION_MASK_DIRECT_MOVE, OPTION_MASK_DLMZB, + OPTION_MASK_EABI, OPTION_MASK_FLOAT128_KEYWORD, + OPTION_MASK_FLOAT128_HW, OPTION_MASK_FPRND, OPTION_MASK_P8_FUSION, + OPTION_MASK_HARD_FLOAT, OPTION_MASK_HTM, OPTION_MASK_ISEL, + OPTION_MASK_MFCRF, OPTION_MASK_MMA, OPTION_MASK_MULHW, + OPTION_MASK_MULTIPLE, OPTION_MASK_NO_UPDATE. + * config/rs6000/rs6000.cc (rs6000_darwin_file_start): Replace + MASK_MFCRF, MASK_ALTIVEC with OPTION_MASK_MFCRF, OPTION_MASK_ALTIVEC. + * config/rs6000/rs6000.h (TARGET_DEFAULT): Replace MASK_MULTIPLE + with OPTION_MASK_MULTIPLE. + (MASK_ALTIVEC, MASK_CMPB, MASK_CRYPTO, MASK_DFP, + MASK_DIRECT_MOVE, MASK_DLMZB, MASK_EABI, MASK_FLOAT128_KEYWORD, + MASK_FLOAT128_HW, MASK_FPRND, MASK_P8_FUSION, MASK_HARD_FLOAT, + MASK_HTM, MASK_ISEL, MASK_MFCRF, MASK_MMA, MASK_MULHW, + MASK_MULTIPLE, MASK_NO_UPDATE): Delete. + * config/rs6000/vxworks.h (TARGET_DEFAULT): Replace MASK_EABI + with OPTION_MASK_EABI. + +2022-06-24 Will Schmidt <will_schmidt@vnet.ibm.com> + + * config/rs6000/rs6000.cc (RS6000_BTM_ALTIVEC, RS6000_BTM_CMPB, + RS6000_BTM_VSX, RS6000_BTM_FRE, RS6000_BTM_P8_VECTOR, + RS6000_BTM_P9_VECTOR, RS6000_BTM_P9_MISC, RS6000_BTM_MODULO, + RS6000_BTM_CRYPTO, RS6000_BTM_HTM): Replace with OPTION_MASK_ALTIVEC, + OPTION_MASK_CMPB, OPTION_MASK_VSX, OPTION_MASK_POPCNTB, + OPTION_MASK_P8_VECTOR, OPTION_MASK_P9_VECTOR, OPTION_MASK_P9_MISC, + OPTION_MASK_MODULO, OPTION_MASK_CRYPTO, OPTION_MASK_HTM. + * config/rs6000/rs6000.h (RS6000_BTM_MODULO, RS6000_BTM_ALTIVEC, + RS6000_BTM_CMPB, RS6000_BTM_VSX, RS6000_BTM_P8_VECTOR, + RS6000_BTM_P9_VECTOR, RS6000_BTM_P9_MISC, RS6000_BTM_CRYPTO, + RS6000_BTM_HTM, RS6000_BTM_FRE): Remove. + +2022-06-24 Will Schmidt <will_schmidt@vnet.ibm.com> + + * config/rs6000/rs6000-c.cc: Update comments. + * config/rs6000/rs6000.cc (RS6000_BTM_FRES, RS6000_BTM_FRSQRTE, + RS6000_BTM_FRSQRTES, RS6000_BTM_POPCNTD, RS6000_BTM_CELL, + RS6000_BTM_64BIT, RS6000_BTM_POWERPC64, RS6000_BTM_DFP, + RS6000_BTM_HARD_FLOAT,RS6000_BTM_LDBL128, RS6000_BTM_FLOAT128, + RS6000_BTM_FLOAT128_HW, RS6000_BTM_MMA, RS6000_BTM_P10): Replace + with OPTION_MASK_PPC_GFXOPT, OPTION_MASK_PPC_GFXOPT, + OPTION_MASK_POPCNTB, OPTION_MASK_POPCNTD, + OPTION_MASK_FPRND, MASK_64BIT, MASK_POWERPC64, + OPTION_MASK_DFP, OPTION_MASK_SOFT_FLOAT, OPTION_MASK_MULTIPLE, + OPTION_MASK_FLOAT128_KEYWORD, OPTION_MASK_FLOAT128_HW, + OPTION_MASK_MMA, OPTION_MASK_POWER10. + * config/rs6000/rs6000.h (RS6000_BTM_FRES, RS6000_BTM_FRSQRTE, + RS6000_BTM_FRSQRTES, RS6000_BTM_POPCNTD, RS6000_BTM_CELL, + RS6000_BTM_DFP, RS6000_BTM_HARD_FLOAT, RS6000_BTM_LDBL128, + RS6000_BTM_64BIT, RS6000_BTM_POWERPC64, RS6000_BTM_FLOAT128, + RS6000_BTM_FLOAT128_HW, RS6000_BTM_MMA, RS6000_BTM_P10): Delete. + +2022-06-24 Will Schmidt <will_schmidt@vnet.ibm.com> + + * config/rs6000/rs6000.h (RS6000_BTM_COMMON, RS6000_BTM_ALWAYS, + MASK_REGNAMES, OPTION_MASK_REGNAMES, MASK_PROTOTYPE, + OPTION_MASK_PROTOTYPE, MASK_UPDATE, OPTION_MASK_UPDATE): Remove. + +2022-06-24 Richard Biener <rguenther@suse.de> + + PR middle-end/106070 + * match.pd (a != b ? a : b): Fix translation of + operand_equal_for_comparison_p. + +2022-06-24 Jan Hubicka <jh@suse.cz> + + PR ipa/106057 + * tree-ssa-alias.cc (stmt_kills_ref_p): Check for external throw. + +2022-06-24 Martin Liska <mliska@suse.cz> + + PR middle-end/106059 + * profile-count.h: *= and /= operators need to modify this + object. + +2022-06-24 Roger Sayle <roger@nextmovesoftware.com> + Uroš Bizjak <ubizjak@gmail.com> + + PR target/105930 + * config/i386/i386.md (*<any_or>di3_doubleword): Split after + reload. Use rtx_equal_p to avoid creating memory-to-memory moves, + and emit NOTE_INSN_DELETED if operand[2] is zero (i.e. with -O0). + +2022-06-24 Alexandre Oliva <oliva@adacore.com> + + * common.opt (nostdlib++): New. + * doc/invoke.texi (-nostdlib++): Document it. + +2022-06-24 Alexandre Oliva <oliva@adacore.com> + + * doc/sourcebuild.texi (Environment attributes): Document + two_plus_gigs. + 2022-06-23 David Malcolm <dmalcolm@redhat.com> * common.opt (fdiagnostics-show-rules): New option. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 4956361582c0c66561c2060379cb1fa68d776586..e66783e036744024affdd3ad5863644bb23391fb 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20220624 +20220625 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index f69a5b68b42065c8da852764bb08d5ea7e88aafa..bf58d575e4dcd6f5589f6ee1c653d6b916060502 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,126 @@ +2022-06-24 David Malcolm <dmalcolm@redhat.com> + + * call-string.cc: Add includes of "analyzer/analyzer.h" + and "analyzer/analyzer-logging.h". + (call_string::call_string): Delete copy ctor. + (call_string::operator=): Delete. + (call_string::operator==): Delete. + (call_string::hash): Delete. + (call_string::push_call): Make const, returning the resulting + call_string. + (call_string::pop): Delete. + (call_string::cmp_ptr_ptr): New. + (call_string::validate): Assert that m_parent is non-NULL, or + m_elements is empty. + (call_string::call_string): Move default ctor here from + call-string.h and reimplement. Add ctor taking a parent + and an element. + (call_string::~call_string): New. + (call_string::recursive_log): New. + * call-string.h (call_string::call_string): Move default ctor's + defn to call-string.cc. Delete copy ctor. Add ctor taking a + parent and an element. + (call_string::operator=): Delete. + (call_string::operator==): Delete. + (call_string::hash): Delete. + (call_string::push_call): Make const, returning the resulting + call_string. + (call_string::pop): Delete decl. + (call_string::get_parent): New. + (call_string::cmp_ptr_ptr): New decl. + (call_string::get_top_of_stack): New. + (struct call_string::hashmap_traits_t): New. + (class call_string): Add friend class region_model_manager. Add + DISABLE_COPY_AND_ASSIGN. + (call_string::~call_string): New decl. + (call_string::recursive_log): New decl. + (call_string::m_parent): New field. + (call_string::m_children): New field. + * constraint-manager.cc (selftest::test_many_constants): Pass + model manager to program_point::origin. + * engine.cc (exploded_graph::exploded_graph): Likewise. + (exploded_graph::add_function_entry): Likewise for + program_point::from_function_entry. + (add_tainted_args_callback): Likewise. + (exploded_graph::maybe_process_run_of_before_supernode_enodes): + Update for change to program_point.get_call_string. + (exploded_graph::process_node): Likewise. + (class function_call_string_cluster): Convert m_cs from a + call_string to a const call_string &. + (struct function_call_string): Likewise. + (pod_hash_traits<function_call_string>::hash): Use pointer_hash + for m_cs. + (pod_hash_traits<function_call_string>::equal): Update for change + to m_cs. + (root_cluster::add_node): Update for change to + function_call_string. + (viz_callgraph_node::dump_dot): Update for change to call_string. + * exploded-graph.h (per_call_string_data::m_key): Convert to a + reference. + (struct eg_call_string_hash_map_traits): Delete. + (exploded_graph::call_string_data_map_t): Remove traits class. + * program-point.cc: Move include of "analyzer/call-string.h" to + after "analyzer/analyzer-logging.h". + (program_point::print): Update for conversion of m_call_string to + a pointer. + (program_point::to_json): Likewise. + (program_point::push_to_call_stack): Update for immutability of + call strings. + (program_point::pop_from_call_stack): Likewise. + (program_point::hash): Use pointer hashing for m_call_string. + (program_point::get_function_at_depth): Update for change to + m_call_string. + (program_point::validate): Update for changes to call_string. + (program_point::on_edge): Likewise. + (program_point::origin): Move here from call-string.h. Add + region_model_manager param and use it to get empty call string. + (program_point::from_function_entry): Likewise. + (selftest::test_function_point_ordering): Likewise. + (selftest::test_function_point_ordering): Likewise. + * program-point.h (program_point::program_point): Update for + change to m_call_string. + (program_point::get_call_string): Likewise. + (program_point::get_stack_depth): Likewise. + (program_point::origin): Add region_model_manager param, and move + defn to call-string.cc. + (program_point::from_function_entry): Likewise. + (program_point::empty): Drop call_string. + (program_point::deleted): Likewise. + (program_point::program_point): New private ctor. + (program_point::m_call_string): Convert from call_string to const + call_string *. + * program-state.cc (selftest::test_program_state_merging): Update + for call_string changes. + (selftest::test_program_state_merging_2): Likewise. + * region-model-manager.cc + (region_model_manager::region_model_manager): Construct + m_empty_call_string. + (region_model_manager::log_stats): Log the call strings. + * region-model.cc (assert_region_models_merge): Pass the + region_model_manager when creating program_point instances. + (selftest::test_state_merging): Likewise. + (selftest::test_constraint_merging): Likewise. + (selftest::test_widening_constraints): Likewise. + (selftest::test_iteration_1): Likewise. + * region-model.h (region_model_manager::get_empty_call_string): + New. + (region_model_manager::m_empty_call_string): New. + * sm-signal.cc (register_signal_handler::impl_transition): Update + for changes to call_string. + +2022-06-24 David Malcolm <dmalcolm@redhat.com> + + * call-string.cc (call_string::calc_recursion_depth): Whitespace + cleanups. + (call_string::cmp): Likewise. + (call_string::get_caller_node): Likewise. + (call_string::validate): Likewise. + * engine.cc (dynamic_call_info_t::add_events_to_path): Likewise. + (exploded_graph::get_per_function_data): Likewise. + (exploded_graph::maybe_create_dynamic_call): Likewise. + (exploded_graph::maybe_create_dynamic_call): Likewise. + (exploded_graph::process_node): Likewise. + 2022-06-16 David Malcolm <dmalcolm@redhat.com> * varargs.cc (va_arg_type_mismatch::emit): Associate the warning diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index a605c3c797eafe1c481a5f0a6f5e5e8a9cd527fb..8a22e7e92694be656a7065e2e1fa4d8ea75ed559 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,9 @@ +2022-06-24 Jason Merrill <jason@redhat.com> + + PR c++/87729 + PR c++/20423 + * c.opt (Woverloaded-virtual): Add levels, include in -Wall. + 2022-06-18 Jakub Jelinek <jakub@redhat.com> * c-ubsan.cc (ubsan_instrument_division, ubsan_instrument_shift): diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 7f5e29a088833013828358f1ea54b64cd725ea4d..a50f5eb047c55bd033b040ac45eb83a83ba1d38b 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,13 @@ +2022-06-24 Jason Merrill <jason@redhat.com> + + PR c++/87729 + PR c++/20423 + * class.cc (warn_hidden): Handle -Woverloaded-virtual=1. + +2022-06-24 Alexandre Oliva <oliva@adacore.com> + + * g++spec.cc (lang_specific_driver): Implement -nostdlib++. + 2022-06-23 Jason Merrill <jason@redhat.com> PR c++/105925 diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog index 618e987b6bffd884a4111ae14c74272e28011b6e..cea195e8925f3f06a838b1d0d8ef8876da8bfb07 100644 --- a/gcc/d/ChangeLog +++ b/gcc/d/ChangeLog @@ -1,3 +1,43 @@ +2022-06-24 Iain Buclaw <ibuclaw@gdcproject.org> + + * d-attribs.cc (d_handle_section_attribute): Update error message. + (d_handle_symver_attribute): Likewise. + (d_handle_no_sanitize_attribute): Likewise. + (d_handle_visibility_attribute): Likewise. + +2022-06-24 Iain Buclaw <ibuclaw@gdcproject.org> + + PR d/105413 + * d-attribs.cc (d_handle_register_attribute): New function. + (d_langhook_attribute_table): Add register attribute. + * d-codegen.cc (d_mark_addressable): Error if taken address of + register variable. + (build_frame_type): Error if register variable has non-local + references. + * d-tree.h (d_mark_addressable): Add complain parameter. + * decl.cc (get_symbol_decl): Mark register varibles DECL_REGISTER. + Error when register variable declared thread-local or extern. + * expr.cc (ExprVisitor::visit (IndexExp *)): Don't complain about + marking register vectors as addressable in an ARRAY_REF. + +2022-06-24 Iain Buclaw <ibuclaw@gdcproject.org> + + * d-codegen.cc (build_array_index): Rename to... + (build_pointer_index): ...this. + * d-tree.h (build_array_index): Rename declaration to... + (build_pointer_index): ...this. + * expr.cc (ExprVisitor::visit (IndexExp *)): Construct indexes of + ARRAY_TYPE using ARRAY_REF. + (ExprVisitor::visit (SliceExp *)): Update. + * intrinsics.cc (expand_intrinsic_bt): Update. + +2022-06-24 Iain Buclaw <ibuclaw@gdcproject.org> + + * dmd/MERGE: Merge upstream dmd 529110f66. + * decl.cc (DeclVisitor::visit (TupleDeclaration *)): Update for new + front-end interface. + * types.cc (layout_aggregate_members): Likewise. + 2022-06-22 Iain Buclaw <ibuclaw@gdcproject.org> * dmd/MERGE: Merge upstream dmd 6203135dc. diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index b6689441704490371f13f84987dd7dd5dd31708e..f89e0882e0a45d9efee53c26a4cb2a44505f18dc 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,10 @@ +2022-06-24 Harald Anlauf <anlauf@gmx.de> + + PR fortran/105813 + * check.cc (gfc_check_unpack): Try to simplify MASK argument to + UNPACK so that checking of the VECTOR argument can work when MASK + is a variable. + 2022-06-18 Harald Anlauf <anlauf@gmx.de> PR fortran/105986 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2704581f1a721c4758f4affeda1f1aa1765b1d4a..105a540d84e6382fced23d3aa8b88bce6e4d5442 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,66 @@ +2022-06-24 Jason Merrill <jason@redhat.com> + + PR c++/87729 + PR c++/20423 + * g++.dg/warn/Woverloaded-virt1.C: New test. + * g++.dg/warn/Woverloaded-virt2.C: New test. + +2022-06-24 Dimitar Dimitrov <dimitar@dinux.eu> + + * gcc.dg/debug/btf/btf-bitfields-1.c: Skip if int is less than + 32-bits. + +2022-06-24 Harald Anlauf <anlauf@gmx.de> + + PR fortran/105813 + * gfortran.dg/unpack_vector_1.f90: New test. + +2022-06-24 Dimitar Dimitrov <dimitar@dinux.eu> + + * gcc.dg/builtin-object-size-20.c: Remove cases which + work on default_packed targets. + * gcc.dg/builtin-object-size-22.c: New test with the cases + removed above. + +2022-06-24 Dimitar Dimitrov <dimitar@dinux.eu> + + * gcc.dg/sso/memcpy-1.c (__big_endian__, __little_endian__): + Rename macros to avoid conflicts with predefined ones. + +2022-06-24 Dimitar Dimitrov <dimitar@dinux.eu> + + PR tree-optimization/101868 + * gcc.dg/lto/pr101868_0.c (zero): New volatile variable. + (main): Use it instead of argc. + +2022-06-24 Iain Buclaw <ibuclaw@gdcproject.org> + + * gdc.dg/attr_section1.d: Update dg-error. + * gdc.dg/attr_visibility1.d: Likewise. + +2022-06-24 Iain Buclaw <ibuclaw@gdcproject.org> + + PR d/105413 + * gdc.dg/attr_register1.d: New test. + * gdc.dg/attr_register2.d: New test. + * gdc.dg/attr_register3.d: New test. + +2022-06-24 Richard Biener <rguenther@suse.de> + + PR middle-end/106070 + * gcc.dg/torture/pr106070.c: New testcase. + +2022-06-24 Alexandre Oliva <oliva@adacore.com> + + * g++.dg/abi/pure-virtual1.C: Use -nostdlib++. + +2022-06-24 Alexandre Oliva <oliva@adacore.com> + + * lib/target-supports.exp + (check_effective_target_two_plus_gigs): New. + * gcc.target/aarch64/symbol-range.c: Link only on + two_plus_gigs targets, compile otherwise. + 2022-06-23 Jason Merrill <jason@redhat.com> PR c++/105925 diff --git a/libphobos/ChangeLog b/libphobos/ChangeLog index 20935047ecb32b61d585efa5a83a10f2adfb02a2..8361a334ee62d43844474e249e808a7644c7d232 100644 --- a/libphobos/ChangeLog +++ b/libphobos/ChangeLog @@ -1,3 +1,12 @@ +2022-06-24 Iain Buclaw <ibuclaw@gdcproject.org> + + PR d/105413 + * libdruntime/gcc/attributes.d (register): Define. + +2022-06-24 Iain Buclaw <ibuclaw@gdcproject.org> + + * libdruntime/MERGE: Merge upstream druntime 148608b7. + 2022-06-22 Iain Buclaw <ibuclaw@gdcproject.org> * libdruntime/MERGE: Merge upstream druntime e150cca1. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index e210bdb814377d90f46e01da2f736d5dd30aa846..f153c81d61555673141d9ff338b2b593ca9fe1f4 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,121 @@ +2022-06-24 Xi Ruoyao <xry111@xry111.site> + + * scripts/extract_symvers.in: Use grep -E instead of egrep. + * scripts/run_doxygen: Likewise. + +2022-06-24 Alexandre Oliva <oliva@adacore.com> + + * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for + openat. + * configure, config.h.in: Rebuilt. + * src/filesystem/dir-common.h (openat): Use ::openat if + _GLIBCXX_HAVE_OPENAT. + * src/filesystem/dir.cc (dir_and_pathname): Use dirfd if + _GLIBCXX_HAVE_OPENAT. + +2022-06-24 Alexandre Oliva <oliva@adacore.com> + + * testsuite/27_io/filesystem/operations/rename.cc: xfail on + rtems. + * testsuite/experimental/filesystem/operations/rename.cc: + Likewise. + +2022-06-24 Alexandre Oliva <oliva@adacore.com> + + * testsuite/util/testsuite_fs.h (NO_LAST_WRITE_TIME): Define + when appropriate. + * testsuite/lib/libstdc++.exp + (check_v3_target_fs_last_write_time): New. + * testsuite/lib/dg-options.exp (dg-require-target-fs-lwt): + New. + * testsuite/27_io/filesystem/operations/last_write_time.cc: + Skip the test if the features are unavailable. + * testsuite/experimental/filesystem/operations/last_write_time.cc: + Likewise. + +2022-06-24 Alexandre Oliva <oliva@adacore.com> + + * testsuite/util/testsuite_fs.h (NO_SPACE): Define if + appropriate. + * testsuite/lib/libstdc++.exp (check_v3_target_fs_space): New. + * testsuite/lib/dg-options.exp (dg-require-target-fs-space): + New. + * testsuite/27_io/filesystem/operations/space.cc: Require + target-fs-space. + * testsuite/experimental/filesystem/operations/space.cc: + Likewise. + +2022-06-24 Alexandre Oliva <oliva@adacore.com> + + * testsuite/util/testsuite_fs.h (NO_SYMLINKS): Define on + mingw and when create_symlink is a dummy. + * testsuite/27_io/filesystem/operations/symlink_status.cc: + Drop mingw xfail. + (test01, test02): Don't create symlinks when NO_SYMLINKS is + defined. + * testsuite/27_io/filesystem/operations/canonical.cc (test03): + Likewise. + * testsuite/27_io/filesystem/operations/copy.cc (test02): + Likewise. + * testsuite/27_io/filesystem/operations/create_directories.cc + (test04): Likewise. + * testsuite/27_io/filesystem/operations/create_directory.cc + (test01): Likewise. + * testsuite/27_io/filesystem/operations/permissions.cc + (test03, test04): Likewise. + * testsuite/27_io/filesystem/operations/remove.cc (test01): + Likewise. + * testsuite/27_io/filesystem/operations/remove_all.cc (test01): + Likewise. + * testsuite/27_io/filesystem/operations/rename.cc + (test_symlinks): Likewise. + * testsuite/27_io/filesystem/operations/weakly_canonical.cc + (test01): Likewise. + * testsuite/experimental/filesystem/iterators/recursive_directory_iterator.cc + (test06): Likewise. + * testsuite/experimental/filesystem/operations/copy.cc + (test01): Likewise. + * testsuite/experimental/filesystem/operations/create_directories.cc + (test04): Likewise. + * testsuite/experimental/filesystem/operations/create_directory.cc + (test01): Likewise. + * testsuite/experimental/filesystem/operations/permissions.cc + (test03, test04): Likewise. + * testsuite/experimental/filesystem/operations/remove.cc + (test01): Likewise. + * testsuite/experimental/filesystem/operations/remove_all.cc + (test01): Likewise. + * testsuite/experimental/filesystem/operations/rename.cc + (test01): Likewise. + * testsuite/lib/libstdc++.exp + (v3_check_preprocessor_condition): Add optional inc parameter. + Add it to the test program after include bits/c++config.h. + (check_v3_target_fs_symlinks): New. + * testsuite/lib/dg-options.exp + (dg-require-target-fs-symlinks): New. + * testsuite/27_io/filesystem/operations/read_symlink.cc: + Replace mingw xfail with require target-fs-symlinks. + * testsuite/experimental/filesystem/operations/read_symlink.cc: + Likewise. + +2022-06-24 Alexandre Oliva <oliva@adacore.com> + + * testsuite/27_io/filesystem/operations/copy.cc (test02): + Select TO after creating FROM. + (test03, test04): Likewise. + * testsuite/experimental/filesystem/operations/copy.cc + (test02, test03, test04): Likewise. + +2022-06-24 Alexandre Oliva <oliva@adacore.com> + + * testsuite/30_threads/thread/native_handle/cancel.cc: Add an + explicit cancellation point in case sleep_for lacks one. + +2022-06-24 Alexandre Oliva <oliva@adacore.com> + + * testsuite/lib/dg-options.exp (add_options_for_net_ts): Add + -lbsd for RTEMS targets. + 2022-06-23 Jonathan Wakely <jwakely@redhat.com> * testsuite/27_io/filesystem/iterators/error_reporting.cc: Use