From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 3A39D3848400; Wed, 5 May 2021 00:17:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3A39D3848400 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: GCC Administrator To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r12-451] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: 058d6acefe8bac4a66c8e7fb4951276db188e2d8 X-Git-Newrev: 99e8df7a4cc0bb1bfa49e69ccb0f7e02c9755e3c Message-Id: <20210505001732.3A39D3848400@sourceware.org> Date: Wed, 5 May 2021 00:17:32 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 May 2021 00:17:32 -0000 https://gcc.gnu.org/g:99e8df7a4cc0bb1bfa49e69ccb0f7e02c9755e3c commit r12-451-g99e8df7a4cc0bb1bfa49e69ccb0f7e02c9755e3c Author: GCC Administrator Date: Wed May 5 00:16:54 2021 +0000 Daily bump. Diff: --- ChangeLog | 5 + gcc/ChangeLog | 152 ++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/ada/ChangeLog | 284 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/c/ChangeLog | 5 + gcc/cp/ChangeLog | 5 + gcc/fortran/ChangeLog | 5 + gcc/testsuite/ChangeLog | 49 +++++++++ libgomp/ChangeLog | 13 +++ libiberty/ChangeLog | 5 + libstdc++-v3/ChangeLog | 63 +++++++++++ 11 files changed, 587 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5d94c140e31..2174ab1ea90 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2021-05-04 Nick Clifton + + * configure.ac (AC_PROG_CC): Replace with AC_PROG_CC_C99. + * configure: Regenerate. + 2021-04-28 Jakub Jelinek Tobias Burnus diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 07a33c2d431..7b69f9dca4f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,155 @@ +2021-05-04 David Edelsohn + + * config/rs6000/rs6000-call.c (rs6000_output_mi_thunk): Use + get_fnname_from_decl for name of thunk. + * config/rs6000/rs6000.c (rs6000_declare_alias): Use assemble_name + and ASM_OUTPUT_LABEL. + (rs6000_xcoff_declare_function_name): Use assemble_name and + ASM_OUTPUT_LABEL. + (rs6000_xcoff_declare_object_name): Use ASM_OUTPUT_LABEL. + (rs6000_xcoff_encode_section_info): Don't add mapping class + for aliases. Always add [DS] mapping class to primary + FUNCTION_DECL. + (rs6000_asm_weaken_decl): Don't explicitly add [DS]. + +2021-05-04 Martin Sebor + + PR middle-end/100307 + * builtins.c (compute_objsize_r): Clear base0 for pointers. + +2021-05-04 Jeff Law + + * config/bfin/bfin.h (NOTICE_UPDATE_CC): Remove. + +2021-05-04 Segher Boessenkool + + * caller-save.c: Remove CC0. + * cfgcleanup.c: Remove CC0. + * cfgrtl.c: Remove CC0. + * combine.c: Remove CC0. + * compare-elim.c: Remove CC0. + * conditions.h: Remove CC0. + * config/h8300/h8300.h: Remove CC0. + * config/h8300/h8300-protos.h: Remove CC0. + * config/h8300/peepholes.md: Remove CC0. + * config/i386/x86-tune-sched.c: Remove CC0. + * config/m68k/m68k.c: Remove CC0. + * config/rl78/rl78.c: Remove CC0. + * config/sparc/sparc.c: Remove CC0. + * config/xtensa/xtensa.c: Remove CC0. + (gen_conditional_move): Use pc_rtx instead of cc0_rtx in a piece of + RTL where that is used as a placeholder only. + * cprop.c: Remove CC0. + * cse.c: Remove CC0. + * cselib.c: Remove CC0. + * df-problems.c: Remove CC0. + * df-scan.c: Remove CC0. + * doc/md.texi: Remove CC0. Adjust an example. + * doc/rtl.texi: Remove CC0. Adjust an example. + * doc/tm.texi: Regenerate. + * doc/tm.texi.in: Remove CC0. + * emit-rtl.c: Remove CC0. + * final.c: Remove CC0. + * fwprop.c: Remove CC0. + * gcse-common.c: Remove CC0. + * gcse.c: Remove CC0. + * genattrtab.c: Remove CC0. + * genconfig.c: Remove CC0. + * genemit.c: Remove CC0. + * genextract.c: Remove CC0. + * gengenrtl.c: Remove CC0. + * genrecog.c: Remove CC0. + * haifa-sched.c: Remove CC0. + * ifcvt.c: Remove CC0. + * ira-costs.c: Remove CC0. + * ira.c: Remove CC0. + * jump.c: Remove CC0. + * loop-invariant.c: Remove CC0. + * lra-constraints.c: Remove CC0. + * lra-eliminations.c: Remove CC0. + * optabs.c: Remove CC0. + * postreload-gcse.c: Remove CC0. + * postreload.c: Remove CC0. + * print-rtl.c: Remove CC0. + * read-rtl-function.c: Remove CC0. + * reg-notes.def: Remove CC0. + * reg-stack.c: Remove CC0. + * reginfo.c: Remove CC0. + * regrename.c: Remove CC0. + * reload.c: Remove CC0. + * reload1.c: Remove CC0. + * reorg.c: Remove CC0. + * resource.c: Remove CC0. + * rtl.c: Remove CC0. + * rtl.def: Remove CC0. + * rtl.h: Remove CC0. + * rtlanal.c: Remove CC0. + * sched-deps.c: Remove CC0. + * sched-rgn.c: Remove CC0. + * shrink-wrap.c: Remove CC0. + * simplify-rtx.c: Remove CC0. + * system.h: Remove CC0. Poison NOTICE_UPDATE_CC, CC_STATUS_MDEP_INIT, + CC_STATUS_MDEP, and CC_STATUS. + * target.def: Remove CC0. + * valtrack.c: Remove CC0. + * var-tracking.c: Remove CC0. + +2021-05-04 Richard Biener + + PR tree-optimization/100414 + * tree-ssa-phiopt.c (get_non_trapping): Do not compute dominance + info here. + (tree_ssa_phiopt_worker): But unconditionally here. + +2021-05-04 Tobias Burnus + + * omp-low.c (lower_rec_input_clauses, lower_reduction_clauses): Handle + && and || with floating-point and complex arguments. + +2021-05-04 Eric Botcazou + + * tree-inline.c (insert_debug_decl_map): Delete. + (copy_debug_stmt): Minor tweak. + (setup_one_parameter): Do not use a variable if the value is either + a read-only DECL or a non-addressable local variable in the caller. + In this case, insert the debug-only variable in the map manually. + (expand_call_inline): Do not generate a CLOBBER for these values. + * tree-inline.h (debug_map): Minor tweak. + +2021-05-04 Eric Botcazou + + * builtins.c (builtin_with_linkage_p): Return true for stp[n]cpy. + * symtab.c (symtab_node::output_to_lto_symbol_table_p): Tidy up. + +2021-05-04 Richard Biener + + PR tree-optimization/100329 + * tree-ssa-reassoc.c (can_reassociate_p): Do not reassociate + asm goto defs. + (insert_stmt_after): Assert we're not running into asm goto. + +2021-05-04 Richard Biener + + PR tree-optimization/100398 + * tree-ssa-dse.c (pass_dse::execute): Preserve control + altering stmts. + +2021-05-04 Prathamesh Kulkarni + + * builtins.c (try_store_by_multiple_pieces): Fix constfun's prototype. + +2021-05-04 Alexandre Oliva + + * builtins.c (try_store_by_multiple_pieces): New. + (expand_builtin_memset_args): Use it. If target_char_cast + fails, proceed as for non-constant val. Pass len's ctz to... + * expr.c (clear_storage_hints): ... this. Try store by + multiple pieces after setmem. + (clear_storage): Adjust. + * expr.h (clear_storage_hints): Likewise. + (try_store_by_multiple_pieces): Declare. + * passes.def: Replace the last copy_prop with ccp. + 2021-05-03 Tom de Vries PR target/100321 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index a96c930f221..eb085aa83ab 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20210504 +20210505 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index ab166ee3cc8..adcf2f5adb4 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,287 @@ +2021-05-04 Piotr Trojanek + + * pprint.adb: Remove qualification of arbitrary calls to + Sinfo.Expressions and Sinfo.Parameter_Associations. + +2021-05-04 Piotr Trojanek + + * pprint.adb (Expr_Name): Simplify with functional variant of + UI_Image. + +2021-05-04 Piotr Trojanek + + * pprint.adb (To_Mixed): Removed. + +2021-05-04 Piotr Trojanek + + * pprint.adb (List_Name_Count): Change type from Integer to + Natural. + +2021-05-04 Yannick Moy + + * pprint.adb (Expression_Image): Special case for + expression-with-actions. + +2021-05-04 Bob Duff + + * exp_ch4.adb (Expand_Concatenate): Remove the non-optimization. + +2021-05-04 Piotr Trojanek + + * lib-xref.adb (Generate_Reference_To_Formals): Remove dedicated + branch for generic subprograms (they are now handled together + with non-generic subprograms in the ELSE branch); replace a + low-level Ekind membership test with a high-level call to + Is_Access_Subprogram_Type. + +2021-05-04 Piotr Trojanek + + * sem_ch12.adb (Check_Abstract_Primitives): Match First_Formal + with Next_Formal. + * sem_ch6.adb (Is_Non_Overriding_Operation): Likewise. + +2021-05-04 Piotr Trojanek + + * sem_prag.adb (Collect_Global_Item): Iterate directly over + formals. + +2021-05-04 Piotr Trojanek + + * sem_prag.ads (Collect_Subprogram_Inputs_Outputs): Update + comment; this routine is no longer used by GNATprove. + * sem_prag.adb (Find_Role): The IN parameter is on output only + when it belongs to non-function; also, the otherwise constant + object can only be written by a non-function. + (Collect_Global_Item): The IN parameter can only be written when + it belongs to non-function; also, unnest this check to make it + easier to read. + +2021-05-04 Arnaud Charlet + + * libgnat/s-assert.ads (Assert_Failure): Now a renaming of + Assertion_Error. + * libgnat/a-assert.ads (Assertion_Error): Now a first class + citizen. Remove dependency on System.Assertions. + * gcc-interface/a-assert.ads, gcc-interface/a-assert.adb: New. + * gcc-interface/Make-lang.in (GNAT_ADA_OBJS, GNATBIND_OBJS): Add + a-assert.o from gcc-interface. + +2021-05-04 Yannick Moy + + * erroutc.adb (Matches): Move spec... + * erroutc.ads (Matches): ...here. + +2021-05-04 Yannick Moy + + * gnat1drv.adb (Adjust_Global_Switches): Force error marker in + GNATprove mode. + +2021-05-04 Bob Duff + + * binde.adb: No need for ??? marks in Binde, because it is + superseded by Bindo. + * bindo-writers.adb (Write_Unit_Closure): Verified that -Ra + works. + * exp_ch4.adb, sinfo.ads (Expand_N_Type_Conversion): Rules for + conversions passed to gigi are documented in sinfo.ads. + (Expand_N_Unchecked_Type_Conversion): Comment is a duplicate of + one in sinfo.ads. + (Expand_N_In): Robert already added sufficient comments years + after the ??? comment was inserted. + (Expand_Membership_Minimize_Eliminate_Overflow): I don't see any + reason why Stand should export Long_Long_Integer'Base -- it + doesn't export any other base types. + (Size_In_Storage_Elements): We are doing an allocator, so we + don't care about sizes in bits. + (Expand_N_Allocator): PolyORB isn't going to be significantly + improved, so we're not going to mess with remote access to + class-wide types. + (Optimize_Return_Stmt): It's not important to optimize return + statements in predicate functions -- there are many + more-important optimizations we could do. Keep part of the + comment without "???", to clarify why the "and then ...". + (User_Defined_Primitive_Equality_Op): The optimization doesn't + seem important enough. + (Expand_N_Unchecked_Type_Conversion): Refactor to use + Expand_N_Unchecked_Expression. + (Make_Array_Comparison_Op): This seems like a case of "it it's + not broken, don't fix it". Too much risk of causing bugs. + * debug_a.adb: Remove ??? comments asking why Current_Error_Node + is maintained unconditionally, and add a comment explaining why. + * errout.adb: These kinds of minor bugs do indeed exist, but + we're never going to get around to fixing them "properly", so we + need this code for robustness. + * gnatchop.adb (Read_File): Document when read can fail. + * gnatdll.adb (Parse_Command_Line): Nobody is complaining about + these arbitrary limits, so no need to use Table. Increase the + limits just in case. It is clear from the names what they are + limits on. + * gnatlink.adb: Add needed comments. + (Delete): An existing comment makes clear it's intentional, and + it's been like that since 1996. + (Process_Args): Improve comments. + (Search_Library_Path): Refactoring to avoid deep nesting. + * inline.adb (Build_Body_To_Inline): Probably won't get around + to doing that optimization. + (Is_Unit_Subprogram): No, this should not be moved to Sem_Aux, + because it is too specialized to this context. + (Do_Reset): No comment is needed here; it's clear from the + comment on Reset_Dispatching_Calls. Do_Reset is an artificial + subprogram; if we had proper iterators, it would just be an if + statement in the loop. + (Rewrite_Function_Call): Probably won't get around to doing that + optimization. + * layout.adb (Layout_Type): The gigi comment doesn't need to be + a ??? comment, and it's been that way since 2000. The + limitation to scalars will likely never be investigated, and + it's been that way since 2009. + * lib.adb (Check_Same_Extended_Unit): This doesn't look like + something that needs fixing; it looks like a permanent + workaround. + * lib-load.adb (Change_Main_Unit_To_Spec): It is good enough in + practice. + (Load_Unit): Nobody will ever get around to investigating the + obscure PMES oddity, and the optimization is not worth the + trouble. + * live.adb: It's not worth documenting this. It is used only + with a debug switch. Nobody who has done significant work on it + is still around, so it would require substantial investigation. + * mdll.ads: I see no reason for USE. + * namet.ads: Routines are obsolete, but they're not going + anywhere anytime soon (too much work, and surprisingly delicate + because of dependences on global variables). + * osint.ads: Minor. + * osint.adb: Improve comments. + (Full_Lib_File_Name): Use Smart_Find_File. + +2021-05-04 Piotr Trojanek + + * exp_prag.adb, sem_prag.adb: Replace low-level Ekind membership + tests with a high-level call to Is_Formal_Object. + +2021-05-04 Arnaud Charlet + + * cstand.adb, sprint.adb, switch-c.adb, xr_tabls.ads, + xr_tabls.adb, xref_lib.adb: Address ??? comments. + +2021-05-04 Piotr Trojanek + + * sem_prag.adb (Analyze_Global_Item): Take subprogram kind into + account when accepting or rejecting a constant of an + access-to-variable type as a global Output/In_Out; do this check + inside an ELSIF branch to avoid unnecessary evaluation of the + subsequent condition. + +2021-05-04 Piotr Trojanek + + * sem_prag.adb (Role_Error, Usage_Error): Replace calls to + Name_Find and Get_Name_String with a call to To_String. + +2021-05-04 Ed Schonberg + + * exp_aggr.adb (Build_Siz_Exp): new function, subsidiary of + Expand_Container_Aggregate, to create an expression to be used + in the dynamic allocation of a container with a single container + element association. + (Add_Range): Handle static bounds of ranges over enumerations. + (Expand_Container_Aggregate): Add declaration for size + expression when needed, and use it in container object + declaration for container. + +2021-05-04 Arnaud Charlet + + * exp_ch7.adb (Build_Finalizer_Helper.New_Finalizer_Name): + Unnest so that it can be reused. + (Build_Finalizer_Helper.Process_Declarations): Call the + xxx__finalize_body procedure of a package instantiation in case + it contains finalization statements. Code clean ups. + (Build_Finalizer_Helper.Create_Finalizer): Export and set an + Interface_Name for library level finalizers since these may be + imported now. + (Build_Finalizer_Helper): Need to process library level package + body instantiations which may contain objects requiring + finalization. + * libgnat/s-finmas.ads: Fix typo. + +2021-05-04 Arnaud Charlet + + * checks.adb (Append_Range_Checks, Apply_Selected_Length_Checks, + Determine_Range, Insert_Range_Checks, + Install_Null_Excluding_Check, Selected_Length_Checks, + Selected_Range_Checks): Address ??? comments and code cleanups. + +2021-05-04 Piotr Trojanek + + * sem_prag.adb (Check_Mode_Restriction_In_Enclosing_Context): + Apply the rule even with no explicit Global contract (and remove + a dead condition for Refined_Global). + +2021-05-04 Piotr Trojanek + + * sem_prag.adb (Check_Mode_Restriction_In_Enclosing_Context): + Extend check to protected entries. + +2021-05-04 Piotr Trojanek + + * sem_prag.adb (Check_Mode_Restriction_In_Enclosing_Context): + Fix reference to SPARK RM rule number. + +2021-05-04 Eric Botcazou + + * exp_intr.adb: Remove with/use clauses for Urealp. + (Expand_Is_Negative): Delete. + (Expand_Intrinsic_Call): Do not call it. + * rtsfind.ads (RE_Id): Remove RE_Float_Unsigned. + (RE_Unit_Table): Remove entry for RE_Float_Unsigned. + * snames.ads-tmpl (Name_Is_Negative): Delete. + * libgnat/s-imgrea.ads (Set_Image_Real): Fix mode of S parameter. + * libgnat/s-imgrea.adb: Add with/use clauses for System.Img_Util. + (LLU): New subtype. + (Maxdigs): Use it. + (Is_Negative): Reimplement. + (Image_Floating_Point): Simplify. + (Set_Image_Real): Fix mode of S parameter. Remove the low-level + processing on characters. Flip the sign of the Scale variable. + Compute the maximum number of digits for the straight notation. + Call Set_Decimal_Digits at the end to do the final formatting. + * libgnat/s-imguti.ads (Floating_Invalid_Value): New type. + (Set_Floating_Invalid_Value): New procedure. + * libgnat/s-imguti.adb (Set_Floating_Invalid_Value): Implement it + based on existing code from Set_Image_Real. + * libgnat/s-unstyp.ads (Float_Unsigned): Delete. + +2021-05-04 Piotr Trojanek + + * csets.adb (Initialize): Refactor into CASE statement; raise + exception on unsupported code of character set (it will be + gently rejected earlier when scanning command line switches). + * switch-b.adb (Scan_Binder_Switches): Refactor into a + membership expression; add missing '9' choice; reorder as + described by GNAT UG, section 4.3.11. + * switch-c.adb (Scan_Front_End_Switches): Refactor into a + membership expression and reorder as above. + * doc/gnat_ugn/building_executable_programs_with_gnat.rst + (gnatic): Mention '5' as an allowed value for "c". + * gnat_ugn.texi: Regenerate. + +2021-05-04 Piotr Trojanek + + * errout.adb (Error_Msg_Internal): Add assertion to prevent + style mistakes reappearing in the future. + +2021-05-04 Javier Miranda + + * exp_ch4.adb (Tagged_Membership): Remove wrong condition that + is not consistent with the documentation of this subprogram. + +2021-05-04 Yannick Moy + + * sem_res.adb (Valid_Conversion): Make message a continuation. + +2021-05-04 Arnaud Charlet + + * styleg.adb: Address ??? comments. + 2021-05-03 Arnaud Charlet * libgnat/a-stunau.ads, libgnat/a-stunau.adb, diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index e61ec5d6180..29499d79b19 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,8 @@ +2021-05-04 Tobias Burnus + + * c-typeck.c (c_finish_omp_clauses): Accept float + complex + for || and && reductions. + 2021-04-29 Joseph Myers * c-typeck.c (function_types_compatible_p): For C2X, treat diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 7ad197e9894..fcb2075efd7 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2021-05-04 Tobias Burnus + + * semantics.c (finish_omp_reduction_clause): Accept float + complex + for || and && reductions. + 2021-05-03 Patrick Palka PR c++/100362 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 226fd84c250..9d2d4fa20ae 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2021-05-04 Tobias Burnus + + PR testsuite/100397 + * trans-openmp.c (gfc_trans_omp_depobj): Fix pasto in enum values. + 2021-04-28 Tobias Burnus * openmp.c (gfc_match_omp_variable_list): Gobble whitespace before diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 89fcc3c3f8b..9efe850e0d8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,52 @@ +2021-05-04 Martin Sebor + + PR middle-end/100307 + * g++.dg/warn/Wplacement-new-size-9.C: New test. + * gcc.dg/tree-ssa/builtin-sprintf-warn-26.c: New test. + +2021-05-04 Martin Sebor + + * gcc.dg/Wvla-parameter-3.c: Use unique strings in directive names. + +2021-05-04 Martin Sebor + + * gcc.dg/Wvla-parameter-2.c: Use unique strings in directive names. + +2021-05-04 Robin Dapp + + * gcc.target/s390/oscbreak-1.c: Compile with -O1 + -fschedule-insns + +2021-05-04 Richard Biener + + PR tree-optimization/100414 + * gcc.dg/pr100414.c: New testcase. + +2021-05-04 Tobias Burnus + + * gcc.dg/gomp/clause-1.c: Use 'reduction(&:..)' instead of '...(&&:..)'. + +2021-05-04 Eric Botcazou + + * gnat.dg/opt94.adb: New file. + * gnat.dg/opt94_pkg.adb: New file. + * gnat.dg/opt94_pkg.ads: New file. + +2021-05-04 Richard Biener + + * gcc.dg/tree-ssa/ssa-dse-26.c: Skip on !lp64 targets, + simplify dump scanning down to one case. + +2021-05-04 Richard Biener + + PR tree-optimization/100329 + * gcc.dg/torture/pr100329.c: New testcase. + +2021-05-04 Richard Biener + + PR tree-optimization/100398 + * gcc.dg/torture/pr100398.c: New testcase. + 2021-05-03 Christophe Lyon * gcc.target/aarch64/advsimd-intrinsics/vmla_float_not_fused.c: diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index bb9d8375035..b62f175dd68 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,16 @@ +2021-05-04 Tobias Burnus + + * testsuite/libgomp.c-c++-common/reduction-1.c: New test. + * testsuite/libgomp.c-c++-common/reduction-2.c: New test. + * testsuite/libgomp.c-c++-common/reduction-3.c: New test. + * testsuite/libgomp.c-c++-common/reduction-4.c: New file. + +2021-05-04 Tobias Burnus + + PR testsuite/100397 + * testsuite/libgomp.fortran/depobj-1.f90 (dep2, dep3): Move var + declaration to scope of non-'depend'-guarded assignment to avoid races. + 2021-05-03 Tom de Vries PR target/100321 diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 255ec01fda9..fa64ab3b8dd 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,8 @@ +2021-05-04 Eric Botcazou + + * configure.ac: Make test for variables more robust. + * configure: Regenerate. + 2021-05-03 H.J. Lu PR bootstrap/99703 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index cdd23a9b684..f9ef08af343 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,66 @@ +2021-05-04 Jonathan Wakely + + * include/std/future (promise::set_value): Check for existence + of shared state before dereferncing it. + (promise::set_exception, promise::set_value_at_thread_exit) + (promise::set_exception_at_thread_exit): Likewise. + (promise::set_value, promise::set_exception) + (promise::set_value_at_thread_exit) + (promise::set_exception_at_thread_exit): Likewise. + (promise::set_value, promise::set_exception) + (promise::set_value_at_thread_exit) + (promise::set_exception_at_thread_exit): Likewise. + * testsuite/30_threads/promise/members/at_thread_exit2.cc: + Remove unused variable. + +2021-05-04 Jonathan Wakely + + * include/bits/basic_string.h (basic_string(const CharT*, const A&)): + Do not do arithmetic on null pointer. + +2021-05-04 Jonathan Wakely + + * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp + (find_key_pointer(key_const_reference, false_type)) + (find_key_pointer(key_const_reference, true_type)): Do not + dereference null pointer. + +2021-05-04 Jonathan Wakely + + * testsuite/20_util/from_chars/3.cc: Use unsigned type to avoid + overflow. + * testsuite/24_iterators/reverse_iterator/2.cc: Do not add + non-zero value to null pointer. + * testsuite/25_algorithms/copy_backward/move_iterators/69478.cc: + Use past-the-end iterator for result. + * testsuite/25_algorithms/move_backward/69478.cc: Likewise. + * testsuite/25_algorithms/move_backward/93872.cc: Likewise. + +2021-05-04 Jonathan Wakely + + PR libstdc++/100384 + * include/std/variant (__get_t): New alias template yielding the + return type of std::get on a variant. + (__visit_result_t): New alias template yielding the result of + std::visit. + (__same_types): Move into namespace __detail::__variant. + (__check_visitor_results): Likewise. Use __invoke_result_t and + __get_t. + (__check_visitor_result): Remove. + (visit): Use __visit_result_t for return type. + * testsuite/20_util/variant/100384.cc: New test. + +2021-05-04 Jonathan Wakely + + * acinclude.m4 (GLIBCXX_ENABLE_INT128_FLOAT128): Remove + checks for __int128 and rename to GLIBCXX_ENABLE_FLOAT128. + * config.h.in: Regenerate. + * configure: Regenerate. + * configure.ac: Adjust to use GLIBCXX_ENABLE_FLOAT128. + * include/bits/random.h (_Select_uint_least_t): + Use __SIZEOF_INT128__ to decide whether to use __int128. + * include/std/charconv (__to_chars_unsigned_type): Likewise. + 2021-05-03 Gerald Pfeifer * doc/xml/manual/ctype.xml: Move unix.org reference to https.