]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Mon, 30 May 2022 00:17:28 +0000 (00:17 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Mon, 30 May 2022 00:17:28 +0000 (00:17 +0000)
ChangeLog
config/ChangeLog
gcc/ChangeLog
gcc/DATESTAMP
gcc/objc/ChangeLog
gcc/testsuite/ChangeLog
libcc1/ChangeLog
libgcc/ChangeLog
libiberty/ChangeLog
libstdc++-v3/ChangeLog

index 4e6f61ddbe3d32c31c85b11eac674c90025afda2..cd69a66f9701bcbfe1fa7c67c75592b4ad9a9389 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,29 @@
+2022-05-29  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * 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  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-08-18  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * Makefile.in: Regenerate.
+       * Makefile.tpl: Make the state of the configured host
+       shared flag available to makefile fragements.
+
+2022-05-29  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-07-09  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * 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.
index 39ae1c5c28cdbbe11a40f6943ca9a40f5d3650c7..b78ba4e6be115177dd924001d97a3a40fc00c1f9 100644 (file)
@@ -1,3 +1,19 @@
+2022-05-29  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-08-18  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * mh-darwin: Require a non-shared host configuration to
+       enable  mdynamic-no-pic where that is supported.
+
+2022-05-29  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-07-09  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * mh-darwin: Make this specific to handling the
+       mdynamic-no-pic case.
+
 2021-12-16  Martin Storsjö  <martin@martin.st>
 
        Backported from master:
index f40e07ca8ffdd106be3a74bedc2a89a1f58c96c6..6380814c3f0cd52f17c8efb1d6530e97be173e20 100644 (file)
@@ -1,3 +1,208 @@
+2022-05-29  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-11-15  Iain Sandoe  <iain@sandoe.co.uk>
+
+       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  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-07-09  Iain Sandoe  <iain@sandoe.co.uk>
+
+       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  <iain@sandoe.co.uk>
+           Vladimir Makarov  <vmakarov@redhat.com>
+
+       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_<mode>): New.
+       (@machopic_low_<mode>): New.
+       * config/rs6000/predicates.md (macho_pic_address): New.
+
+2022-05-29  Iain Sandoe  <iain@sandoe.co.uk>
+
+       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  <iain@sandoe.co.uk>
+
+       * 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  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * config/darwin.h (LINK_COMMAND_SPEC_A): Use Darwin10
+       unwinder shim as a convenience library.
+
+2022-05-29  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-10-13  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * collect2.c (is_lto_object_file): Release simple-object
+       resources, close files.
+
+2022-05-29  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-11-05  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * 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  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-08-27  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * 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  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-08-17  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * config/darwin.c (darwin_file_end): Reset and reclaim the
+       section names table at the end of compile.
+
+2022-05-29  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-01-02  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * config/darwin.h (MIN_LD64_NO_COAL_SECTS): Adjust.
+       Amend handling for LD64_VERSION fallback defaults.
+
+2022-05-29  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * 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  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-09-28  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * 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  <fxcoudert@gcc.gnu.org>
+
+       Backported from master:
+       2021-12-18  François-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       * 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  <saagar@saagarjha.com>
+
+       Backported from master:
+       2021-10-27  Saagar Jha  <saagar@saagarjha.com>
+
+       * 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  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-08-17  Iain Sandoe  <iain@sandoe.co.uk>
+
+       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  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2022-03-04  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * config/darwin.c (darwin_fold_builtin): Make fcode an int to
+       avoid a mismatch with DECL_MD_FUNCTION_CODE().
+
 2022-05-27  Richard Biener  <rguenther@suse.de>
 
        Backported from master:
index 6f2e255c6fb4eccbae4deed931eafded548eb2cd..158b96c0da4b04cead54f89daa29e5f720111cef 100644 (file)
@@ -1 +1 @@
-20220529
+20220530
index d73eab437b430c310927736d290a05ee8c08ab90..c6cd735c0020f91e78d8d0098c5b3b508d54851a 100644 (file)
@@ -1,3 +1,16 @@
+2022-05-29  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-08-18  Iain Sandoe  <iain@sandoe.co.uk>
+                   Matt Jacobson   <mhjacobson@me.com>
+
+       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.
index a95d7a35f808780de635778280ebf8e0d0df7149..b1e55de2af6b1468556cf32de6c5366202b26fda 100644 (file)
@@ -1,3 +1,46 @@
+2022-05-29  Richard Biener  <rguenther@suse.de>
+
+       Backported from master:
+       2022-03-28  Richard Biener  <rguenther@suse.de>
+
+       * gcc.dg/torture/pr100786.c: Add dg-require alias.
+
+2022-05-29  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-03-04  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * lib/prune.exp: Prune useless output caused by a linker bug.
+
+2022-05-29  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-08-18  Iain Sandoe  <iain@sandoe.co.uk>
+                   Matt Jacobson   <mhjacobson@me.com>
+
+       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  <iain@sandoe.co.uk>
+
+       * 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  <fxcoudert@gcc.gnu.org>
+
+       Backported from master:
+       2021-12-18  François-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       * 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  <linkw@linux.ibm.com>
 
        Backported from master:
index 2cbcae0fb73527220ec4a6d50c94ddf6103d9461..9b54522158bdae9de57867d0fc82cf197fd6b3cf 100644 (file)
@@ -1,3 +1,8 @@
+2022-05-29  Iain Sandoe  <iainsandoe@Apollo-1-leo.local>
+
+       * Makefile.am: Switch mdynamic-no-pic to fPIC.
+       * Makefile.in: Regenerated.
+
 2021-04-08  Release Manager
 
        * GCC 10.3.0 released.
index dcaf7ec62fc3de4dacd2f712266e29b585119e00..b745287944a7ebae7b4fa3e0d37a9d25ed376223 100644 (file)
@@ -1,3 +1,50 @@
+2022-05-29  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * 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  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * 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  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * 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  <spop@amazon.com>
 
        PR target/105162
index c9c59503e1d27bc12d3bfad791c6db5e72a3f2e3..f96a1cb6949fcff9fbb0984694a23ea4505a79c5 100644 (file)
@@ -1,3 +1,21 @@
+2022-05-29  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-09-01  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * 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  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-08-18  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * 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  <jakub@redhat.com>
 
        Backported from master:
index 8164addae87357f6e7e0786491f1222b7eaf7cf4..809fddcbdf694894537cb62250652351a8c4dbc1 100644 (file)
@@ -1,3 +1,18 @@
+2022-05-29  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-03-15  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * testsuite/17_intro/names.cc: Exclude j from the list
+       of test symbols for Darwin.
+
+2022-05-29  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backported from master:
+       2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * testsuite/lib/prune.exp: Prune dsymutil (ld64) warning.
+
 2022-05-16  Jonathan Wakely  <jwakely@redhat.com>
 
        Backported from master: