Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Fri, 13 Nov 2020 00:16:35 +0000 (00:16 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Fri, 13 Nov 2020 00:16:35 +0000 (00:16 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/analyzer/ChangeLog
gcc/c-family/ChangeLog
gcc/cp/ChangeLog
gcc/fortran/ChangeLog
gcc/jit/ChangeLog
gcc/testsuite/ChangeLog
libcpp/ChangeLog
libgomp/ChangeLog
libstdc++-v3/ChangeLog

index e515b38..a180527 100644 (file)
@@ -1,3 +1,156 @@
+2020-11-12  Nelson Chu  <nelson.chu@sifive.com>
+
+       * 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  <joseph@codesourcery.com>
+
+       * doc/cpp.texi (__has_attribute): Document when scopes are allowed
+       for C.
+       (__has_c_attribute): New.
+
+2020-11-12  Jakub Jelinek  <jakub@redhat.com>
+
+       * 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  <mjambor@suse.cz>
+
+       * cgraphclones.c (cgraph_node::materialize_clone): Check that clone
+       info is not NULL before attempting to dump it.
+
+2020-11-12  Martin Jambor  <mjambor@suse.cz>
+
+       * 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  <polacek@redhat.com>
+
+       * 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  <jh@suse.cz>
+
+       * 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  <rguenther@suse.de>
+
+       * 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  <jh@suse.cz>
+
+       * 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  <rguenther@suse.de>
+
+       * 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  <alex.coplan@arm.com>
+
+       PR target/97730
+       * config/aarch64/aarch64-sve2.md (@aarch64_sve2_bcax<mode>):
+       Change to define_expand, add missing (trivially-predicated) not
+       rtx to fix wrong code bug.
+       (*aarch64_sve2_bcax<mode>): New.
+
+2020-11-12  Richard Biener  <rguenther@suse.de>
+
+       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  <krebbel@linux.ibm.com>
+
+       PR target/97326
+       * config/s390/vector.md: Support vector floating point modes in
+       vec_cmp.
+
+2020-11-12  Andreas Krebbel  <krebbel@linux.ibm.com>
+
+       * config/s390/vector.md: Rename tointvec to TOINTVEC.
+       * config/s390/vx-builtins.md: Likewise.
+
+2020-11-12  Jason Merrill  <jason@redhat.com>
+
+       PR debug/97060
+       * dwarf2out.c (gen_subprogram_die): It's a declaration
+       if DECL_INITIAL isn't set.
+
+2020-11-12  David Malcolm  <dmalcolm@redhat.com>
+
+       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  <iain@sandoe.co.uk>
 
        * config/darwin-protos.h (darwin_make_eh_symbol_indirect): New.
index 95634e0..b84a76f 100644 (file)
@@ -1 +1 @@
-20201112
+20201113
index 143f2f8..f0dd270 100644 (file)
@@ -1,3 +1,38 @@
+2020-11-12  David Malcolm  <dmalcolm@redhat.com>
+
+       * 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  <dmalcolm@redhat.com>
+
+       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  <mliska@suse.cz>
 
        * constraint-manager.cc (constraint_manager::merge): Remove
index 772b0f5..5761942 100644 (file)
@@ -1,3 +1,17 @@
+2020-11-12  Joseph Myers  <joseph@codesourcery.com>
+
+       * 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  <guriev-ns@ya.ru>
+
+       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  <ppalka@redhat.com>
 
        PR c++/88115
index babb459..f514ceb 100644 (file)
@@ -1,3 +1,15 @@
+2020-11-13  Patrick Palka  <ppalka@redhat.com>
+
+       * 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  <jakub@redhat.com>
+
+       PR c++/97790
+       * constexpr.c (cxx_eval_constant_expression) <case CLEANUP_POINT_EXPR,
+       case TRY_FINALLY_EXPR, case CLEANUP_STMT>: Don't pass jump_target to
+       cxx_eval_constant_expression when evaluating the cleanups.
+
 2020-11-11  Iain Sandoe  <iain@sandoe.co.uk>
 
        * parser.c (cp_parser_declaration): Unless we are compiling for
index 6eb6500..91b519d 100644 (file)
@@ -1,3 +1,24 @@
+2020-11-12  Jakub Jelinek  <jakub@redhat.com>
+
+       * 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  <tobias@codesourcery.com>
+
+       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  <jakub@redhat.com>
 
        PR fortran/97768
index 48bd54d..e45b4e3 100644 (file)
@@ -1,3 +1,135 @@
+2020-11-12  David Malcolm  <dmalcolm@redhat.com>
+
+       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  <dmalcolm@redhat.com>
+
+       * 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  <dmalcolm@redhat.com>
+
+       * libgccjit.h: Fix typo in comment.
+
 2020-09-14  Andrea Corallo  <andrea.corallo@arm.com>
 
        * docs/_build/texinfo/libgccjit.texi: Regenerate.
index cc2d10d..5edac48 100644 (file)
@@ -1,3 +1,77 @@
+2020-11-13  Patrick Palka  <ppalka@redhat.com>
+
+       * g++.dg/cpp2a/concepts-decltype3.C: New test.
+
+2020-11-12  David Malcolm  <dmalcolm@redhat.com>
+
+       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  <dmalcolm@redhat.com>
+
+       * jit.dg/test-debug-strings.c (create_code): Add tests of
+       string literal escaping.
+
+2020-11-12  Joseph Myers  <joseph@codesourcery.com>
+
+       * 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  <tobias@codesourcery.com>
+
+       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  <tkoenig@gcc.gnu.org>
+
+       * gfortran.dg/entry_23.f: New test.
+
+2020-11-12  Alex Coplan  <alex.coplan@arm.com>
+
+       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  <rguenther@suse.de>
+
+       PR tree-optimization/97806
+       * gcc.dg/pr97806.c: New testcase.
+
+2020-11-12  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/97790
+       * g++.dg/cpp2a/constexpr-dtor9.C: New test.
+
+2020-11-12  Jason Merrill  <jason@redhat.com>
+
+       PR debug/97060
+       * gcc.dg/debug/dwarf2/pr97060.c: New test.
+
+2020-11-12  Kewen Lin  <linkw@linux.ibm.com>
+
+       * gcc.dg/tree-ssa/pr96789.c: Adjusted by disabling loop
+       vectorization.
+
+2020-11-12  David Malcolm  <dmalcolm@redhat.com>
+
+       * 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  <dmalcolm@redhat.com>
+
+       PR tree-optimization/97424
+       * gcc.dg/analyzer/invalid-shift-1.c: New test.
+
 2020-11-11  Patrick Palka  <ppalka@redhat.com>
 
        PR c++/88115
index a84169e..b231d0d 100644 (file)
@@ -1,3 +1,20 @@
+2020-11-12  Joseph Myers  <joseph@codesourcery.com>
+
+       * 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  <guriev-ns@ya.ru>
+
+       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  <lhyatt@gmail.com>
 
        * generated_cpp_wcwidth.h: Regenerated from Unicode 13.0.0 data.
index 4930d1d..7b046b8 100644 (file)
@@ -1,3 +1,21 @@
+2020-11-12  Jakub Jelinek  <jakub@redhat.com>
+
+       * 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  <thomas@codesourcery.com>
+
+       PR fortran/97782
+       * testsuite/libgomp.oacc-fortran/attach-descriptor-1.f90: Adjust.
+
 2020-11-10  Chung-Lin Tang  <cltang@codesourcery.com>
 
        * libgomp.h (enum gomp_map_vars_kind): Adjust enum values to be bit-flag
index 62e2c96..8bda85d 100644 (file)
@@ -1,3 +1,32 @@
+2020-11-12  Jonathan Wakely  <jwakely@redhat.com>
+
+       * 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  <jwakely@redhat.com>
+
+       * include/ext/numeric_traits.h (__numeric_traits): Change
+       primary template to always derive from __numeric_traits_integer.
+       (__numeric_traits<float>, __numeric_traits<double>)
+       (__numeric_traits<long double>): Add explicit specializations.
+
+2020-11-12  Jonathan Wakely  <jwakely@redhat.com>
+
+       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