From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 9BFFF3857BBD; Mon, 30 May 2022 00:18:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9BFFF3857BBD MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" From: GCC Administrator To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r10-10803] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/releases/gcc-10 X-Git-Oldrev: 16db663772c03eded30d8ede7ffbc2b9de25f648 X-Git-Newrev: 9ef03b0a42fa77947f54f3b3eaf94f8b16ee2aa2 Message-Id: <20220530001804.9BFFF3857BBD@sourceware.org> Date: Mon, 30 May 2022 00:18:04 +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: Mon, 30 May 2022 00:18:04 -0000 https://gcc.gnu.org/g:9ef03b0a42fa77947f54f3b3eaf94f8b16ee2aa2 commit r10-10803-g9ef03b0a42fa77947f54f3b3eaf94f8b16ee2aa2 Author: GCC Administrator Date: Mon May 30 00:17:28 2022 +0000 Daily bump. Diff: --- ChangeLog | 26 ++++++ config/ChangeLog | 16 ++++ gcc/ChangeLog | 205 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/objc/ChangeLog | 13 +++ gcc/testsuite/ChangeLog | 43 ++++++++++ libcc1/ChangeLog | 5 ++ libgcc/ChangeLog | 47 +++++++++++ libiberty/ChangeLog | 18 +++++ libstdc++-v3/ChangeLog | 15 ++++ 10 files changed, 389 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4e6f61ddbe3..cd69a66f970 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,29 @@ +2022-05-29 Iain Sandoe + + * Makefile.def: Add dsymutil defs. + * Makefile.in: Regenerated. + * Makefile.tpl: Add dsymutil to flags. + * configure: Regenerated. + * configure.ac: Add dsymutil to target and build recipes. + +2022-05-29 Iain Sandoe + + Backported from master: + 2021-08-18 Iain Sandoe + + * Makefile.in: Regenerate. + * Makefile.tpl: Make the state of the configured host + shared flag available to makefile fragements. + +2022-05-29 Iain Sandoe + + Backported from master: + 2021-07-09 Iain Sandoe + + * configure: Regenerate. + * configure.ac: Adjust cases for which it is necessary to + include the Darwin host config fragment. + 2021-04-08 Release Manager * GCC 10.3.0 released. diff --git a/config/ChangeLog b/config/ChangeLog index 39ae1c5c28c..b78ba4e6be1 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,19 @@ +2022-05-29 Iain Sandoe + + Backported from master: + 2021-08-18 Iain Sandoe + + * mh-darwin: Require a non-shared host configuration to + enable mdynamic-no-pic where that is supported. + +2022-05-29 Iain Sandoe + + Backported from master: + 2021-07-09 Iain Sandoe + + * mh-darwin: Make this specific to handling the + mdynamic-no-pic case. + 2021-12-16 Martin Storsjö Backported from master: diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f40e07ca8ff..6380814c3f0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,208 @@ +2022-05-29 Iain Sandoe + + Backported from master: + 2021-11-15 Iain Sandoe + + PR fortran/102992 + * config/darwin.h (TARGET_DTORS_FROM_CXA_ATEXIT): New. + * doc/tm.texi: Regenerated. + * doc/tm.texi.in: Add TARGET_DTORS_FROM_CXA_ATEXIT hook. + * ipa.c (cgraph_build_static_cdtor_1): Return the built + function decl. + (build_cxa_atexit_decl): New. + (build_dso_handle_decl): New. + (build_cxa_dtor_registrations): New. + (compare_cdtor_tu_order): New. + (build_cxa_atexit_fns): New. + (ipa_cdtor_merge): If dtors_from_cxa_atexit is set, + process the DTORs/CTORs accordingly. + (pass_ipa_cdtor_merge::gate): Also run if + dtors_from_cxa_atexit is set. + * target.def (dtors_from_cxa_atexit): New hook. + +2022-05-29 Iain Sandoe + + Backported from master: + 2021-07-09 Iain Sandoe + + PR target/100152 + * config/i386/i386-expand.c (ix86_expand_call): If a call is + to a non-local-binding, or local but to a public symbol, then + assume that it might be indirected via the lazy symbol binder. + Mark R10 and R10 as clobbered in that case. + +2022-05-29 Iain Sandoe + Vladimir Makarov + + PR target/104117 + * config/rs6000/rs6000.c (darwin_rs6000_legitimate_lo_sum_const_p): + Check for UNSPEC_MACHOPIC_OFFSET wrappers on symbolic addresses when + emitting PIC code. + (legitimate_lo_sum_address_p): Likewise. + (rs6000_legitimize_address): Do not apply the TLS processing to + Darwin. + * config/rs6000/darwin.md (@machopic_high_): New. + (@machopic_low_): New. + * config/rs6000/predicates.md (macho_pic_address): New. + +2022-05-29 Iain Sandoe + + PR target/80556 + * config/darwin-driver.c (darwin_driver_init): Handle exported + symbols and symbol lists (suppress automatic export of the TLS + symbols). + * config/darwin.c (darwin_rename_builtins): Remove workaround. + * config/darwin.h (LINK_GCC_C_SEQUENCE_SPEC): Likewise. + (REAL_LIBGCC_SPEC): Handle revised library uses. + * config/darwin.opt (nodefaultexport): New. + * config/i386/darwin.h (PR80556_WORKAROUND): Remove. + * config/i386/darwin32-biarch.h (PR80556_WORKAROUND): Likewise. + * config/i386/darwin64-biarch.h (PR80556_WORKAROUND): Likewise. + +2022-05-29 Iain Sandoe + + * config/darwin-driver.c (darwin_driver_init): Revise comments, handle + filelist and framework options in specs instead of code. Exit from the + option handling early if the command line is definitely enpty. + * config/darwin.h (SUBTARGET_DRIVER_SELF_SPECS): Update to handle link + specs that are really driver ones. Remove setting for the default content + of weak_reference_mismatches + (DARWIN_CC1_SPEC): Likewise. + (CPP_SPEC): Likewise. + (SYSROOT_SPEC): Append space. + (LINK_SYSROOT_SPEC): Remove most driver link specs. + (STANDARD_STARTFILE_PREFIX_2): Update link-related specs. + (STARTFILE_SPEC): Likewise. + (ASM_MMACOSX_VERSION_MIN_SPEC): Fix line wrap. + (ASM_SPEC): Update driver-related specs. + (ASM_FINAL_SPEC): Likewise. + (LINK_COMMAND_SPEC_A): Update 'r' handling to skip gomp and itm when r + or nodefaultlibs is given. + (DSYMUTIL_SPEC): Do not call dsymutil for '-r' link lines. + Update ordering of exclusions, remove duplicate 'v' addition + (collect2 will add this from the main command line). + * config/darwin.opt: Remove now unused option aliases. + * config/i386/darwin.h (EXTRA_ASM_OPTS): Ensure space after opt. + (ASM_SPEC): Update driver-related specs. + +2022-05-29 Iain Sandoe + + Backported from master: + 2021-09-19 Iain Sandoe + + * config/darwin.h (LINK_COMMAND_SPEC_A): Use Darwin10 + unwinder shim as a convenience library. + +2022-05-29 Iain Sandoe + + Backported from master: + 2021-10-13 Iain Sandoe + + * collect2.c (is_lto_object_file): Release simple-object + resources, close files. + +2022-05-29 Iain Sandoe + + Backported from master: + 2021-11-05 Iain Sandoe + + * config/darwin.h (ASM_GENERATE_INTERNAL_LABEL): Add LTRAMP + to the list of symbol prefixes that must be made linker- + visible. + +2022-05-29 Iain Sandoe + + Backported from master: + 2021-08-27 Iain Sandoe + + * config/darwin.c (finalize_ctors): Add a section-start linker- + visible symbol. + (finalize_dtors): Likewise. + * config/darwin.h (MIN_LD64_INIT_TERM_START_LABELS): New. + +2022-05-29 Iain Sandoe + + Backported from master: + 2021-08-17 Iain Sandoe + + * config/darwin.c (darwin_file_end): Reset and reclaim the + section names table at the end of compile. + +2022-05-29 Iain Sandoe + + Backported from master: + 2021-01-02 Iain Sandoe + + * config/darwin.h (MIN_LD64_NO_COAL_SECTS): Adjust. + Amend handling for LD64_VERSION fallback defaults. + +2022-05-29 Iain Sandoe + + * configure.ac: Handle --with-dsymutil in the same way as we + do for the assembler and linker. (DEFAULT_DSYMUTIL): New. + Extract the type and version for the dsymutil configured or + found by the default searches. + * config.in: Regenerated. + * configure: Regenerated. + * collect2.c (do_dsymutil): Handle locating dsymutil in the + same way as for the assembler and linker. + * config/darwin.h (DSYMUTIL): Delete. + * gcc.c: Report a configured dsymutil correctly. + * exec-tool.in: Allow for dsymutil. + * doc/install.texi: Document --with-dsymutil. + +2022-05-29 Iain Sandoe + + Backported from master: + 2021-09-28 Iain Sandoe + + * config/rs6000/darwin.h (FIXED_R13): Add for PPC64. + (FIRST_SAVED_GP_REGNO): Save from R13 even when it is one + of the fixed regs. + +2022-05-29 François-Xavier Coudert + + Backported from master: + 2021-12-18 François-Xavier Coudert + + * config/darwin-driver.c: Make version code more future-proof. + * config.gcc: Homogeneize darwin versions. + * configure.ac: Homogeneize darwin versions. + * configure: Regenerate. + +2022-05-29 Saagar Jha + + Backported from master: + 2021-10-27 Saagar Jha + + * config.gcc: Adjust for Darwin21. + * config/darwin-c.c (macosx_version_as_macro): Likewise. + * config/darwin-driver.c (validate_macosx_version_min): + Likewise. + (darwin_find_version_from_kernel): Likewise. + +2022-05-29 Iain Sandoe + + Backported from master: + 2021-08-17 Iain Sandoe + + PR target/100340 + * config.in: Regenerate. + * config/i386/darwin.h (EXTRA_ASM_OPTS): New + (ASM_SPEC): Pass options to disable branch shortening where + needed. + * configure: Regenerate. + * configure.ac: Detect versions of 'as' that support the + optimisation which has the bug. + +2022-05-29 Iain Sandoe + + Backported from master: + 2022-03-04 Iain Sandoe + + * config/darwin.c (darwin_fold_builtin): Make fcode an int to + avoid a mismatch with DECL_MD_FUNCTION_CODE(). + 2022-05-27 Richard Biener Backported from master: diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 6f2e255c6fb..158b96c0da4 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20220529 +20220530 diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index d73eab437b4..c6cd735c002 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -1,3 +1,16 @@ +2022-05-29 Iain Sandoe + + Backported from master: + 2021-08-18 Iain Sandoe + Matt Jacobson + + PR objc/101666 + * objc-act.c (objc_build_constructor): Handle empty constructor + lists. + * objc-next-runtime-abi-02.c (build_v2_objc_method_fixup_call): + Handle nil receivers. + (build_v2_build_objc_method_call): Likewise. + 2021-04-08 Release Manager * GCC 10.3.0 released. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a95d7a35f80..b1e55de2af6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,46 @@ +2022-05-29 Richard Biener + + Backported from master: + 2022-03-28 Richard Biener + + * gcc.dg/torture/pr100786.c: Add dg-require alias. + +2022-05-29 Iain Sandoe + + Backported from master: + 2021-03-04 Iain Sandoe + + * lib/prune.exp: Prune useless output caused by a linker bug. + +2022-05-29 Iain Sandoe + + Backported from master: + 2021-08-18 Iain Sandoe + Matt Jacobson + + PR objc/101666 + * obj-c++.dg/pr101666-0.mm: New test. + * obj-c++.dg/pr101666-1.mm: New test. + * obj-c++.dg/pr101666.inc: New. + * objc.dg/pr101666-0.m: New test. + * objc.dg/pr101666-1.m: New test. + * objc.dg/pr101666.inc: New. + +2022-05-29 Iain Sandoe + + * gcc.dg/torture/fp-int-convert-timode-3.c: Remove XFAIL. + * gcc.dg/torture/fp-int-convert-timode-4.c: Likewise. + +2022-05-29 François-Xavier Coudert + + Backported from master: + 2021-12-18 François-Xavier Coudert + + * gcc.dg/darwin-minversion-link.c: Test darwin21. + * obj-c++.dg/cxx-ivars-3.mm: Homogeneize darwin versions. + * obj-c++.dg/objc-gc-3.mm: Homogeneize darwin versions. + * objc.dg/objc-gc-4.m: Homogeneize darwin versions. + 2022-05-27 Kewen Lin Backported from master: diff --git a/libcc1/ChangeLog b/libcc1/ChangeLog index 2cbcae0fb73..9b54522158b 100644 --- a/libcc1/ChangeLog +++ b/libcc1/ChangeLog @@ -1,3 +1,8 @@ +2022-05-29 Iain Sandoe + + * Makefile.am: Switch mdynamic-no-pic to fPIC. + * Makefile.in: Regenerated. + 2021-04-08 Release Manager * GCC 10.3.0 released. diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index dcaf7ec62fc..b745287944a 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,50 @@ +2022-05-29 Iain Sandoe + + * config.host: Add weak emutls crt to the extra_parts. + (*-*-darwin*): Add logic to build a shared unwinder library for + Darwin8-10. Add shim declaration header to powerpc*-darwin builds. + * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove + workaround. + * config/libgcc-libsystem.ver: Add exclude list for the system- + provided unwinder. + * config/t-slibgcc-darwin: Bump SO version, remove stubs code. + Build a legacy libgcc_s.1 and the supporting pieces (all FAT libs). + * config/t-darwin-ehs: Add dependencies to the shared unwinder + objects. Add dependency on unwind.h. + * config/t-darwin: Reorganise the EH fragments to place them for + inclusion in a shared EH lib. Add libgcc_tm.h to the dependencies + for darwin10-unwind-find-enc-func. + * config/i386/libgcc-darwin.10.4.ver: Removed. + * config/i386/libgcc-darwin.10.5.ver: Removed. + * config/rs6000/libgcc-darwin.10.4.ver: Removed. + * config/rs6000/libgcc-darwin.10.5.ver: Removed. + * config/i386/t-darwin: Build legacy libgcc_s.1. + * config/rs6000/t-darwin: Likewise. + * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end + file. Add darwin-fallback.o. + * config/darwin-unwind.ver: New file. + * config/i386/libgcc-darwin.ver: New file. + +2022-05-29 Iain Sandoe + + Backported from master: + 2021-11-19 Iain Sandoe + + * config/t-darwin: Build weak-defined emutls objects. + * emutls.c (__emutls_get_address): Add optional attributes. + (__emutls_register_common): Likewise. + (EMUTLS_ATTR): New. + +2022-05-29 Iain Sandoe + + Backported from master: + 2021-09-19 Iain Sandoe + + * config.host: Use convenience library for Darwin10 + unwinder shim. + * config/t-darwin: Build Darwin10 unwinder shim as a + convenience library. + 2022-05-16 Sebastian Pop PR target/105162 diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index c9c59503e1d..f96a1cb6949 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,21 @@ +2022-05-29 Iain Sandoe + + Backported from master: + 2021-09-01 Iain Sandoe + + * configure: Regenerate. + * configure.ac: Do not search for sbrk on Darwin. + * xmalloc.c: Do not declare sbrk unless it has been found + by configure. + +2022-05-29 Iain Sandoe + + Backported from master: + 2021-08-18 Iain Sandoe + + * simple-object-mach-o.c (simple_object_mach_o_write_segment): + Arrange to swap the LTO index tables where needed. + 2022-05-10 Jakub Jelinek Backported from master: diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 8164addae87..809fddcbdf6 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,18 @@ +2022-05-29 Iain Sandoe + + Backported from master: + 2021-03-15 Iain Sandoe + + * testsuite/17_intro/names.cc: Exclude j from the list + of test symbols for Darwin. + +2022-05-29 Iain Sandoe + + Backported from master: + 2021-11-19 Iain Sandoe + + * testsuite/lib/prune.exp: Prune dsymutil (ld64) warning. + 2022-05-16 Jonathan Wakely Backported from master: