diff options
author | GCC Administrator <gccadmin@gcc.gnu.org> | 2024-08-21 00:19:34 +0000 |
---|---|---|
committer | GCC Administrator <gccadmin@gcc.gnu.org> | 2024-08-21 00:19:34 +0000 |
commit | 964c9c247ca691e92f046070dd487f0e0e56958e (patch) | |
tree | b9c658d7e7751dfb0055d96145bee7a320d5fa2f /gcc | |
parent | 50b5000a5e430aaf99a5e00465cc9e25563d908b (diff) | |
download | gcc-964c9c247ca691e92f046070dd487f0e0e56958e.zip gcc-964c9c247ca691e92f046070dd487f0e0e56958e.tar.gz gcc-964c9c247ca691e92f046070dd487f0e0e56958e.tar.bz2 |
Daily bump.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 57 | ||||
-rw-r--r-- | gcc/DATESTAMP | 2 | ||||
-rw-r--r-- | gcc/cp/ChangeLog | 76 | ||||
-rw-r--r-- | gcc/fortran/ChangeLog | 12 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 165 |
5 files changed, 311 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8167f0b..d955a57 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,60 @@ +2024-08-21 Andrew Pinski <quic_apinski@quicinc.com> + + * builtins.cc (fold_builtin_bit_query): Don't expand double + `unsigned long long` typess if there is an optab entry for that + type. + +2024-08-21 Andrew Pinski <quic_apinski@quicinc.com> + + PR sanitizer/115205 + * asan.cc (asan_instrument): Call initialize_sanitizer_builtins + for hwasan. + (hwasan_finish_file): Likewise. + +2024-08-20 Andrew Pinski <quic_apinski@quicinc.com> + + PR tree-optimization/116412 + * gimple-match-exports.cc (gimple_extract): Return false if op0 + was not a SSA name nor a min invariant for REALPART_EXPR/IMAGPART_EXPR/VCE + and BIT_FIELD_REF. + +2024-08-20 Andrew Pinski <quic_apinski@quicinc.com> + + PR tree-optimization/116409 + * tree-ssa-phiopt.cc (factor_out_conditional_operation): Move + maybe_push_res_to_seq before creating the phi node and the debug dump. + Return false if maybe_push_res_to_seq fails. + +2024-08-20 Gerald Pfeifer <gerald@pfeifer.com> + + * doc/install.texi (Specific) <c6x-*-*>: Normalize reference to + binutils. + +2024-08-20 Andrew Pinski <quic_apinski@quicinc.com> + + PR tree-optimization/103660 + * match.pd (`(a ? b : 0) | (a ? 0 : c)`): New pattern. + +2024-08-20 Andrew Pinski <quic_apinski@quicinc.com> + + PR tree-optimization/103660 + * match.pd (`((a CMP b) ? c : 0) | ((a CMP' b) ? d : 0)`): Extend to support + XOR and PLUS. + +2024-08-20 Richard Biener <rguenther@suse.de> + + PR tree-optimization/116274 + * tree-vect-slp.cc (vect_bb_slp_scalar_cost): Cost scalar loads + and stores as simple scalar stmts when they access a non-global, + not address-taken variable that doesn't have BLKmode assigned. + +2024-08-20 Prathamesh Kulkarni <prathameshk@nvidia.com> + + * optc-save-gen.awk: New array var_target_opt. Use it to generate + if (!lto_stream_offload_p) check in cl_optimization_stream_out, + and generate a diagnostic with #error if accelerator backend uses + Optimization for target-specifc options in cl_optimization_stream_in. + 2024-08-19 Andreas Schwab <schwab@linux-m68k.org> PR target/113939 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 0ed256b..2927c94 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20240820 +20240821 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 5c0c577..838e7d7 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,79 @@ +2024-08-20 Nathaniel Shead <nathanieloshead@gmail.com> + + * module.cc (module_state::write_begin): Return a boolean to + indicate errors rather than just doing set_error(). + (finish_module_processing): Prevent emission of unnecessary + errors; only indicate module writing occurred if write_begin + succeeds. + +2024-08-20 Jakub Jelinek <jakub@redhat.com> + + PR c++/110345 + * decl.cc (grokdeclarator): Apply declarator->std_attributes + for cdk_array to type, rather than chaining it to returned_attrs. + +2024-08-20 Jakub Jelinek <jakub@redhat.com> + + PR c++/110345 + * parser.cc (cp_parser_base_specifier): Parse standard attributes + at the start and emit a warning if there are any non-ignored ones. + +2024-08-20 Franciszek Witt <franek.witt@gmail.com> + + PR c++/101232 + * parser.cc (cp_parser_postfix_expression): Commit to the + parse in case we know its either a cast or invalid syntax. + (cp_parser_braced_list): Add a heuristic to inform about + missing comma or operator. + +2024-08-20 Patrick Palka <ppalka@redhat.com> + + PR c++/101463 + * pt.cc (type_unification_real): Directly look for undeduced + parameters in the default argument instead of doing a trial + substitution. + +2024-08-20 Nathaniel Shead <nathanieloshead@gmail.com> + + PR c++/115020 + * module.cc (has_definition): Only force writing definitions for + header_module_p. + +2024-08-20 Nathaniel Shead <nathanieloshead@gmail.com> + + PR c++/116403 + * pt.cc (deduction_guides_for): Use ANY_REACHABLE for lookup of + deduction guides. + * module.cc (depset::hash::add_deduction_guides): Likewise. + (module_state::write_cluster): No longer override deduction + guides as exported. + * name-lookup.cc (name_lookup::search_namespace_only): Ignore + visibility when LOOK_want::ANY_REACHABLE is specified. + (check_module_override): Ignore visibility when checking for + ambiguating deduction guides. + * name-lookup.h (LOOK_want): New flag 'ANY_REACHABLE'. + +2024-08-20 Nathaniel Shead <nathanieloshead@gmail.com> + + PR c++/116382 + * cp-tree.h (get_template_parm_object): Add check_init param. + * module.cc (trees_in::tree_node): Pass check_init=false when + building NTTPs. + * pt.cc (get_template_parm_object): Prevent cp_finish_decl from + validating the initializer when check_init=false. + +2024-08-20 Nathaniel Shead <nathanieloshead@gmail.com> + + PR c++/116364 + * cp-tree.h (get_mergeable_specialization_flags): Adjust + signature. + * module.cc (trees_out::decl_value): Indicate whether this is a + type or decl specialisation. + * pt.cc (get_mergeable_specialization_flags): Match against the + type of a non-decl specialisation. + (add_mergeable_specialization): Use the already calculated spec + instead of always adding decl to DECL_TEMPLATE_INSTANTIATIONS. + 2024-08-19 Marek Polacek <polacek@redhat.com> PR c++/115657 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 58d0ef5..7e65942 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,15 @@ +2024-08-20 Andre Vehreschild <vehre@gcc.gnu.org> + + PR fortran/84246 + * resolve.cc (caf_possible_reallocate): Detect arrays that may + be reallocated by caf_send. + (resolve_ordinary_assign): More reliably detect assignments + where a rewrite to caf_send is needed. + * trans-expr.cc (gfc_trans_assignment_1): Remove rewrite to + caf_send, because this is done by resolve now. + * trans-intrinsic.cc (conv_caf_send): Prevent unneeded temporary + arrays. + 2024-08-19 Andre Vehreschild <vehre@gcc.gnu.org> PR fortran/46371 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0d3f19b..c89f74a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,168 @@ +2024-08-20 Pan Li <pan2.li@intel.com> + + * gcc.target/riscv/sat_arith.h: Fix SAT_TRUNC typo. + * gcc.target/riscv/sat_u_trunc-1.c: Ditto. + * gcc.target/riscv/sat_u_trunc-13.c: Ditto. + * gcc.target/riscv/sat_u_trunc-14.c: Ditto. + * gcc.target/riscv/sat_u_trunc-15.c: Ditto. + * gcc.target/riscv/sat_u_trunc-2.c: Ditto. + * gcc.target/riscv/sat_u_trunc-3.c: Ditto. + * gcc.target/riscv/sat_u_trunc-4.c: Ditto. + * gcc.target/riscv/sat_u_trunc-5.c: Ditto. + * gcc.target/riscv/sat_u_trunc-6.c: Ditto. + * gcc.target/riscv/sat_u_trunc-7.c: Ditto. + * gcc.target/riscv/sat_u_trunc-8.c: Ditto. + * gcc.target/riscv/sat_u_trunc-9.c: Ditto. + * gcc.target/riscv/sat_u_trunc-run-1.c: Ditto. + * gcc.target/riscv/sat_u_trunc-run-13.c: Ditto. + * gcc.target/riscv/sat_u_trunc-run-14.c: Ditto. + * gcc.target/riscv/sat_u_trunc-run-15.c: Ditto. + * gcc.target/riscv/sat_u_trunc-run-2.c: Ditto. + * gcc.target/riscv/sat_u_trunc-run-3.c: Ditto. + * gcc.target/riscv/sat_u_trunc-run-4.c: Ditto. + * gcc.target/riscv/sat_u_trunc-run-5.c: Ditto. + * gcc.target/riscv/sat_u_trunc-run-6.c: Ditto. + * gcc.target/riscv/sat_u_trunc-run-7.c: Ditto. + * gcc.target/riscv/sat_u_trunc-run-8.c: Ditto. + * gcc.target/riscv/sat_u_trunc-run-9.c: Ditto. + +2024-08-20 Nathaniel Shead <nathanieloshead@gmail.com> + + * g++.dg/modules/export-1.C: Remove message. + * g++.dg/modules/internal-1.C: Remove message. + * g++.dg/modules/ambig-2_b.C: Remove unnecessary pruning. + * g++.dg/modules/atom-decl-2.C: Likewise. + * g++.dg/modules/atom-pragma-3.C: Likewise. + * g++.dg/modules/atom-preamble-2_f.C: Likewise. + * g++.dg/modules/block-decl-2.C: Likewise. + * g++.dg/modules/dir-only-4.C: Likewise. + * g++.dg/modules/enum-12.C: Likewise. + * g++.dg/modules/exp-xlate-1_b.C: Likewise. + * g++.dg/modules/export-3.C: Likewise. + * g++.dg/modules/friend-3.C: Likewise. + * g++.dg/modules/friend-5_b.C: Likewise. + * g++.dg/modules/inc-xlate-1_e.C: Likewise. + * g++.dg/modules/linkage-2.C: Likewise. + * g++.dg/modules/local-extern-1.C: Likewise. + * g++.dg/modules/main-1.C: Likewise. + * g++.dg/modules/map-2.C: Likewise. + * g++.dg/modules/mod-decl-1.C: Likewise. + * g++.dg/modules/mod-decl-3.C: Likewise. + * g++.dg/modules/pr99174.H: Likewise. + * g++.dg/modules/pr99468.H: Likewise. + * g++.dg/modules/token-1.C: Likewise. + * g++.dg/modules/token-3.C: Likewise. + * g++.dg/modules/token-4.C: Likewise. + * g++.dg/modules/token-5.C: Likewise. + * g++.dg/modules/using-10.C: Likewise. + * g++.dg/modules/using-12.C: Likewise. + * g++.dg/modules/using-3.C: Likewise. + * g++.dg/modules/using-9.C: Likewise. + * g++.dg/modules/using-enum-2.C: Likewise. + * g++.dg/modules/permissive-error-1.C: New test. + * g++.dg/modules/permissive-error-2.C: New test. + +2024-08-20 Andrew Pinski <quic_apinski@quicinc.com> + + PR tree-optimization/116412 + * gcc.dg/torture/pr116412-1.c: New test. + +2024-08-20 Andrew Pinski <quic_apinski@quicinc.com> + + PR tree-optimization/116409 + * gcc.dg/torture/pr116409-1.c: New test. + * gcc.dg/torture/pr116409-2.c: New test. + +2024-08-20 Jakub Jelinek <jakub@redhat.com> + + PR c++/110345 + * g++.dg/cpp0x/gen-attrs-82.C: New test. + * g++.dg/gomp/attrs-3.C (foo): Expect different diagnostics for + omp::directive attribute after closing square bracket of an automatic + declaration and add a test with the attribute after array's + declarator-id. + +2024-08-20 Jakub Jelinek <jakub@redhat.com> + + PR c++/110345 + * g++.dg/cpp0x/gen-attrs-83.C: New test. + +2024-08-20 Edwin Lu <ewlu@rivosinc.com> + + * gcc.dg/signbit-5.c: Remove riscv xfail exception + +2024-08-20 Franciszek Witt <franek.witt@gmail.com> + + PR c++/101232 + * g++.dg/cpp0x/initlist-err1.C: New test. + * g++.dg/cpp0x/initlist-err2.C: New test. + * g++.dg/cpp0x/initlist-err3.C: New test. + +2024-08-20 Andrew Pinski <quic_apinski@quicinc.com> + + PR tree-optimization/103660 + * g++.dg/tree-ssa/pr103660-4.C: New test. + * gcc.dg/tree-ssa/pr103660-4.c: New test. + +2024-08-20 Andrew Pinski <quic_apinski@quicinc.com> + + PR tree-optimization/103660 + * g++.dg/tree-ssa/pr103660-2.C: New test. + * g++.dg/tree-ssa/pr103660-3.C: New test. + * gcc.dg/tree-ssa/pr103660-2.c: New test. + * gcc.dg/tree-ssa/pr103660-3.c: New test. + +2024-08-20 Andrew Pinski <quic_apinski@quicinc.com> + + PR tree-optimization/103660 + * g++.dg/tree-ssa/pr103660-0.C: New test. + * g++.dg/tree-ssa/pr103660-1.C: New test. + * gcc.dg/tree-ssa/pr103660-0.c: New test. + * gcc.dg/tree-ssa/pr103660-1.c: New test. + +2024-08-20 Patrick Palka <ppalka@redhat.com> + + PR c++/101463 + * g++.dg/cpp1z/nontype6.C: New test. + * g++.dg/cpp1z/nontype6a.C: New test. + +2024-08-20 Richard Biener <rguenther@suse.de> + + PR tree-optimization/116274 + * gcc.target/i386/pr116274-2.c: New testcase. + +2024-08-20 Andre Vehreschild <vehre@gcc.gnu.org> + + PR fortran/84246 + * gfortran.dg/coarray_allocate_7.f08: Adapt to array being + allocate by caf_send. + +2024-08-20 Nathaniel Shead <nathanieloshead@gmail.com> + + PR c++/115020 + * g++.dg/modules/pr115020_a.C: New test. + * g++.dg/modules/pr115020_b.C: New test. + +2024-08-20 Nathaniel Shead <nathanieloshead@gmail.com> + + PR c++/116403 + * g++.dg/modules/dguide-4_a.C: New test. + * g++.dg/modules/dguide-4_b.C: New test. + * g++.dg/modules/dguide-4_c.C: New test. + +2024-08-20 Nathaniel Shead <nathanieloshead@gmail.com> + + PR c++/116382 + * g++.dg/modules/tpl-nttp-1_a.C: New test. + * g++.dg/modules/tpl-nttp-1_b.C: New test. + +2024-08-20 Nathaniel Shead <nathanieloshead@gmail.com> + + PR c++/116364 + * g++.dg/modules/tpl-spec-9_a.C: New test. + * g++.dg/modules/tpl-spec-9_b.C: New test. + * g++.dg/modules/tpl-spec-9_c.C: New test. + 2024-08-19 Marek Polacek <polacek@redhat.com> PR c++/115657 |