aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2020-10-12 00:16:25 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2020-10-12 00:16:25 +0000
commit2baa36d4911940a068e63f2ee4298c13f92cf8d9 (patch)
tree8e9fb9ab40854769deb67d5c04c26294e52f26eb /gcc
parent2ad4120746f401959637e467112cb768f945463d (diff)
downloadgcc-2baa36d4911940a068e63f2ee4298c13f92cf8d9.zip
gcc-2baa36d4911940a068e63f2ee4298c13f92cf8d9.tar.gz
gcc-2baa36d4911940a068e63f2ee4298c13f92cf8d9.tar.bz2
Daily bump.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog25
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/ada/ChangeLog7
-rw-r--r--gcc/objc/ChangeLog66
-rw-r--r--gcc/testsuite/ChangeLog75
5 files changed, 174 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1c195bb..a5dadb9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,28 @@
+2020-10-11 Iain Sandoe <iain@sandoe.co.uk>
+
+ * config/darwin.c (darwin_globalize_label): Make a subset of
+ metadate symbols global.
+ (darwin_label_is_anonymous_local_objc_name): Make a subset of
+ metadata symbols linker-visible.
+ (darwin_override_options): Track more target OS versions, make
+ the next_runtime version track this (unless it's set to 0 for
+ GNU runtime).
+
+2020-10-11 Iain Sandoe <iain@sandoe.co.uk>
+
+ * config/darwin.c (darwin_globalize_label): Add protocol
+ meta-data labels to the set that are global.
+ (darwin_label_is_anonymous_local_objc_name): Arrange for meta-
+ data start labels to be linker-visible.
+
+2020-10-11 Iain Sandoe <iain@sandoe.co.uk>
+
+ * config/darwin.c (darwin_objc2_section): Allow for
+ values > 1 to represent the next runtime.
+ (darwin_objc1_section): Likewise.
+ * config/darwin.h (NEXT_OBJC_RUNTIME): Set the default
+ next runtime value to be 10.5.8.
+
2020-10-10 Jan Hubicka <jh@suse.cz>
* ipa-modref.c (modref_transform): Fix parameter map computation.
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index d02c1f7..0237336 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20201011
+20201012
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index d6e7b4c..98e0f45 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,10 @@
+2020-10-11 Alexandre Oliva <oliva@adacore.com>
+
+ * libgnat/a-numaux.ads: Make all imports Intrinsic.
+ * libgnat/a-numaux__darwin.ads: Likewise.
+ * libgnat/a-numaux__libc-x86.ads: Likewise.
+ * libgnat/a-numaux__vxworks.ads: Likewise.
+
2020-09-28 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/trans.c (Subprogram_Body_to_gnu): Set the end locus
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog
index 065dba6..f69d2d7 100644
--- a/gcc/objc/ChangeLog
+++ b/gcc/objc/ChangeLog
@@ -1,3 +1,69 @@
+2020-10-11 Iain Sandoe <iain@sandoe.co.uk>
+
+ * objc-next-runtime-abi-02.c
+ (create_global_decl): Update to allow the caller to
+ specify declaration or definition.
+ (create_hidden_decl): Likewise.
+ (next_runtime_abi_02_protocol_decl): Make the symbol
+ weak and hidden for later OS runtime versions.
+ (build_v2_protocol_list_address_table): Likewise.
+
+2020-10-11 Iain Sandoe <iain@sandoe.co.uk>
+
+ * objc-next-runtime-abi-02.c (objc_v2_build_ivar_ref): Test
+ DECL_C_BIT_FIELD to detect that an ivar is a bitfield.
+
+2020-10-11 Iain Sandoe <iain@sandoe.co.uk>
+
+ * objc-next-runtime-abi-02.c (FIXUP_NEEDED): Rename ...
+ (USE_FIXUP_BEFORE): ... to this.
+ (next_runtime_02_initialize): Likewise.
+ (next_runtime_abi_02_get_arg_type_list_base): Likewise.
+ (next_runtime_abi_02_build_objc_method_call): Likewise.
+
+2020-10-11 Iain Sandoe <iain@sandoe.co.uk>
+
+ * objc-next-runtime-abi-02.c (TAG_MSGSENDSUPER): Revised
+ spelling.
+ (TAG_MSGSENDID): Likewise.
+ (TAG_MSGSENDSUPER_STRET): Likewise.
+ (TAG_MSGSENDID_STRET): Likewise.
+ (FIXUP_NEEDED): Likewise.
+ (TAG_FIXUP): New.
+ (next_runtime_02_initialize): Adjust message calls to use
+ fixup variants only when required.
+ (next_runtime_abi_02_get_arg_type_list_base): Correct
+ indent.
+ (build_v2_build_objc_method_call): New.
+ (build_v2_objc_method_fixup_call): Split out from ...
+ (next_runtime_abi_02_build_objc_method_call): ... here.
+ Arrange to adjust the call on the basis of the target
+ runtime.
+
+2020-10-11 Iain Sandoe <iain@sandoe.co.uk>
+
+ * objc-runtime-shared-support.c (start_var_decl): Make the
+ decl_assembler_name follow the metadata name for C++ on NeXT
+ runtime platforms.
+
+2020-10-11 Iain Sandoe <iain@sandoe.co.uk>
+
+ * objc-next-runtime-abi-02.c
+ (next_runtime_abi_02_category_decl): Adjust category
+ superclass name ordering.
+
+2020-10-11 Iain Sandoe <iain@sandoe.co.uk>
+
+ * objc-next-runtime-abi-02.c (build_v2_super_template): Add new
+ fields to the template.
+ (build_v2_protocol_template): Build new field entries.
+ (generate_v2_meth_descriptor_table): Adjust to allow recording all
+ method types.
+ (generate_v2_meth_type_list): New.
+ (build_v2_protocol_initializer): Initialize the additional fields.
+ (generate_v2_protocols): Record method types for all entries and
+ generate the additional method type table.
+
2020-10-10 Iain Sandoe <iain@sandoe.co.uk>
* objc-next-runtime-abi-02.c
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 6f549b3..12c7d8f 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,78 @@
+2020-10-11 Iain Sandoe <iain@sandoe.co.uk>
+
+ * obj-c++.dg/plugin/diagnostic-test-expressions-1.mm:
+ Adjust testcase to include expressions for @selector and
+ @protocol. XFAIL where this is still not sufficient to obtain
+ a disgnostic range.
+
+2020-10-11 Iain Sandoe <iain@sandoe.co.uk>
+
+ * objc-obj-c++-shared/TestsuiteObject.h: Add dummy retain and
+ release method declarations.
+ * objc-obj-c++-shared/TestsuiteObject.m: Add dummy retain and
+ release implementations.
+
+2020-10-11 Iain Sandoe <iain@sandoe.co.uk>
+
+ * obj-c++.dg/objc-gc-3.mm:i Skip for Darwin >= 16.
+
+2020-10-11 Iain Sandoe <iain@sandoe.co.uk>
+
+ * obj-c++.dg/cxx-ivars-3.mm: Skip for macOS >= 10.7.
+
+2020-10-11 Iain Sandoe <iain@sandoe.co.uk>
+
+ * obj-c++.dg/gnu-api-2-class-meta.mm: Add a flag to cause NeXT
+ headers to expose prototypes for messaging.
+ * obj-c++.dg/gnu-api-2-class.mm: Likewise.
+ * obj-c++.dg/gnu-api-2-objc.mm: Skip this because of the extra
+ protocols pulled in by system headers.
+
+2020-10-11 Iain Sandoe <iain@sandoe.co.uk>
+
+ * objc.dg/plugin/diagnostic-test-expressions-1.m: Use assignment
+ expressions for @selector and @protocol to obtain a useful
+ diagnostic range.
+
+2020-10-11 Iain Sandoe <iain@sandoe.co.uk>
+
+ * objc.dg/call-super-2.m: Remove inclusion of runtime.h.
+ Add a FIXME about the test portability.
+
+2020-10-11 Iain Sandoe <iain@sandoe.co.uk>
+
+ * objc.dg/torture/forward-1.m: Implement forwarding using the
+ native NeXT (NSInvocation) method for Darwin.
+
+2020-10-11 Iain Sandoe <iain@sandoe.co.uk>
+
+ * objc.dg/ivar-scope-4.m: Add inititialize method to the
+ root class.
+
+2020-10-11 Iain Sandoe <iain@sandoe.co.uk>
+
+ * objc.dg/gnu-api-2-class-meta.m: Add a flag to cause NeXT
+ headers to expose prototypes for messaging. Mark the root
+ class if the objc_root_class attribute is available. Use
+ char ** as the second arg to main.
+ * objc.dg/gnu-api-2-class.m: Use dispatch prototype.
+ * objc.dg/gnu-api-2-objc.m: Skip on NeXT because of extra
+ prototypes pulled in by headers.
+
+2020-10-11 Iain Sandoe <iain@sandoe.co.uk>
+
+ * objc.dg/objc-gc-4.m: Disable for macOS 10.15 and 11.x.
+
+2020-10-11 Iain Sandoe <iain@sandoe.co.uk>
+
+ * objc-obj-c++-shared/TestsuiteObject.h: If the compiler
+ supports objc_root_object attributes, then mark the testsuite
+ object accordingly.
+ * objc-obj-c++-shared/TestsuiteObject.m: Avoid direct access
+ to isa, which is an error for modern Objective-C.
+ * objc/execute/class-tests-1.h: Declare a string function we
+ use locally (avoid pulling in the whole of string.h).
+
2020-10-10 Iain Sandoe <iain@sandoe.co.uk>
* gcc.dg/darwin-sections.c: Adjust test for renamed BSS and common