+2022-08-20 Lulu Cheng <chenglulu@loongson.cn>
+
+ * config/loongarch/loongarch-opts.cc: Allow cmodel to be extreme.
+ * config/loongarch/loongarch.cc (loongarch_call_tls_get_addr):
+ Add extreme support for TLS GD and LD types.
+ (loongarch_legitimize_tls_address): Add extreme support for TLS LE
+ and IE.
+ (loongarch_split_symbol): When compiling with -mcmodel=extreme,
+ the symbol address will be obtained through five instructions.
+ (loongarch_print_operand_reloc): Add support.
+ (loongarch_print_operand): Add support.
+ (loongarch_print_operand_address): Add support.
+ (loongarch_option_override_internal): Set '-mcmodel=extreme' option
+ incompatible with '-mno-explicit-relocs'.
+ * config/loongarch/loongarch.md (@lui_l_hi20<mode>):
+ Loads bits 12-31 of data into registers.
+ (lui_h_lo20): Load bits 32-51 of the data and spell bits 0-31 of
+ the source register.
+ (lui_h_hi12): Load bits 52-63 of the data and spell bits 0-51 of
+ the source register.
+ * config/loongarch/predicates.md: Symbols need to be decomposed
+ when defining the macro TARGET_CMODEL_EXTREME
+ * doc/invoke.texi: Modify the description information of cmodel in the document.
+ Document -W[no-]extreme-plt.
+
2022-08-19 Tobias Burnus <tobias@codesourcery.com>
* config/gcn/mkoffload.cc (main): Add omp_requires_file and dbgobj to
+2022-08-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR fortran/46539
+ * lang.opt (static-libgfortran, static-libquadmath): Change Fortran
+ to Driver.
+ * options.cc (gfc_handle_option): Don't handle OPT_static_libgfortran
+ nor OPT_static_libquadmath here.
+
2022-08-18 Harald Anlauf <anlauf@gmx.de>
Revert:
+2022-08-20 Lulu Cheng <chenglulu@loongson.cn>
+
+ * gcc.target/loongarch/func-call-1.c: Add option '-mcmodel=normal'.
+ * gcc.target/loongarch/func-call-2.c: Likewise.
+ * gcc.target/loongarch/func-call-3.c: Likewise.
+ * gcc.target/loongarch/func-call-4.c: Likewise.
+ * gcc.target/loongarch/func-call-5.c: Likewise.
+ * gcc.target/loongarch/func-call-6.c: Likewise.
+ * gcc.target/loongarch/func-call-7.c: Likewise.
+ * gcc.target/loongarch/func-call-8.c: Likewise.
+ * gcc.target/loongarch/relocs-symbol-noaddend.c: Likewise.
+ * gcc.target/loongarch/func-call-extreme-1.c: New test.
+ * gcc.target/loongarch/func-call-extreme-2.c: New test.
+
+2022-08-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/106645
+ * c-c++-common/cpp/delimited-escape-seq-1.c: New test.
+ * c-c++-common/cpp/delimited-escape-seq-2.c: New test.
+ * c-c++-common/cpp/delimited-escape-seq-3.c: New test.
+ * c-c++-common/Wbidi-chars-24.c: New test.
+ * gcc.dg/cpp/delimited-escape-seq-1.c: New test.
+ * gcc.dg/cpp/delimited-escape-seq-2.c: New test.
+ * g++.dg/cpp/delimited-escape-seq-1.C: New test.
+ * g++.dg/cpp/delimited-escape-seq-2.C: New test.
+
2022-08-19 Haochen Jiang <haochen.jiang@intel.com>
* gcc.target/x86_64/abi/bf16/abi-bf16.exp: New test.
+2022-08-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/106645
+ * include/cpplib.h (struct cpp_options): Implement
+ P2290R3 - Delimited escape sequences. Add delimite_escape_seqs
+ member.
+ * init.cc (struct lang_flags): Likewise.
+ (lang_defaults): Add delim column.
+ (cpp_set_lang): Copy over delimite_escape_seqs.
+ * charset.cc (extend_char_range): New function.
+ (_cpp_valid_ucn): Use it. Handle delimited escape sequences.
+ (convert_hex): Likewise.
+ (convert_oct): Likewise.
+ (convert_ucn): Use extend_char_range.
+ (convert_escape): Call convert_oct even for \o.
+ (_cpp_interpret_identifier): Handle delimited escape sequences.
+ * lex.cc (get_bidi_ucn_1): Likewise. Add end argument, fill it in.
+ (get_bidi_ucn): Adjust get_bidi_ucn_1 caller. Use end argument to
+ compute num_bytes.
+
2022-08-18 Joseph Myers <joseph@codesourcery.com>
* include/cpplib.h (struct cpp_options): Add warning_directive.