[gcc r10-9540] Daily bump.
GCC Administrator
gccadmin@gcc.gnu.org
Thu Mar 25 00:18:09 GMT 2021
https://gcc.gnu.org/g:079f2a1a62cc67d36f6321dcdb98dae693f88e5c
commit r10-9540-g079f2a1a62cc67d36f6321dcdb98dae693f88e5c
Author: GCC Administrator <gccadmin@gcc.gnu.org>
Date: Thu Mar 25 00:17:35 2021 +0000
Daily bump.
Diff:
---
gcc/ChangeLog | 51 +++++++++++++++++
gcc/DATESTAMP | 2 +-
gcc/c-family/ChangeLog | 25 +++++++++
gcc/c/ChangeLog | 7 +++
gcc/cp/ChangeLog | 29 ++++++++++
gcc/objc/ChangeLog | 82 ++++++++++++++++++++++++++++
gcc/testsuite/ChangeLog | 142 ++++++++++++++++++++++++++++++++++++++++++++++++
7 files changed, 337 insertions(+), 1 deletion(-)
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b02234eab9e..6cdb053fd32 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,54 @@
+2021-03-24 Iain Sandoe <iain@sandoe.co.uk>
+
+ * config/darwin.c (output_objc_section_asm_op): Avoid extra
+ objective-c section switches unless the linker needs them.
+ * config/darwin.c (darwin_objc2_section): Allow for
+ values > 1 to represent the next runtime.
+ (darwin_objc1_section): Likewise.
+ * config/darwin.c (darwin_globalize_label): Add protocol
+ meta-data labels to the set that are global. 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).
+ * config/darwin.h (NEXT_OBJC_RUNTIME): Set the default
+ next runtime value to be 10.5.8.
+
+2021-03-24 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/99540
+ * config/aarch64/aarch64.c (aarch64_add_offset): Tell
+ expand_mult to perform an unsigned rather than a signed
+ multiplication.
+
+2021-03-24 Richard Biener <rguenther@suse.de>
+
+ Backported from master:
+ 2021-03-15 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/98834
+ * tree-ssa-sccvn.c (vn_reference_lookup_3): Handle missing
+ subsetting by truncating the access size.
+
+2021-03-24 Richard Biener <rguenther@suse.de>
+
+ Backported from master:
+ 2021-02-08 Richard Biener <rguenther@suse.de>
+
+ PR lto/96591
+ * tree.c (walk_tree_1): Walk VECTOR_CST elements.
+
+2021-03-24 Richard Biener <rguenther@suse.de>
+
+ Backported from master:
+ 2021-03-22 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/99694
+ * tree-ssa-sccvn.c (visit_phi): Ignore edges with the
+ PHI result.
+
2021-03-23 H.J. Lu <hjl.tools@gmail.com>
Backported from master:
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 991050a66d6..60c2325289b 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20210324
+20210325
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 8cb3658693c..c0bef675713 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,28 @@
+2021-03-24 Iain Sandoe <iain@sandoe.co.uk>
+
+ * c-common.c (c_common_reswords): Add 'atomic' property
+ attribute.
+ * c-common.h (enum rid): Add RID_PROPATOMIC for atomic
+ property attributes.
+
+2021-03-24 Iain Sandoe <iain@sandoe.co.uk>
+
+ * c-objc.h (enum objc_property_attribute_group): New
+ (enum objc_property_attribute_kind): New.
+ (OBJC_PROPATTR_GROUP_MASK): New.
+ (struct property_attribute_info): Small class encapsulating
+ parser output from property attributes.
+ (objc_prop_attr_kind_for_rid): New
+ (objc_add_property_declaration): Simplify interface.
+ * stub-objc.c (enum rid): Dummy type.
+ (objc_add_property_declaration): Simplify interface.
+ (objc_prop_attr_kind_for_rid): New.
+
+2021-03-24 Iain Sandoe <iain@sandoe.co.uk>
+
+ * c-lex.c (c_lex_with_flags): When combining '@' with a
+ keyword for Objective-C, combine the location ranges too.
+
2021-03-19 Jakub Jelinek <jakub@redhat.com>
Backported from master:
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index e382ce56e25..602f827ea35 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,10 @@
+2021-03-24 Iain Sandoe <iain@sandoe.co.uk>
+
+ * c-parser.c (c_parser_objc_at_property_declaration):
+ Improve parsing fidelity. Associate better location info
+ with @property attributes. Clean up the interface to
+ objc_add_property_declaration ().
+
2021-03-19 Jakub Jelinek <jakub@redhat.com>
Backported from master:
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 17f1b3471f0..c6dc4897207 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,32 @@
+2021-03-24 Iain Sandoe <iain@sandoe.co.uk>
+
+ Backported from master:
+ 2021-03-18 Iain Sandoe <iain@sandoe.co.uk>
+
+ PR objc++/49070
+ * parser.c (cp_debug_parser): Add Objective-C++ message
+ state flag.
+ (cp_parser_nested_name_specifier_opt): Allow colon to
+ terminate an assignment-expression when parsing Objective-
+ C++ messages.
+ (cp_parser_objc_message_expression): Set and clear message
+ parsing state on entry and exit.
+ * parser.h (struct cp_parser): Add a context flag for
+ Objective-C++ message state.
+
+2021-03-24 Iain Sandoe <iain@sandoe.co.uk>
+
+ * parser.c (cp_parser_objc_at_property_declaration):
+ Improve parsing fidelity. Associate better location info
+ with @property attributes. Clean up the interface to
+ objc_add_property_declaration ().
+
+2021-03-24 Iain Sandoe <iain@sandoe.co.uk>
+
+ * parser.c (cp_parser_objc_at_property_declaration): Use any
+ exisiting syntax error to suppress complaints about a missing
+ closing parenthesis in parsing property attributes.
+
2021-03-22 Iain Sandoe <iain@sandoe.co.uk>
Backported from master:
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog
index e636f8902f9..0b7c83b0a10 100644
--- a/gcc/objc/ChangeLog
+++ b/gcc/objc/ChangeLog
@@ -1,3 +1,85 @@
+2021-03-24 Iain Sandoe <iain@sandoe.co.uk>
+
+ Backported from master:
+ 2020-11-01 Iain Sandoe <iain@sandoe.co.uk>
+
+ * objc-act.c (synth_module_prologue): Get the SEL identifier.
+ * objc-act.h (enum objc_tree_index): Add OCTI_SEL_NAME.
+ (objc_selector_name): New.
+ (SEL_TYPEDEF_NAME): New.
+ * objc-gnu-runtime-abi-01.c
+ (gnu_runtime_01_initialize): Initialize SEL typedef.
+ * objc-next-runtime-abi-01.c
+ (next_runtime_01_initialize): Likewise.
+ * objc-next-runtime-abi-02.c
+
+2021-03-24 Iain Sandoe <iain@sandoe.co.uk>
+
+ Backported from master:
+ 2020-11-06 Iain Sandoe <iain@sandoe.co.uk>
+
+ * objc-act.c (start_class): Accept visibility attributes
+ without warning.
+
+2021-03-24 Iain Sandoe <iain@sandoe.co.uk>
+
+ * objc-act.c (objc_prop_attr_kind_for_rid): Handle
+ RID_PROPATOMIC.
+
+2021-03-24 Iain Sandoe <iain@sandoe.co.uk>
+
+ * objc-act.c (objc_prop_attr_kind_for_rid): New.
+ (objc_add_property_declaration): Adjust to consume the
+ parser output using a vector of parsed attributes.
+
+2021-03-24 Iain Sandoe <iain@sandoe.co.uk>
+
+ Backported from master:
+ 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.
+
+2021-03-24 Iain Sandoe <iain@sandoe.co.uk>
+
+ * objc-next-runtime-abi-02.c
+ (objc_get_superclass_ref_decl): Split this code out.
+ (next_runtime_abi_02_get_class_super_ref): Compute
+ super refs using the objc_get_superclass_ref_decl().
+ (next_runtime_abi_02_get_category_super_ref): Likewise.
+ (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.
+ * objc-runtime-shared-support.c (start_var_decl): Make the
+ decl_assembler_name follow the metadata name for C++ on NeXT
+ runtime platforms.
+ (TAG_MSGSENDSUPER, TAG_MSGSENDID, TAG_MSGSENDSUPER_STRET,
+ TAG_MSGSENDID_STRET, FIXUP_NEEDED): Revised spelling.
+ (TAG_FIXUP): New.
+ Rename FIXUP_NEEDED to USE_FIXUP_BEFORE
+ (next_runtime_02_initialize): Adjust message calls to use
+ fixup variants only when required. Use renamed macros.
+ (next_runtime_abi_02_get_arg_type_list_base): Likewise.
+ (next_runtime_abi_02_build_objc_method_call): Likewise.
+ (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.
+ (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.
+
2021-03-22 Iain Sandoe <iain@sandoe.co.uk>
Backported from master:
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 769a8a5a02a..ef5215f0e62 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,145 @@
+2021-03-24 Iain Sandoe <iain@sandoe.co.uk>
+
+ Backported from master:
+ 2021-03-17 Iain Sandoe <iain@sandoe.co.uk>
+
+ PR sanitizer/96318
+ * c-c++-common/asan/strncpy-overflow-1.c: Add _FORTIFY_SOURCE=0 and
+ -gdwarf-3 to the command line options. Adjust the expected line
+ numbers for the revised options header.
+
+2021-03-24 Iain Sandoe <iain@sandoe.co.uk>
+
+ Backported from master:
+ 2021-03-17 Iain Sandoe <iain@sandoe.co.uk>
+
+ * c-c++-common/asan/memcmp-1.c: Add _FORTIFY_SOURCE=0 and
+ -gdwarf-3 to the command line options. Provide Darwin-
+ specific match lines for the expected output.
+
+2021-03-24 Iain Sandoe <iain@sandoe.co.uk>
+
+ Backported from master:
+ 2020-11-01 Iain Sandoe <iain@sandoe.co.uk>
+
+ * obj-c++.dg/SEL-typedef.mm: New test.
+ * objc.dg/SEL-typedef.m: New test.
+
+2021-03-24 Iain Sandoe <iain@sandoe.co.uk>
+
+ Backported from master:
+ 2021-03-18 Iain Sandoe <iain@sandoe.co.uk>
+
+ PR objc++/49070
+ * obj-c++.dg/pr49070.mm: New test.
+ * objc.dg/unnamed-parms.m: New test.
+
+2021-03-24 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.
+ * obj-c++.dg/cxx-ivars-3.mm: Skip for macOS >= 10.7.
+ * obj-c++.dg/objc-gc-3.mm:i Skip for Darwin >= 16.
+ * 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.
+ * 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.
+
+2021-03-24 Iain Sandoe <iain@sandoe.co.uk>
+
+ * objc.dg/objc-gc-4.m: Disable for macOS 10.15 and 11.x.
+ * 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.
+ * objc.dg/ivar-scope-4.m: Add inititialize method to the
+ root class.
+ * objc.dg/torture/forward-1.m: Implement forwarding using the
+ native NeXT (NSInvocation) method for Darwin.
+ * objc.dg/call-super-2.m: Remove inclusion of runtime.h.
+ Add a FIXME about the test portability.
+ * objc.dg/plugin/diagnostic-test-expressions-1.m: Use assignment
+ expressions for @selector and @protocol to obtain a useful
+ diagnostic range.
+ * objc.dg/pr23214.m: Use Object as the root object before
+ Darwin12 (and NSObject after).
+
+2021-03-24 Iain Sandoe <iain@sandoe.co.uk>
+
+ Backported from master:
+ 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).
+
+2021-03-24 Iain Sandoe <iain@sandoe.co.uk>
+
+ * obj-c++.dg/property/at-property-4.mm: Test atomic property
+ attribute.
+ * objc.dg/property/at-property-4.m: Likewise.
+
+2021-03-24 Iain Sandoe <iain@sandoe.co.uk>
+
+ * obj-c++.dg/property/at-property-1.mm: Adjust expected
+ diagnostics.
+ * obj-c++.dg/property/at-property-29.mm: Likewise.
+ * obj-c++.dg/property/at-property-4.mm: Likewise.
+ * obj-c++.dg/property/property-neg-2.mm: Likewise.
+ * objc.dg/property/at-property-1.m: Likewise.
+ * objc.dg/property/at-property-29.m: Likewise.
+ * objc.dg/property/at-property-4.m: Likewise.
+ * objc.dg/property/at-property-5.m: Likewise.
+ * objc.dg/property/property-neg-2.m: Likewise.
+
+2021-03-24 Iain Sandoe <iain@sandoe.co.uk>
+
+ * obj-c++.dg/property/at-property-1.mm: Adjust test after
+ fixing spurious error output.
+
+2021-03-24 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR target/99540
+ * gcc.dg/vect/pr99540.c: New test.
+
+2021-03-24 Richard Biener <rguenther@suse.de>
+
+ Backported from master:
+ 2021-03-15 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/98834
+ * g++.dg/opt/pr98834.C: New testcase.
+
+2021-03-24 Richard Biener <rguenther@suse.de>
+
+ Backported from master:
+ 2021-02-08 Richard Biener <rguenther@suse.de>
+
+ PR lto/96591
+ * g++.dg/lto/pr96591_0.C: New testcase.
+
+2021-03-24 Richard Biener <rguenther@suse.de>
+
+ Backported from master:
+ 2021-03-22 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/99694
+ * gcc.dg/torture/pr99694.c: New testcase.
+
2021-03-22 Iain Sandoe <iain@sandoe.co.uk>
Backported from master:
More information about the Gcc-cvs
mailing list