diff options
author | GCC Administrator <gccadmin@gcc.gnu.org> | 2024-04-03 00:17:29 +0000 |
---|---|---|
committer | GCC Administrator <gccadmin@gcc.gnu.org> | 2024-04-03 00:17:29 +0000 |
commit | a1e6798acfaf1356692bcb81f3186ee6a3deb22e (patch) | |
tree | 901c8ad8ddaf5eb6bc255e3fb9359e45c2c3e7ab /gcc | |
parent | 1bafa6a3fdbb53651ffa5d854c2341c487bf3269 (diff) | |
download | gcc-a1e6798acfaf1356692bcb81f3186ee6a3deb22e.zip gcc-a1e6798acfaf1356692bcb81f3186ee6a3deb22e.tar.gz gcc-a1e6798acfaf1356692bcb81f3186ee6a3deb22e.tar.bz2 |
Daily bump.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 58 | ||||
-rw-r--r-- | gcc/DATESTAMP | 2 | ||||
-rw-r--r-- | gcc/analyzer/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/c/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/cp/ChangeLog | 19 | ||||
-rw-r--r-- | gcc/fortran/ChangeLog | 21 | ||||
-rw-r--r-- | gcc/jit/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/m2/ChangeLog | 62 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 72 |
9 files changed, 251 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bc10edf..61eb527 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,61 @@ +2024-04-02 Christophe Lyon <christophe.lyon@linaro.org> + + * config/aarch64/aarch64-option-extensions.def: Fix comment. + +2024-04-02 Tom Tromey <tromey@adacore.com> + + * dwarf2out.cc (print_dw_val) <dw_val_class_loc>: Don't + print newline when not recursing. + +2024-04-02 Iain Sandoe <iain@sandoe.co.uk> + + * config/darwin.cc (darwin_override_options): Update the + clang major version value in the dsymutil check. + +2024-04-02 Iain Sandoe <iain@sandoe.co.uk> + + * config/darwin.cc (darwin_override_options): Reduce the debug + level to 2 if dsymutil cannot handle .macinfo sections. + +2024-04-02 Yang Yujie <yangyujie@loongson.cn> + + * config/loongarch/t-loongarch: Add loongarch-def-arrays.h + to OPTION_H_EXTRA. + +2024-04-02 mengqinggang <mengqinggang@loongson.cn> + Lulu Cheng <chenglulu@loongson.cn> + Xi Ruoyao <xry111@xry111.site> + + * config.gcc: Add --with-tls option to change TLS flavor. + * config/loongarch/genopts/loongarch.opt.in: Add -mtls-dialect to + configure TLS flavor. + * config/loongarch/loongarch-def.h (struct loongarch_target): Add + tls_dialect. + * config/loongarch/loongarch-driver.cc (la_driver_init): Add tls + flavor. + * config/loongarch/loongarch-opts.cc (loongarch_init_target): Add + tls_dialect. + (loongarch_config_target): Ditto. + (loongarch_update_gcc_opt_status): Ditto. + * config/loongarch/loongarch-opts.h (loongarch_init_target): Ditto. + (TARGET_TLS_DESC): New define. + * config/loongarch/loongarch.cc (loongarch_symbol_insns): Add TLS + DESC instructions sequence length. + (loongarch_legitimize_tls_address): New TLS DESC instruction sequence. + (loongarch_option_override_internal): Add la_opt_tls_dialect. + (loongarch_option_restore): Add la_target.tls_dialect. + * config/loongarch/loongarch.md (@got_load_tls_desc<mode>): Normal + code model for TLS DESC. + (got_load_tls_desc_off64): Extreme cmode model for TLS DESC. + * config/loongarch/loongarch.opt: Regenerate. + * config/loongarch/loongarch.opt.urls: Ditto. + * doc/invoke.texi: Add a description of the compilation option + '-mtls-dialect={trad,desc}'. + +2024-04-02 Lulu Cheng <chenglulu@loongson.cn> + + * config/loongarch/loongarch.opt.urls: Regenerate. + 2024-04-01 Yang Yujie <yangyujie@loongson.cn> * config/loongarch/genopts/loongarch.opt.in: Mark -m[no-]recip as diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 2edad60..154a306 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20240402 +20240403 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 42fe180..d33733a 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,9 @@ +2024-04-02 David Malcolm <dmalcolm@redhat.com> + + * region-model-manager.cc (maybe_undo_optimize_bit_field_compare): + Guard against null types. + * region-model.cc (apply_constraints_for_gswitch): Likewise. + 2024-03-27 David Malcolm <dmalcolm@redhat.com> PR analyzer/114473 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index b8374c7..3d731f1 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,9 @@ +2024-04-02 Martin Uecker <uecker@tugraz.at> + + PR c/114361 + * c-decl.cc (finish_struct): Set TYPE_CANONICAL when completing + strucute types. + 2024-03-14 Chung-Lin Tang <cltang@baylibre.com> * c-parser.cc (c_parser_oacc_data_clause): Add parsing support for diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index b64f127..d3ee105 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,22 @@ +2024-04-02 Marek Polacek <polacek@redhat.com> + + PR c++/114479 + * semantics.cc (trait_expr_value) <case CPTK_IS_ARRAY>: Return false + for zero-sized arrays. + +2024-04-02 Marek Polacek <polacek@redhat.com> + + PR c++/103825 + * typeck.cc (is_bitfield_expr_with_lowered_type): Handle + CLEANUP_POINT_EXPR. + +2024-04-02 Jason Merrill <jason@redhat.com> + + PR c++/114561 + PR c++/114562 + * call.cc (convert_like_internal): Avoid adding qualification + conversion in direct reference binding. + 2024-04-01 Jason Merrill <jason@redhat.com> * typeck.cc (maybe_warn_about_returning_address_of_local): diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index e0c571e..962499b 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,24 @@ +2024-04-02 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/106999 + * interface.cc (gfc_compare_interfaces): Add error for a + subroutine proc pointer passed to a variable formal. + (compare_parameter): If a procedure pointer is being passed to + a non-procedure formal arg, and there is an an interface, use + gfc_compare_interfaces to check and provide a more useful error + message. + +2024-04-02 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/112407 + * resolve.cc (resolve_procedure_expression): Change the test for + for recursion in the case of hidden procedures from modules. + (resolve_typebound_static): Add warning for possible recursive + calls to typebound procedures. + * trans-expr.cc (gfc_trans_class_init_assign): Do not apply + default initializer to class dummy where component initializers + are all null. + 2024-03-29 Harald Anlauf <anlauf@gmx.de> PR fortran/50410 diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog index 48bd036..11f76a3 100644 --- a/gcc/jit/ChangeLog +++ b/gcc/jit/ChangeLog @@ -1,3 +1,9 @@ +2024-04-02 Iain Sandoe <iain@sandoe.co.uk> + + * Make-lang.in: Implement exports list, and use a shared + libgcc. + * libgccjit.exports: New file. + 2024-03-29 Guillaume Gomez <guillaume1.gomez@gmail.com> * libgccjit.cc (gcc_jit_type_get_size): Add pointer support diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index 1c5fc2e..68d7552 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,65 @@ +2024-04-02 Gaius Mulley <gaiusmod2@gmail.com> + + PR modula2/114565 + * gm2-compiler/M2GenGCC.mod (CodeStatement): Test + GetDebugTraceQuad before calling DisplayQuad. + * gm2-compiler/M2LexBuf.mod (NumberIO): Import CardToStr. + (GetToken): Test GetDebugTraceToken before writing the + token number or token line. + * gm2-compiler/M2Options.def (SetDebugTraceQuad): Rename to + (SetM2DebugTraceFilter): ...this. + (SetDebugTraceAPI): Remove. + (GetDebugTraceQuad): New procedure function. + (GetDebugTraceTree): Ditto. + (GetDebugTraceToken): Ditto. + (GetDebugTraceLine): Ditto. + (GetDebugFunctionLineNumbers): Ditto. + * gm2-compiler/M2Options.mod (DebugFunctionLineNumbers): New + boolean variable. + (DebugTraceQuad): Ditto. + (DebugTraceTree): Ditto. + (DebugTraceLine): Ditto. + (DebugTraceToken): Ditto. + (errors1): New procedure. + (SetDebugTraceQuad): Remove. + (SetM2DebugTraceFilter): New procedure implemented. + (SetM2DebugTrace): Ditto. + (GetDebugTraceQuad): Ditto. + (GetDebugTraceToken ): Ditto. + (GetDebugTraceLine): Ditto. + (SetDebugTraceLine): Remove. + * gm2-compiler/M2Quads.mod (GenQuadOTrash): Test + GetDebugTraceQuad and call DisplayQuad. + (GenQuadOTypetok): Ditto. + * gm2-compiler/SymbolTable.mod: Replace + DebugFunctionLineNumbers with GetDebugFunctionLineNumbers. + * gm2-gcc/init.cc (_M2_M2LangDump_init): Add prototype. + (init_PerCompilationInit): Add call. + * gm2-gcc/m2misc.cc (m2misc_cerror): New function. + (m2misc_error): Ditto. + * gm2-gcc/m2misc.def (error): New procedure. + (cerror): Ditto. + * gm2-gcc/m2misc.h (m2misc_cerror): New prototype. + (m2misc_error): Ditto. + * gm2-gcc/m2options.h (M2Options_SetDebugTraceQuad): New + prototype. + (M2Options_SetDebugTraceAPI): Remove. + (M2Options_GetDebugTraceToken): New prototype. + (M2Options_GetDebugTraceLine): Ditto. + (M2Options_SetDebugFunctionLineNumbers): Ditto. + (M2Options_GetDebugFunctionLineNumbers): Ditto. + (M2Options_SetM2DebugTraceFilter): Ditto. + * gm2-lang.cc (gm2_langhook_init_options): Remove + OPT_fdebug_trace_quad case. + Remove OPT_fdebug_trace_api case. + Add OPT_fm2_debug_trace_ case. + * lang.opt (fm2-debug-trace): New option. + (fdebug-trace-api): Remove. + (fdebug-trace-quad): Remove. + * m2.flex (m2flex_M2Error): Check s for NULL. + (skipnewline): New function. + (consumeLine): Call traceline. + 2024-04-01 Gaius Mulley <gaiusmod2@gmail.com> PR modula2/114548 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b87da1d..37cdcae 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,75 @@ +2024-04-02 Martin Uecker <uecker@tugraz.at> + + PR c/114361 + * gcc.dg/pr114361.c: New test. + * gcc.dg/c23-tag-incomplete-1.c: New test. + * gcc.dg/c23-tag-incomplete-2.c: New test. + +2024-04-02 Marek Polacek <polacek@redhat.com> + + PR c++/114479 + * g++.dg/ext/is_array.C: Extend. + +2024-04-02 Marek Polacek <polacek@redhat.com> + + PR c++/103825 + * g++.dg/cpp0x/enum44.C: New test. + +2024-04-02 Jason Merrill <jason@redhat.com> + + PR c++/114561 + PR c++/114562 + * g++.dg/conversion/ref10.C: New test. + * g++.dg/conversion/ref11.C: New test. + +2024-04-02 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/106999 + * gfortran.dg/pr106999.f90: New test. + +2024-04-02 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/112407 + * gfortran.dg/pr112407a.f90: New test. + * gfortran.dg/pr112407b.f90: New test. + +2024-04-02 Iain Sandoe <iain@sandoe.co.uk> + + PR testsuite/114034 + * g++.dg/gcov/gcov-dump-1.C: Remove extra -lgcov. + * g++.dg/gcov/gcov-dump-2.C: Likewise. + +2024-04-02 Iain Sandoe <iain@sandoe.co.uk> + + PR testsuite/114036 + * gcc.misc-tests/gcov-14.c: Allow for 'Foo' to be undefined + on Darwin link lines. + +2024-04-02 Iain Sandoe <iain@sandoe.co.uk> + + * g++.dg/modules/bad-mapper-1.C: Update expected test output + for earlier Darwin. + +2024-04-02 mengqinggang <mengqinggang@loongson.cn> + Lulu Cheng <chenglulu@loongson.cn> + Xi Ruoyao <xry111@xry111.site> + + * gcc.target/loongarch/cmodel-extreme-1.c: Add -mtls-dialect=trad. + * gcc.target/loongarch/cmodel-extreme-2.c: Ditto. + * gcc.target/loongarch/explicit-relocs-auto-tls-ld-gd.c: Ditto. + * gcc.target/loongarch/explicit-relocs-medium-call36-auto-tls-ld-gd.c: + Ditto. + * gcc.target/loongarch/func-call-medium-1.c: Ditto. + * gcc.target/loongarch/func-call-medium-2.c: Ditto. + * gcc.target/loongarch/func-call-medium-3.c: Ditto. + * gcc.target/loongarch/func-call-medium-4.c: Ditto. + * gcc.target/loongarch/tls-extreme-macro.c: Ditto. + * gcc.target/loongarch/tls-gd-noplt.c: Ditto. + * gcc.target/loongarch/explicit-relocs-auto-extreme-tls-desc.c: New test. + * gcc.target/loongarch/explicit-relocs-auto-tls-desc.c: New test. + * gcc.target/loongarch/explicit-relocs-extreme-tls-desc.c: New test. + * gcc.target/loongarch/explicit-relocs-tls-desc.c: New test. + 2024-04-01 Gaius Mulley <gaiusmod2@gmail.com> PR modula2/114548 |