From: GCC Administrator Date: Fri, 13 Nov 2020 00:16:35 +0000 (+0000) Subject: Daily bump. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a5a115258afd6c0bdd8ff4c8071dcffbafb88186;p=gcc.git Daily bump. --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e515b380e7e..a180527b7c2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,156 @@ +2020-11-12 Nelson Chu + + * configure: Regenerated. + * configure.ac: If ifunc was supported in the binutils for + linux toolchain, then set enable_gnu_indirect_function to yes. + +2020-11-12 Joseph Myers + + * doc/cpp.texi (__has_attribute): Document when scopes are allowed + for C. + (__has_c_attribute): New. + +2020-11-12 Jakub Jelinek + + * builtin-types.def (BT_FN_PTR_SIZE_SIZE_PTRMODE): New function type. + * omp-builtins.def (BUILT_IN_GOACC_DECLARE): Move earlier. + (BUILT_IN_GOMP_ALLOC, BUILT_IN_GOMP_FREE): New builtins. + * gimplify.c (gimplify_scan_omp_clauses): Force allocator into a + decl if it is not NULL, INTEGER_CST or decl. + (gimplify_adjust_omp_clauses): Clear GOVD_EXPLICIT on explicit clauses + which are being removed. Remove allocate clauses for variables not seen + if they are private, firstprivate or linear too. Call + omp_notice_variable on the allocator otherwise. + (gimplify_omp_for): Handle iterator vars mentioned in allocate clauses + similarly to non-is_gimple_reg iterators. + * omp-low.c (struct omp_context): Add allocate_map field. + (delete_omp_context): Delete it. + (scan_sharing_clauses): Fill it from allocate clauses. Remove it + if mentioned also in shared clause. + (lower_private_allocate): New function. + (lower_rec_input_clauses): Handle allocate clause for privatized + variables, except for task/taskloop, C/C++ array reductions for now + and task/inscan variables. + (lower_send_shared_vars): Don't consider variables in allocate_map + as shared. + * omp-expand.c (expand_omp_for_generic, expand_omp_for_static_nochunk, + expand_omp_for_static_chunk): Use expand_omp_build_assign instead of + gimple_build_assign + gsi_insert_after. + * builtins.c (builtin_fnspec): Handle BUILTIN_GOMP_ALLOC and + BUILTIN_GOMP_FREE. + * tree-ssa-ccp.c (evaluate_stmt): Handle BUILTIN_GOMP_ALLOC. + * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Handle + BUILTIN_GOMP_ALLOC. + (mark_all_reaching_defs_necessary_1): Handle BUILTIN_GOMP_ALLOC + and BUILTIN_GOMP_FREE. + (propagate_necessity): Likewise. + +2020-11-12 Martin Jambor + + * cgraphclones.c (cgraph_node::materialize_clone): Check that clone + info is not NULL before attempting to dump it. + +2020-11-12 Martin Jambor + + * ipa-cp.c (class ipcp_value_base): Change the type of + local_time_benefit and prop_time_benefit to sreal. Adjust the + constructor initializer. + (ipcp_lattice::print): Dump sreals. + (struct caller_statistics): Change the type of freq_sum to sreal. + (gather_caller_stats): Work with sreal freq_sum. + (incorporate_penalties): Work with sreal evaluation. + (good_cloning_opportunity_p): Adjusted for sreal sreal time_benefit + and freq_sum. Bail out if size_cost is INT_MAX. + (perform_estimation_of_a_value): Work with sreal time_benefit. Avoid + unnecessary capping. + (estimate_local_effects): Pass sreal time benefit to + good_cloning_opportunity_p without capping it. Adjust dumping. + (safe_add): If there can be overflow, return INT_MAX. + (propagate_effects): Work with sreal times. + (get_info_about_necessary_edges): Work with sreal frequencies. + (decide_about_value): Likewise and with sreal time benefits. + +2020-11-12 Marek Polacek + + * system.h (WARN_UNUSED_RESULT): Define for GCC >= 3.4. + * tree.h (maybe_wrap_with_location): Add WARN_UNUSED_RESULT. + +2020-11-12 Jan Hubicka + + * fold-const.c (operand_compare::operand_equal_p): Compare field + offsets in operand_equal_p and OEP_ADDRESS_OF. + (operand_compare::hash_operand): Update. + +2020-11-12 Richard Biener + + * bitmap.c (bitmap_list_view): Restore head->current. + * tree-ssa-pre.c (pre_expr_DFS): Elide expr_visited bitmap. + Special-case value expression bitmaps with one element. + (bitmap_find_leader): Likewise. + (sorted_array_from_bitmap_set): Elide expr_visited bitmap. + +2020-11-12 Jan Hubicka + + * attr-fnspec.h: Update topleve comment. + (attr_fnspec::arg_direct_p): Accept 1...9. + (attr_fnspec::arg_maybe_written_p): Reject 1...9. + (attr_fnspec::arg_copied_to_arg_p): New member function. + * builtins.c (builtin_fnspec): Update fnspec of block copy. + * tree-ssa-alias.c (attr_fnspec::verify): Update. + +2020-11-12 Richard Biener + + * tree-ssa-pre.c (bitmap_value_replace_in_set): Return + whether we have changed anything. + (do_pre_regular_insertion): Get topologically sorted array + of expressions from caller. + (do_pre_partial_partial_insertion): Likewise. + (insert): Compute topologically sorted arrays of expressions + here and locally iterate actual insertion. Iterate only + when AVAIL_OUT of an already visited block source changed. + +2020-11-12 Alex Coplan + + PR target/97730 + * config/aarch64/aarch64-sve2.md (@aarch64_sve2_bcax): + Change to define_expand, add missing (trivially-predicated) not + rtx to fix wrong code bug. + (*aarch64_sve2_bcax): New. + +2020-11-12 Richard Biener + + PR tree-optimization/97806 + * tree-ssa-pre.c (pre_expr_DFS): New overload for visiting + values, visiting all leaders for a value. Use a bitmap + for visited values. + (sorted_array_from_bitmap_set): Walk over values and adjust. + +2020-11-12 Andreas Krebbel + + PR target/97326 + * config/s390/vector.md: Support vector floating point modes in + vec_cmp. + +2020-11-12 Andreas Krebbel + + * config/s390/vector.md: Rename tointvec to TOINTVEC. + * config/s390/vx-builtins.md: Likewise. + +2020-11-12 Jason Merrill + + PR debug/97060 + * dwarf2out.c (gen_subprogram_die): It's a declaration + if DECL_INITIAL isn't set. + +2020-11-12 David Malcolm + + PR tree-optimization/97424 + * doc/invoke.texi (Static Analyzer Options): Add + -Wno-analyzer-shift-count-negative and + -Wno-analyzer-shift-count-overflow. + (-Wno-analyzer-shift-count-negative): New. + (-Wno-analyzer-shift-count-overflow): New. + 2020-11-11 Iain Sandoe * config/darwin-protos.h (darwin_make_eh_symbol_indirect): New. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 95634e06f0d..b84a76f5a25 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20201112 +20201113 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 143f2f8b913..f0dd2708d1f 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,38 @@ +2020-11-12 David Malcolm + + * checker-path.h (checker_event::get_id_ptr): New. + * diagnostic-manager.cc (path_builder::path_builder): Add "sd" + param and use it to initialize new field "m_sd". + (path_builder::get_pending_diagnostic): New. + (path_builder::m_sd): New field. + (diagnostic_manager::emit_saved_diagnostic): Pass sd to + path_builder ctor. + (diagnostic_manager::add_events_for_superedge): Call new + maybe_add_custom_events_for_superedge vfunc. + * engine.cc (stale_jmp_buf::stale_jmp_buf): Add "setjmp_point" + param and use it to initialize new field "m_setjmp_point". + Initialize new field "m_stack_pop_event". + (stale_jmp_buf::maybe_add_custom_events_for_superedge): New vfunc + implementation. + (stale_jmp_buf::describe_final_event): New vfunc implementation. + (stale_jmp_buf::m_setjmp_point): New field. + (stale_jmp_buf::m_stack_pop_event): New field. + (exploded_node::on_longjmp): Pass setjmp_point to stale_jmp_buf + ctor. + * pending-diagnostic.h + (pending_diagnostic::maybe_add_custom_events_for_superedge): New + vfunc. + +2020-11-12 David Malcolm + + PR tree-optimization/97424 + * analyzer.opt (Wanalyzer-shift-count-negative): New. + (Wanalyzer-shift-count-overflow): New. + * region-model.cc (class shift_count_negative_diagnostic): New. + (class shift_count_overflow_diagnostic): New. + (region_model::get_gassign_result): Complain about shift counts that + are negative or are >= the operand's type's width. + 2020-11-10 Martin Liska * constraint-manager.cc (constraint_manager::merge): Remove diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 772b0f5a2ab..5761942c0b8 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,17 @@ +2020-11-12 Joseph Myers + + * c-lex.c (c_common_has_attribute): Take argument std_syntax. + Allow scope for C. Handle standard attributes for C. Do not + accept unscoped attributes if std_syntax and not handled as + standard attributes. + * c-common.h (c_common_has_attribute): Update prototype. + +2020-11-12 Nicholas Guriev + + PR pch/86674 + * c-pch.c (c_common_valid_pch): Use cpp_warning with CPP_W_INVALID_PCH + reason to fix -Werror=invalid-pch and -Wno-error=invalid-pch switches. + 2020-11-11 Patrick Palka PR c++/88115 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index babb45923e1..f514ceb7cc4 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,15 @@ +2020-11-13 Patrick Palka + + * semantics.c (finish_compound_literal): Don't wrap the original + compound literal in a TARGET_EXPR when inside a template. + +2020-11-12 Jakub Jelinek + + PR c++/97790 + * constexpr.c (cxx_eval_constant_expression) : Don't pass jump_target to + cxx_eval_constant_expression when evaluating the cleanups. + 2020-11-11 Iain Sandoe * parser.c (cp_parser_declaration): Unless we are compiling for diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 6eb6500143d..91b519dde94 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,24 @@ +2020-11-12 Jakub Jelinek + + * f95-lang.c (ATTR_ALLOC_WARN_UNUSED_RESULT_SIZE_2_NOTHROW_LIST): + Define. + (gfc_init_builtin_functions): Add alloc_size and warn_unused_result + attributes to __builtin_GOMP_alloc. + * types.def (BT_PTRMODE): New primitive type. + (BT_FN_VOID_PTR_PTRMODE, BT_FN_PTR_SIZE_SIZE_PTRMODE): New function + types. + +2020-11-12 Tobias Burnus + + PR fortran/97782 + * trans-openmp.c (gfc_trans_oacc_construct, gfc_trans_omp_parallel_do, + gfc_trans_omp_parallel_do_simd, gfc_trans_omp_parallel_sections, + gfc_trans_omp_parallel_workshare, gfc_trans_omp_sections + gfc_trans_omp_single, gfc_trans_omp_task, gfc_trans_omp_teams + gfc_trans_omp_target, gfc_trans_omp_target_data, + gfc_trans_omp_workshare): Use code->loc instead of input_location + when building the OMP_/OACC_ construct. + 2020-11-11 Jakub Jelinek PR fortran/97768 diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog index 48bd54d13dd..e45b4e39ffe 100644 --- a/gcc/jit/ChangeLog +++ b/gcc/jit/ChangeLog @@ -1,3 +1,135 @@ +2020-11-12 David Malcolm + + PR jit/87291 + * docs/cp/topics/asm.rst: New file. + * docs/cp/topics/index.rst (Topic Reference): Add it. + * docs/topics/asm.rst: New file. + * docs/topics/compatibility.rst (LIBGCCJIT_ABI_15): New. + * docs/topics/functions.rst (Statements): Add link to extended + asm. + * docs/topics/index.rst (Topic Reference): Add asm.rst. + * docs/topics/objects.rst: Add gcc_jit_extended_asm to ASCII art. + * docs/_build/texinfo/Makefile: Regenerate. + * docs/_build/texinfo/libgccjit.texi: Regenerate. + * jit-common.h (gcc::jit::recording::extended_asm): New forward + decl. + (gcc::jit::recording::top_level_asm): Likewise. + * jit-playback.c: Include "stmt.h". + (build_string): New. + (gcc::jit::playback::context::new_string_literal): Disambiguate + build_string call. + (gcc::jit::playback::context::add_top_level_asm): New. + (build_operand_chain): New. + (build_clobbers): New. + (build_goto_operands): New. + (gcc::jit::playback::block::add_extended_asm): New. + * jit-playback.h (gcc::jit::playback::context::add_top_level_asm): + New decl. + (struct gcc::jit::playback::asm_operand): New struct. + (gcc::jit::playback::block::add_extended_asm): New decl. + * jit-recording.c (gcc::jit::recording::context::dump_to_file): + Dump top-level asms. + (gcc::jit::recording::context::add_top_level_asm): New. + (gcc::jit::recording::block::add_extended_asm): New. + (gcc::jit::recording::block::end_with_extended_asm_goto): New. + (gcc::jit::recording::asm_operand::asm_operand): New. + (gcc::jit::recording::asm_operand::print): New. + (gcc::jit::recording::asm_operand::make_debug_string): New. + (gcc::jit::recording::output_asm_operand::write_reproducer): New. + (gcc::jit::recording::output_asm_operand::print): New. + (gcc::jit::recording::input_asm_operand::write_reproducer): New. + (gcc::jit::recording::input_asm_operand::print): New. + (gcc::jit::recording::extended_asm::add_output_operand): New. + (gcc::jit::recording::extended_asm::add_input_operand): New. + (gcc::jit::recording::extended_asm::add_clobber): New. + (gcc::jit::recording::extended_asm::replay_into): New. + (gcc::jit::recording::extended_asm::make_debug_string): New. + (gcc::jit::recording::extended_asm::write_flags): New. + (gcc::jit::recording::extended_asm::write_clobbers): New. + (gcc::jit::recording::extended_asm_simple::write_reproducer): New. + (gcc::jit::recording::extended_asm::maybe_populate_playback_blocks): + New. + (gcc::jit::recording::extended_asm_goto::extended_asm_goto): New. + (gcc::jit::recording::extended_asm_goto::replay_into): New. + (gcc::jit::recording::extended_asm_goto::write_reproducer): New. + (gcc::jit::recording::extended_asm_goto::get_successor_blocks): + New. + (gcc::jit::recording::extended_asm_goto::maybe_print_gotos): New. + (gcc::jit::recording::extended_asm_goto::maybe_populate_playback_blocks): + New. + (gcc::jit::recording::top_level_asm::top_level_asm): New. + (gcc::jit::recording::top_level_asm::replay_into): New. + (gcc::jit::recording::top_level_asm::make_debug_string): New. + (gcc::jit::recording::top_level_asm::write_to_dump): New. + (gcc::jit::recording::top_level_asm::write_reproducer): New. + * jit-recording.h + (gcc::jit::recording::context::add_top_level_asm): New decl. + (gcc::jit::recording::context::m_top_level_asms): New field. + (gcc::jit::recording::block::add_extended_asm): New decl. + (gcc::jit::recording::block::end_with_extended_asm_goto): New + decl. + (gcc::jit::recording::asm_operand): New class. + (gcc::jit::recording::output_asm_operand): New class. + (gcc::jit::recording::input_asm_operand): New class. + (gcc::jit::recording::extended_asm): New class. + (gcc::jit::recording::extended_asm_simple): New class. + (gcc::jit::recording::extended_asm_goto): New class. + (gcc::jit::recording::top_level_asm): New class. + * libgccjit++.h (gccjit::extended_asm): New forward decl. + (gccjit::context::add_top_level_asm): New. + (gccjit::block::add_extended_asm): New. + (gccjit::block::end_with_extended_asm_goto): New. + (gccjit::extended_asm): New class. + (gccjit::extended_asm::extended_asm): New ctors. + (gccjit::extended_asm::set_volatile_flag): New. + (gccjit::extended_asm::set_inline_flag): New. + (gccjit::extended_asm::add_output_operand): New. + (gccjit::extended_asm::add_input_operand): New. + (gccjit::extended_asm::add_clobber): New. + (gccjit::extended_asm::get_inner_extended_asm): New. + * libgccjit.c (struct gcc_jit_extended_asm): New. + (jit_error): Make "loc" param take a gcc::jit::recording::location * + rather than a gcc_jit_location *. + (gcc_jit_block_add_extended_asm): New entrypoint. + (gcc_jit_block_end_with_extended_asm_goto): New entrypoint. + (gcc_jit_extended_asm_as_object): New entrypoint. + (gcc_jit_extended_asm_set_volatile_flag): New entrypoint. + (gcc_jit_extended_asm_set_inline_flag): New entrypoint. + (gcc_jit_extended_asm_add_output_operand): New entrypoint. + (gcc_jit_extended_asm_add_clobber): New entrypoint. + (gcc_jit_context_add_top_level_asm): New entrypoint. + * libgccjit.h: Add gcc_jit_extended_asm to ASCII art. + (gcc_jit_extended_asm): New typedef. + (LIBGCCJIT_HAVE_ASM_STATEMENTS): New define. + (gcc_jit_block_add_extended_asm): New entrypoint. + (gcc_jit_block_end_with_extended_asm_goto): New entrypoint. + (gcc_jit_extended_asm_as_object): New entrypoint. + (gcc_jit_extended_asm_set_volatile_flag): New entrypoint. + (gcc_jit_extended_asm_set_inline_flag): New entrypoint. + (gcc_jit_extended_asm_add_output_operand): New entrypoint. + (gcc_jit_extended_asm_add_input_operand): New entrypoint. + (gcc_jit_extended_asm_add_clobber): New entrypoint. + (gcc_jit_context_add_top_level_asm): New entrypoint. + * libgccjit.map (LIBGCCJIT_ABI_15): New. + +2020-11-12 David Malcolm + + * jit-recording.c (recording::context::new_string): Add "escaped" + param and use it when creating the new recording::string instance. + (recording::string::string): Add "escaped" param and use it to + initialize m_escaped. + (recording::string::make_debug_string): Replace check that first + char is double-quote with use of m_escaped. Fix escaping of + '\t' and '\n'. Set "escaped" on the result. + * jit-recording.h (recording::context::new_string): Add "escaped" + param. + (recording::string::string): Add "escaped" param. + (recording::string::m_escaped): New field. + +2020-11-12 David Malcolm + + * libgccjit.h: Fix typo in comment. + 2020-09-14 Andrea Corallo * docs/_build/texinfo/libgccjit.texi: Regenerate. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cc2d10dd0cf..5edac485e07 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,77 @@ +2020-11-13 Patrick Palka + + * g++.dg/cpp2a/concepts-decltype3.C: New test. + +2020-11-12 David Malcolm + + PR jit/87291 + * jit.dg/jit.exp: Load target-supports-dg.exp. + Set dg-do-what-default. + (jit-dg-test): Set dg-do-what and call dg-get-options, skipping + the test if it's not supported on the given target. + * jit.dg/test-asm.c: New test. + * jit.dg/test-asm.cc: New test. + +2020-11-12 David Malcolm + + * jit.dg/test-debug-strings.c (create_code): Add tests of + string literal escaping. + +2020-11-12 Joseph Myers + + * gcc.dg/c2x-has-c-attribute-1.c, gcc.dg/c2x-has-c-attribute-2.c, + gcc.dg/c2x-has-c-attribute-3.c, gcc.dg/c2x-has-c-attribute-4.c: + New tests. + +2020-11-12 Tobias Burnus + + PR fortran/97782 + * gfortran.dg/goacc/classify-kernels-unparallelized.f95: Move dg-message + one line up. + * gfortran.dg/goacc/classify-kernels.f95: Likewise. + +2020-11-12 Thomas Koenig + + * gfortran.dg/entry_23.f: New test. + +2020-11-12 Alex Coplan + + PR target/97730 + * gcc.target/aarch64/sve2/bcax_1.c (OP): Add missing bitwise not + to match correct bcax semantics. + * gcc.dg/vect/pr97730.c: New test. + +2020-11-12 Richard Biener + + PR tree-optimization/97806 + * gcc.dg/pr97806.c: New testcase. + +2020-11-12 Jakub Jelinek + + PR c++/97790 + * g++.dg/cpp2a/constexpr-dtor9.C: New test. + +2020-11-12 Jason Merrill + + PR debug/97060 + * gcc.dg/debug/dwarf2/pr97060.c: New test. + +2020-11-12 Kewen Lin + + * gcc.dg/tree-ssa/pr96789.c: Adjusted by disabling loop + vectorization. + +2020-11-12 David Malcolm + + * gcc.dg/analyzer/setjmp-5.c: Update expected path output to show + an event where the pertinent stack frame is popped. Update + expected message from final event to reference this event. + +2020-11-12 David Malcolm + + PR tree-optimization/97424 + * gcc.dg/analyzer/invalid-shift-1.c: New test. + 2020-11-11 Patrick Palka PR c++/88115 diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index a84169e2a8a..b231d0dd81a 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,20 @@ +2020-11-12 Joseph Myers + + * include/cpplib.h (struct cpp_callbacks): Add bool argument to + has_attribute. + (enum cpp_builtin_type): Add BT_HAS_STD_ATTRIBUTE. + * init.c (builtin_array): Add __has_c_attribute. + (cpp_init_special_builtins): Handle BT_HAS_STD_ATTRIBUTE. + * macro.c (_cpp_builtin_macro_text): Handle BT_HAS_STD_ATTRIBUTE. + Update call to has_attribute for BT_HAS_ATTRIBUTE. + * traditional.c (fun_like_macro): Handle BT_HAS_STD_ATTRIBUTE. + +2020-11-12 Nicholas Guriev + + PR pch/86674 + * files.c (_cpp_find_file): Use CPP_DL_NOTE not CPP_DL_ERROR in call to + cpp_error. + 2020-11-07 Lewis Hyatt * generated_cpp_wcwidth.h: Regenerated from Unicode 13.0.0 data. diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 4930d1d05fa..7b046b8e5f8 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,21 @@ +2020-11-12 Jakub Jelinek + + * libgomp.map (GOMP_alloc, GOMP_free): Export at GOMP_5.0.1. + * omp.h.in (omp_alloc): Add malloc and alloc_size attributes. + * libgomp_g.h (GOMP_alloc, GOMP_free): Declare. + * allocator.c (omp_aligned_alloc): New for now static function, + add alignment argument and handle it. + (omp_alloc): Reimplement using omp_aligned_alloc. + (GOMP_alloc, GOMP_free): New functions. + (omp_free): Add ialias. + * testsuite/libgomp.c-c++-common/allocate-1.c: New test. + * testsuite/libgomp.c++/allocate-1.C: New test. + +2020-11-12 Thomas Schwinge + + PR fortran/97782 + * testsuite/libgomp.oacc-fortran/attach-descriptor-1.f90: Adjust. + 2020-11-10 Chung-Lin Tang * libgomp.h (enum gomp_map_vars_kind): Adjust enum values to be bit-flag diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 62e2c960f25..8bda85dcaf0 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,32 @@ +2020-11-12 Jonathan Wakely + + * include/std/future (future::wait_for): Do not wait for + durations less than or equal to zero. + * src/c++11/futex.cc (_M_futex_wait_until) + (_M_futex_wait_until_steady): Do not wait for timeouts before + the epoch. + * testsuite/30_threads/future/members/poll.cc: New test. + +2020-11-12 Jonathan Wakely + + * include/ext/numeric_traits.h (__numeric_traits): Change + primary template to always derive from __numeric_traits_integer. + (__numeric_traits, __numeric_traits) + (__numeric_traits): Add explicit specializations. + +2020-11-12 Jonathan Wakely + + PR libstdc++/97798 + * include/ext/numeric_traits.h (__glibcxx_signed) + (__glibcxx_digits, __glibcxx_min, __glibcxx_max): Remove + macros. + (__is_integer_nonstrict::__width): Define new constant. + (__numeric_traits_integer): Define constants in terms of each + other and __is_integer_nonstrict::__width, rather than the + removed macros. + (_GLIBCXX_INT_N_TRAITS): Macro to define explicit + specializations for non-standard integer types. + 2020-11-11 Jonathan Yong <10walls@gmail.com> * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Exclude