diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b59cb4d3558612cf428342b27ebe850d3e925eaf..eef511b18403c3c3129a7f1f171e846d0b8f4f16 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,45 @@ +2024-06-01 Georg-Johann Lay <avr@gjlay.de> + + PR tree-optimization/115307 + * config/avr/avr.md (SFDF): New mode iterator. + (isinf<mode>2) [sf, df]: New expanders. + +2024-06-01 Jeff Law <jlaw@ventanamicro.com> + + * config/riscv/riscv.cc (riscv_integer_op): Add new field. + (riscv_build_integer_1): Initialize the new field. + (riscv_built_integer): Recognize more cases where Zbkb's + pack instruction is profitable. + (riscv_move_integer): Loop over all the codes. If requested, + save the current constant into a temporary. Generate pack + for more cases using the saved constant. + +2024-06-01 Feng Xue <fxue@os.amperecomputing.com> + + * tree-vect-loop.cc (vect_is_emulated_mixed_dot_prod): Remove parameter + loop_vinfo. Get input vectype from stmt_info instead of reduction PHI. + (vect_model_reduction_cost): Remove loop_vinfo argument of call to + vect_is_emulated_mixed_dot_prod. + (vect_transform_reduction): Likewise. + (vectorizable_reduction): Likewise, and bind input vectype to + lane-reducing operation. + +2024-06-01 Feng Xue <fxue@os.amperecomputing.com> + + * tree-vect-loop.cc (vect_reduction_update_partial_vector_usage): New + function. + (vectorizable_reduction): Move partial vectorization checking code to + vect_reduction_update_partial_vector_usage. + +2024-06-01 Feng Xue <fxue@os.amperecomputing.com> + + * tree-vectorizer.h (lane_reducing_op_p): New function. + * tree-vect-slp.cc (vect_analyze_slp): Use new function + lane_reducing_op_p to check statement code. + * tree-vect-loop.cc (vect_transform_reduction): Likewise. + (vectorizable_reduction): Likewise, and change name of a local + variable that holds the result flag. + 2024-05-31 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp> * config/xtensa/xtensa-protos.h (xtensa_expand_call): diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index fe85bc7903ecd131898f2c817fc12c4ab7de4eed..a793b463258775c4d8c60b66613c5091aa3235c5 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20240601 +20240602 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 5fe629d67a43efaba4395972610879c0f9056d6b..50f20caeb32caa6def456d898f89a423951fa301 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,44 @@ +2024-06-01 David Malcolm <dmalcolm@redhat.com> + + PR analyzer/106203 + * checker-event.h: Include "analyzer/event-loc-info.h". + (struct event_loc_info): Move to its own header file. + * diagnostic-manager.cc + (diagnostic_manager::emit_saved_diagnostic): Move creation of + event_loc_info here from add_final_event, and if we have a + stmt_finder, call its update_event_loc_info method. + * engine.cc (leak_stmt_finder::update_event_loc_info): New. + (exploded_node::detect_leaks): Likewise. + (exploded_node::detect_leaks): Pass nullptr as call_stmt arg to + region_model::pop_frame. + * event-loc-info.h: New file, with content taken from + checker-event.h. + * exploded-graph.h (stmt_finder::update_event_loc_info): New pure + virtual function. + * infinite-loop.cc (infinite_loop_diagnostic::add_final_event): + Update for change to vfunc signature. + * infinite-recursion.cc + (infinite_recursion_diagnostic::add_final_event): Likewise. + * pending-diagnostic.cc (pending_diagnostic::add_final_event): + Pass in the event_loc_info from the caller, rather than generating + it from a gimple stmt and enode. + * pending-diagnostic.h (pending_diagnostic::add_final_event): + Likewise. + * region-model.cc (region_model::on_longjmp): Pass nullptr as + call_stmt arg to region_model::pop_frame. + (region_model::update_for_return_gcall): Likewise, but pass + call_stmt. + (class caller_context): New. + (region_model::pop_frame): Add "call_stmt" argument. Use it + and the frame_region with a caller_context when setting + result_dst_reg's value so that any diagnostic is reported at the + call stmt in the caller. + (selftest::test_stack_frames): Pass nullptr as call_stmt arg to + region_model::pop_frame. + (selftest::test_alloca): Likewise. + * region-model.h (region_model::pop_frame): Add "call_stmt" + argument. + 2024-05-30 David Malcolm <dmalcolm@redhat.com> * infinite-loop.cc (looping_back_event::get_desc): Fix unused diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 172dffe55d0eafc3054eb4a6cb8378f4e90e77e5..048586c4e9cce3823f5b65d38d21e618463e54cc 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,22 @@ +2024-06-01 Nathaniel Shead <nathanieloshead@gmail.com> + + PR c++/114867 + * cp-tree.h (OVL_PURVIEW_P): New. + (ovl_iterator::purview_p): New. + * module.cc (depset::hash::add_binding_entity): Only ignore + entities not within module purview. Set OVL_PURVIEW_P on new + OVERLOADs for emitted declarations. + (module_state::read_cluster): Imported using-decls are always + in purview, mark as OVL_PURVIEW_P. + * name-lookup.h (enum WMB_Flags): New WMB_Purview flag. + * name-lookup.cc (walk_module_binding): Set WMB_Purview as + needed. + (do_nonmember_using_decl): Don't remove from existing OVERLOADs. + Also reveal non-exported decls. Also reveal 'extern "C"' decls. + Add workaround to reveal non-function decls. + * tree.cc (ovl_insert): Adjust to also set OVL_PURVIEW_P when + needed. + 2024-05-29 Jason Merrill <jason@redhat.com> PR c++/109753 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 43621e0a9b8f63eb4c5a03e3f5e2491883dd6458..ba1b0f602ce286914f2320631e419ed5a24a83be 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,35 @@ +2024-06-01 David Malcolm <dmalcolm@redhat.com> + + PR analyzer/106203 + * c-c++-common/analyzer/allocation-size-1.c (test_9): Remove + xfail. + * c-c++-common/analyzer/allocation-size-2.c (test_8): Likewise. + * gcc.dg/analyzer/allocation-size-multiline-4.c: New test. + * gcc.dg/plugin/analyzer_cpython_plugin.c + (refcnt_stmt_finder::update_event_loc_info): New. + +2024-06-01 Georg-Johann Lay <avr@gjlay.de> + + PR target/115317 + * gcc.target/avr/torture/pr115317-isinf.c: New test. + +2024-06-01 Georg-Johann Lay <avr@gjlay.de> + + PR tree-optimization/115307 + * gcc.target/avr/torture/pr115307-isinf.c: New test. + +2024-06-01 Jeff Law <jlaw@ventanamicro.com> + + * gcc.target/riscv/synthesis-10.c: New test. + +2024-06-01 Nathaniel Shead <nathanieloshead@gmail.com> + + PR c++/114867 + * g++.dg/modules/using-17_a.C: New test. + * g++.dg/modules/using-17_b.C: New test. + * g++.dg/modules/using-18_a.C: New test. + * g++.dg/modules/using-18_b.C: New test. + 2024-05-31 Robin Dapp <rdapp@ventanamicro.com> * gcc.target/riscv/rvv/autovec/unop/popcount-1.c: Adjust check diff --git a/libgcc/config/avr/libf7/ChangeLog b/libgcc/config/avr/libf7/ChangeLog index 0351fae9c91394c1410798f62f0827d1a9ff41f9..d5ce1fe9ab1ee315cc4091d2a449cb1008fdba1b 100644 --- a/libgcc/config/avr/libf7/ChangeLog +++ b/libgcc/config/avr/libf7/ChangeLog @@ -1,3 +1,8 @@ +2024-06-01 Georg-Johann Lay <avr@gjlay.de> + + PR target/115317 + * libf7-asm.sx (__isinf): Map -Inf to -1. + 2024-05-08 Georg-Johann Lay <avr@gjlay.de> PR target/114981 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 538fb6b82b29be975bca6bcf6bacd09a9c3b5b0e..c1deb2dbefcfda45e04e836aac8dfb0edef3e393 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,10 @@ +2024-06-01 Jonathan Wakely <jwakely@redhat.com> + + PR libstdc++/115269 + * doc/xml/manual/using.xml: Replace link to gcc-4.3.2 docs. + Replace list of -std=... options with a single entry for -std. + * doc/html/manual/using.html: Regenerate. + 2024-05-30 Alexandre Oliva <oliva@adacore.com> * configure.ac [*-*-rtems*]: Set chdir, chmod and mkdir as