+2021-10-05 Ilya Leoshkevich <iii@linux.ibm.com>
+
+ Backported from master:
+ 2021-07-16 Ilya Leoshkevich <iii@linux.ibm.com>
+
+ * config/s390/predicates.md (bras_sym_operand): Accept all
+ functions in 64-bit mode, use UNSPEC_PLT31.
+ (larl_operand): Use UNSPEC_PLT31.
+ * config/s390/s390.c (s390_loadrelative_operand_p): Likewise.
+ (legitimize_pic_address): Likewise.
+ (s390_emit_tls_call_insn): Mark __tls_get_offset as function,
+ use UNSPEC_PLT31.
+ (s390_delegitimize_address): Use UNSPEC_PLT31.
+ (s390_output_addr_const_extra): Likewise.
+ (print_operand): Add @PLT to TLS calls, handle %K.
+ (s390_function_profiler): Mark __fentry__/_mcount as function,
+ use %K, use UNSPEC_PLT31.
+ (s390_output_mi_thunk): Use only UNSPEC_GOT, use %K.
+ (s390_emit_call): Use UNSPEC_PLT31.
+ (s390_emit_tpf_eh_return): Mark __tpf_eh_return as function.
+ * config/s390/s390.md (UNSPEC_PLT31): Rename from UNSPEC_PLT.
+ (*movdi_64): Use %K.
+ (reload_base_64): Likewise.
+ (*sibcall_brc): Likewise.
+ (*sibcall_brcl): Likewise.
+ (*sibcall_value_brc): Likewise.
+ (*sibcall_value_brcl): Likewise.
+ (*bras): Likewise.
+ (*brasl): Likewise.
+ (*bras_r): Likewise.
+ (*brasl_r): Likewise.
+ (*bras_tls): Likewise.
+ (*brasl_tls): Likewise.
+ (main_base_64): Likewise.
+ (reload_base_64): Likewise.
+ (@split_stack_call<mode>): Likewise.
+
+2021-10-05 Ilya Leoshkevich <iii@linux.ibm.com>
+
+ Backported from master:
+ 2021-06-24 Ilya Leoshkevich <iii@linux.ibm.com>
+
+ * config/s390/s390.c (s390_function_profiler): Ignore labelno
+ parameter.
+ * config/s390/s390.h (NO_PROFILE_COUNTERS): Define.
+
2021-10-04 Eric Botcazou <ebotcazou@adacore.com>
* config/rs6000/vxworks.h (TARGET_INIT_LIBFUNCS): Delete.
+2021-10-05 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-10-01 Jakub Jelinek <jakub@redhat.com>
+ Richard Biener <rguenther@suse.de>
+
+ PR sanitizer/102515
+ * c-ubsan.c (ubsan_instrument_division): Check the right
+ flag_sanitize_recover bit, depending on which sanitization
+ is done.
+
2021-08-06 Richard Biener <rguenther@suse.de>
Backported from master:
+2021-10-05 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-10-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/102548
+ * tree.c (apply_identity_attributes): Fix handling of the
+ case where an attribute in the list doesn't affect type
+ identity but some attribute before it does.
+
+2021-10-05 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-10-01 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/102496
+ * name-lookup.c (push_local_extern_decl_alias): Return early even for
+ tls vars with non-dependent type when processing_template_decl. For
+ CP_DECL_THREAD_LOCAL_P vars call set_decl_tls_model on alias.
+
2021-10-03 Iain Sandoe <iain@sandoe.co.uk>
Backported from master:
+2021-10-05 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-10-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/102548
+ * g++.target/i386/pr102548.C: New test.
+
+2021-10-05 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-10-01 Jakub Jelinek <jakub@redhat.com>
+ Richard Biener <rguenther@suse.de>
+
+ PR sanitizer/102515
+ * c-c++-common/ubsan/float-div-by-zero-2.c: New test.
+
+2021-10-05 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2021-10-01 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/102496
+ * g++.dg/tls/pr102496-1.C: New test.
+ * g++.dg/tls/pr102496-2.C: New test.
+
+2021-10-05 Ilya Leoshkevich <iii@linux.ibm.com>
+
+ Backported from master:
+ 2021-07-16 Ilya Leoshkevich <iii@linux.ibm.com>
+
+ * g++.dg/ext/visibility/noPLT.C: Skip on s390x.
+ * g++.target/s390/mi-thunk.C: New test.
+ * gcc.target/s390/nodatarel-1.c: Move foostatic to the new
+ tests.
+ * gcc.target/s390/pr80080-4.c: Allow @PLT suffix.
+ * gcc.target/s390/risbg-ll-3.c: Likewise.
+ * gcc.target/s390/call.h: Common code for the new tests.
+ * gcc.target/s390/call-z10-pic-nodatarel.c: New test.
+ * gcc.target/s390/call-z10-pic.c: New test.
+ * gcc.target/s390/call-z10.c: New test.
+ * gcc.target/s390/call-z9-pic-nodatarel.c: New test.
+ * gcc.target/s390/call-z9-pic.c: New test.
+ * gcc.target/s390/call-z9.c: New test.
+ * gcc.target/s390/mfentry-m64-pic.c: New test.
+ * gcc.target/s390/tls.h: Common code for the new TLS tests.
+ * gcc.target/s390/tls-pic.c: New test.
+ * gcc.target/s390/tls.c: New test.
+
+2021-10-05 Ilya Leoshkevich <iii@linux.ibm.com>
+
+ Backported from master:
+ 2021-06-24 Ilya Leoshkevich <iii@linux.ibm.com>
+
+ * gcc.target/s390/mnop-mcount-m31-mzarch.c: Adapt to the new
+ prologue size.
+ * gcc.target/s390/mnop-mcount-m64.c: Likewise.
+
2021-10-04 Pat Haugen <pthaugen@linux.ibm.com>
* gcc.target/powerpc/fusion-p10-ldcmpi.c: Update counts.