From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 6D2A9385734E; Fri, 15 Apr 2022 00:19:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6D2A9385734E 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 r11-9882] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/releases/gcc-11 X-Git-Oldrev: 537dca0ff589bed0c67ecf84b21c837590b7b792 X-Git-Newrev: 2da53bbd01483be6d96e1b28433d4dee098580ff Message-Id: <20220415001927.6D2A9385734E@sourceware.org> Date: Fri, 15 Apr 2022 00:19:27 +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: Fri, 15 Apr 2022 00:19:27 -0000 https://gcc.gnu.org/g:2da53bbd01483be6d96e1b28433d4dee098580ff commit r11-9882-g2da53bbd01483be6d96e1b28433d4dee098580ff Author: GCC Administrator Date: Fri Apr 15 00:18:46 2022 +0000 Daily bump. Diff: --- ChangeLog | 35 +++++++++ config/ChangeLog | 16 ++++ gcc/ChangeLog | 191 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/jit/ChangeLog | 18 +++++ gcc/testsuite/ChangeLog | 38 ++++++++++ libcc1/ChangeLog | 5 ++ libgcc/ChangeLog | 74 +++++++++++++++++++ libiberty/ChangeLog | 18 +++++ libstdc++-v3/ChangeLog | 19 +++++ 10 files changed, 415 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5293511e9c2..2b828fe536d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,38 @@ +2022-04-14 Iain Sandoe + + Backported from master: + 2021-11-16 Iain Sandoe + + * configure: Regenerate. + * configure.ac: Ensure that PIC (shared) defaults are set + correctly for Darwin. + +2022-04-14 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-04-14 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-04-14 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-07-28 Release Manager * GCC 11.2.0 released. diff --git a/config/ChangeLog b/config/ChangeLog index 96231ed79a1..a94e989b0dd 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,19 @@ +2022-04-14 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-04-14 Iain Sandoe + + Backported from master: + 2021-07-09 Iain Sandoe + + * mh-darwin: Make this specific to handling the + mdynamic-no-pic case. + 2021-07-28 Release Manager * GCC 11.2.0 released. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c4bce79b2ca..78b27c4e6cb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,194 @@ +2022-04-14 Andreas Krebbel + + Backported from master: + 2022-04-12 Andreas Krebbel + + * common/config/s390/s390-common.c: Rename PF_ARCH14 to PF_Z16. + * config.gcc: Add z16 as march/mtune switch. + * config/s390/driver-native.c (s390_host_detect_local_cpu): + Recognize z16 with -march=native. + * config/s390/s390-opts.h (enum processor_type): Rename + PROCESSOR_ARCH14 to PROCESSOR_3931_Z16. + * config/s390/s390.c (PROCESSOR_ARCH14): Rename to ... + (PROCESSOR_3931_Z16): ... throughout the file. + (s390_processor processor_table): Add z16 as cpu string. + * config/s390/s390.h (enum processor_flags): Rename PF_ARCH14 to + PF_Z16. + (TARGET_CPU_ARCH14): Rename to ... + (TARGET_CPU_Z16): ... this. + (TARGET_CPU_ARCH14_P): Rename to ... + (TARGET_CPU_Z16_P): ... this. + (TARGET_ARCH14): Rename to ... + (TARGET_Z16): ... this. + (TARGET_ARCH14_P): Rename to ... + (TARGET_Z16_P): ... this. + * config/s390/s390.md (cpu_facility): Rename arch14 to z16 and + check TARGET_Z16 instead of TARGET_ARCH14. + * config/s390/s390.opt: Add z16 to processor_type. + * doc/invoke.texi: Document z16 and arch14. + +2022-04-14 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-04-14 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-04-14 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-04-14 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-04-14 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-04-14 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-04-14 Iain Sandoe + + Backported from master: + 2021-10-13 Iain Sandoe + + * collect2.c (is_lto_object_file): Release simple-object + resources, close files. + +2022-04-14 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-04-14 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-04-14 Iain Sandoe + + Backported from master: + 2021-09-14 Iain Sandoe + + * Makefile.in: Remove variables related to applying no-PIE + to the exes on $build. + * configure: Regenerate. + * configure.ac: Remove configuration related to applying + no-PIE to the exes on $build. + +2022-04-14 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-04-14 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-04-14 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-04-13 Jakub Jelinek Backported from master: diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 343bc37b8b7..28f4959c39b 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20220414 +20220415 diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog index 5c33bda7803..dc416bfbfbd 100644 --- a/gcc/jit/ChangeLog +++ b/gcc/jit/ChangeLog @@ -1,3 +1,21 @@ +2022-04-14 Iain Sandoe + + Backported from master: + 2021-08-19 Iain Sandoe + + * docs/examples/tut04-toyvm/toyvm.c: Include jit-dejagnu.h. + * docs/examples/tut04-toyvm/toyvm.cc: Likewise. + * jit-dejagnu.h: New file, imported from dejagnu-1.6.2 and + patched for this application. + +2022-04-14 Iain Sandoe + + Backported from master: + 2021-08-18 Iain Sandoe + + PR jit/100613 + * Make-lang.in: Provide clauses for Darwin hosts. + 2021-12-11 David Malcolm PR jit/103562 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0c0b50ceb59..db79926cb4e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,41 @@ +2022-04-14 Iain Sandoe + + * gcc.dg/torture/fp-int-convert-timode-3.c: Remove XFAIL. + * gcc.dg/torture/fp-int-convert-timode-4.c: Likewise. + +2022-04-14 Iain Sandoe + + Backported from master: + 2021-09-19 Iain Sandoe + + * jit.dg/jit.exp (fixed_local_execute): Amend the match and + exit conditions to cater for more platforms. + +2022-04-14 Iain Sandoe + + Backported from master: + 2021-08-29 Iain Sandoe + + * gcc.dg/analyzer/strndup-1.c: Skip for Darwin versions + without strndup support in libc. + +2022-04-14 Iain Sandoe + + Backported from master: + 2021-08-19 Iain Sandoe + + * jit.dg/test-asm.c: Provide Mach-O fragment. + * jit.dg/test-asm.cc: Likewise. + +2022-04-14 Iain Sandoe + + Backported from master: + 2021-08-19 Iain Sandoe + + * jit.dg/harness.h: Include jit-dejagnu.h. + * jit.dg/jit.exp: Use -rdynamic conditionally on target + support, instead of unconditional -Wl,--export-dynamic. + 2022-04-13 Jakub Jelinek Backported from master: diff --git a/libcc1/ChangeLog b/libcc1/ChangeLog index f4cf4c2de74..06ec98857ff 100644 --- a/libcc1/ChangeLog +++ b/libcc1/ChangeLog @@ -1,3 +1,8 @@ +2022-04-14 Iain Sandoe + + * Makefile.am: Switch mdynamic-no-pic to fPIC. + * Makefile.in: Regenerated. + 2021-07-28 Release Manager * GCC 11.2.0 released. diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 95bf7947da8..ec64f809715 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,77 @@ +2022-04-14 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-04-14 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-04-14 Iain Sandoe + + Backported from master: + 2021-11-05 Iain Sandoe + + * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h. + * config/i386/darwin-lib.h: Declare Darwin10 crt function. + +2022-04-14 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-04-14 Iain Sandoe + + Backported from master: + 2021-09-22 Iain Sandoe + + * config/i386/sfp-machine.h: Guard Mach-O-specific code + using __APPLE__. + +2022-04-14 Iain Sandoe + + Backported from master: + 2021-09-03 Iain Sandoe + + * config/i386/sfp-machine.h (alias_SFtype + alias_DFtype, alias_TFtype): New. + (ALIAS_SELECTOR): New. + (strong_alias): Use __typeof and a _Generic selector to + provide the type to the synthesized function. + 2022-03-30 Nelson Chu Backported from master: diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index fa6d64caaf2..35623781eb8 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,21 @@ +2022-04-14 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-04-14 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-03-29 Jakub Jelinek Backported from master: diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 89911f17c28..5047d19c941 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,22 @@ +2022-04-14 Jonathan Wakely + + * doc/xml/manual/status_cxx1998.xml: Refer to GCC 11 not + mainline. + * doc/xml/manual/status_cxx2011.xml: Likewise. + * doc/xml/manual/status_cxx2014.xml: Likewise. + * doc/xml/manual/status_cxx2017.xml: Likewise. + * doc/xml/manual/status_cxx2020.xml: Likewise. + * doc/xml/manual/status_cxxtr1.xml: Likewise. + * doc/xml/manual/status_cxxtr24733.xml: Likewise. + * doc/html/manual/status.html: Regenerate. + +2022-04-14 Iain Sandoe + + Backported from master: + 2021-11-19 Iain Sandoe + + * testsuite/lib/prune.exp: Prune dsymutil (ld64) warning. + 2022-04-12 Jonathan Wakely Backported from master: