Daily bump.
This commit is contained in:
parent
ccbcde5ec0
commit
69fdcd0c57
6 changed files with 521 additions and 1 deletions
196
gcc/ChangeLog
196
gcc/ChangeLog
|
@ -1,3 +1,199 @@
|
|||
2024-06-21 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
* diagnostic-format-json.cc
|
||||
(json_output_format::on_end_diagnostic): Use
|
||||
get_diagnostic_kind_text rather than embedding a duplicate copy of
|
||||
the table.
|
||||
* diagnostic-format-sarif.cc
|
||||
(make_rule_id_for_diagnostic_kind): Likewise.
|
||||
* diagnostic.cc (get_diagnostic_kind_text): New.
|
||||
* diagnostic.h (get_diagnostic_kind_text): New decl.
|
||||
|
||||
2024-06-21 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
* diagnostic-path.cc (diagnostic_event::meaning::dump_to_pp): Move
|
||||
here from diagnostic.cc.
|
||||
(diagnostic_event::meaning::maybe_get_verb_str): Likewise.
|
||||
(diagnostic_event::meaning::maybe_get_noun_str): Likewise.
|
||||
(diagnostic_event::meaning::maybe_get_property_str): Likewise.
|
||||
(diagnostic_path::get_first_event_in_a_function): Likewise.
|
||||
(diagnostic_path::interprocedural_p): Likewise.
|
||||
(debug): Likewise for diagnostic_path * overload.
|
||||
* diagnostic.cc (diagnostic_event::meaning::dump_to_pp): Move from
|
||||
here to diagnostic-path.cc.
|
||||
(diagnostic_event::meaning::maybe_get_verb_str): Likewise.
|
||||
(diagnostic_event::meaning::maybe_get_noun_str): Likewise.
|
||||
(diagnostic_event::meaning::maybe_get_property_str): Likewise.
|
||||
(diagnostic_path::get_first_event_in_a_function): Likewise.
|
||||
(diagnostic_path::interprocedural_p): Likewise.
|
||||
(debug): Likewise for diagnostic_path * overload.
|
||||
|
||||
2024-06-21 Jeff Law <jlaw@ventanamicro.com>
|
||||
|
||||
* config/stormy16/stormy16.md (swpn_zext): New pattern.
|
||||
|
||||
2024-06-21 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* config/stormy16/predicates.md (xs_hi_nonmemory_operand): Handle
|
||||
symbol_ref and label_ref.
|
||||
|
||||
2024-06-21 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* config/iq2000/iq2000.cc (iq2000_print_operand): Make %p handle 1<<31.
|
||||
* config/iq2000/iq2000.md: Remove "I" constraints on
|
||||
power_of_2_operands.
|
||||
|
||||
2024-06-21 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* rtl-ssa/changes.cc (rtl_ssa::changes_are_worthwhile): Don't
|
||||
cost no-op moves.
|
||||
* rtl-ssa/insns.cc (insn_info::calculate_cost): Likewise.
|
||||
|
||||
2024-06-21 Andrew MacLeod <amacleod@redhat.com>
|
||||
|
||||
* gimple-range.cc (gimple_ranger::register_inferred_ranges): Do not
|
||||
dump global range info after set_range_info.
|
||||
(gimple_ranger::register_transitive_inferred_ranges): Likewise.
|
||||
(dom_ranger::range_of_stmt): Likewise.
|
||||
* tree-ssanames.cc (set_range_info): If global range info
|
||||
changes, maybe print new range to dump_file.
|
||||
* tree-vrp.cc (remove_unreachable::handle_early): Do not
|
||||
dump global range info after set_range_info.
|
||||
(remove_unreachable::remove): Likewise.
|
||||
(remove_unreachable::remove_and_update_globals): Likewise.
|
||||
(pass_assumptions::execute): Likewise.
|
||||
|
||||
2024-06-21 Andrew MacLeod <amacleod@redhat.com>
|
||||
|
||||
* gimple-range.cc (dom_ranger::dom_ranger): Create a block
|
||||
vector.
|
||||
(dom_ranger::~dom_ranger): Dispose of the block vector.
|
||||
(dom_ranger::edge_range): Delete.
|
||||
(dom_ranger::range_on_edge): Combine range in src BB with any
|
||||
range gori_nme_on_edge returns.
|
||||
(dom_ranger::range_in_bb): Combine global range with any active
|
||||
contextual range for an ssa-name.
|
||||
(dom_ranger::range_of_stmt): Fix non-ssa LHS case, use
|
||||
fur_depend for folding so relations can be registered.
|
||||
(dom_ranger::maybe_push_edge): Delete.
|
||||
(dom_ranger::pre_bb): Create incoming contextual range vector.
|
||||
(dom_ranger::post_bb): Free contextual range vector.
|
||||
* gimple-range.h (dom_ranger::edge_range): Delete.
|
||||
(dom_ranger::m_e0): Delete.
|
||||
(dom_ranger::m_e1): Delete.
|
||||
(dom_ranger::m_bb): New.
|
||||
(dom_ranger::m_pop_list): Delete.
|
||||
* tree-vrp.cc (execute_fast_vrp): Enable relation oracle.
|
||||
|
||||
2024-06-21 Andrew MacLeod <amacleod@redhat.com>
|
||||
|
||||
* tree-vrp.cc (remove_unreachable::remove): Export global range
|
||||
if builtin_unreachable dominates all uses.
|
||||
(remove_unreachable::remove_and_update_globals): Do not reset SCEV.
|
||||
(execute_ranger_vrp): Reset SCEV here instead.
|
||||
(fvrp_folder::fvrp_folder): Take final pass flag
|
||||
and create a remove_unreachable object when specified.
|
||||
(fvrp_folder::pre_fold_stmt): Register GIMPLE_CONDs with
|
||||
the remove_unreachcable object.
|
||||
(fvrp_folder::m_unreachable): New.
|
||||
(execute_fast_vrp): Process remove_unreachable object.
|
||||
(pass_vrp::execute): Add final_p flag to execute_fast_vrp.
|
||||
|
||||
2024-06-21 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
PR testsuite/109360
|
||||
* doc/install.texi: Mention optional usage of "jsonschema" tool.
|
||||
|
||||
2024-06-21 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
PR testsuite/109360
|
||||
* diagnostic-format-sarif.cc
|
||||
(sarif_builder::make_location_object): Pass any column override
|
||||
from rich_loc to maybe_make_physical_location_object.
|
||||
(sarif_builder::maybe_make_physical_location_object): Add
|
||||
"column_override" param and pass it to maybe_make_region_object.
|
||||
(sarif_builder::maybe_make_region_object): Add "column_override"
|
||||
param and use it when the location has 0 for a column. Don't
|
||||
add "startLine", "startColumn", "endLine", or "endColumn" if
|
||||
the values aren't positive.
|
||||
(sarif_builder::maybe_make_region_object_for_context): Don't
|
||||
add "startLine" or "endLine" if the values aren't positive.
|
||||
|
||||
2024-06-21 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* config/sh/sh.md (*minus_plus_one): Add constraints.
|
||||
|
||||
2024-06-21 Andrew Pinski <quic_apinski@quicinc.com>
|
||||
|
||||
PR tree-optimization/68855
|
||||
* tree-complex.cc (init_dont_simulate_again): Handle PAREN_EXPR
|
||||
like NEGATE_EXPR.
|
||||
(complex_propagate::visit_stmt): Likewise.
|
||||
(expand_complex_move): Don't handle PAREN_EXPR.
|
||||
(expand_complex_paren): New function.
|
||||
(expand_complex_operations_1): Handle PAREN_EXPR like
|
||||
NEGATE_EXPR. And call expand_complex_paren for PAREN_EXPR.
|
||||
|
||||
2024-06-21 Richard Biener <rguenther@suse.de>
|
||||
|
||||
* doc/passes.texi: Remove references to no longer existing
|
||||
passes.
|
||||
|
||||
2024-06-21 YunQiang Su <syq@gcc.gnu.org>
|
||||
|
||||
* configure.ac: Set gcc_cv_as_mips_explicit_relocs if
|
||||
gcc_cv_as_mips_explicit_relocs_pcrel.
|
||||
* configure: Regenerate.
|
||||
|
||||
2024-06-21 YunQiang Su <syq@gcc.gnu.org>
|
||||
|
||||
* config/mips/mips.cc(mips_rtx_costs): Set condmove cost.
|
||||
* config/mips/mips.md(mov<GPR:mode>_on_<MOVECC:mode>,
|
||||
mov<GPR:mode>_on_<MOVECC:mode>_mips16e2,
|
||||
mov<GPR:mode>_on_<GPR2:mode>_ne
|
||||
mov<GPR:mode>_on_<GPR2:mode>_ne_mips16e2): Define name by
|
||||
remove starting *, so that we can use CODE_FOR_.
|
||||
|
||||
2024-06-21 Kewen Lin <linkw@linux.ibm.com>
|
||||
Xionghu Luo <xionghuluo@tencent.com>
|
||||
|
||||
PR target/106069
|
||||
PR target/115355
|
||||
* config/rs6000/altivec.md (altivec_vmrghw_direct_<VSX_W:mode>): Rename
|
||||
to ...
|
||||
(altivec_vmrghw_direct_<VSX_W:mode>_be): ... this. Add the condition
|
||||
BYTES_BIG_ENDIAN.
|
||||
(altivec_vmrghw_direct_<VSX_W:mode>_le): New define_insn.
|
||||
(altivec_vmrglw_direct_<VSX_W:mode>): Rename to ...
|
||||
(altivec_vmrglw_direct_<VSX_W:mode>_be): ... this. Add the condition
|
||||
BYTES_BIG_ENDIAN.
|
||||
(altivec_vmrglw_direct_<VSX_W:mode>_le): New define_insn.
|
||||
(altivec_vmrghw): Adjust by calling gen_altivec_vmrghw_direct_v4si_be
|
||||
for BE and gen_altivec_vmrglw_direct_v4si_le for LE.
|
||||
(altivec_vmrglw): Adjust by calling gen_altivec_vmrglw_direct_v4si_be
|
||||
for BE and gen_altivec_vmrghw_direct_v4si_le for LE.
|
||||
(vec_widen_umult_hi_v8hi): Adjust the call to
|
||||
gen_altivec_vmrghw_direct_v4si by gen_altivec_vmrghw for BE
|
||||
and by gen_altivec_vmrglw for LE.
|
||||
(vec_widen_smult_hi_v8hi): Likewise.
|
||||
(vec_widen_umult_lo_v8hi): Adjust the call to
|
||||
gen_altivec_vmrglw_direct_v4si by gen_altivec_vmrglw for BE
|
||||
and by gen_altivec_vmrghw for LE
|
||||
(vec_widen_smult_lo_v8hi): Likewise.
|
||||
* config/rs6000/rs6000.cc (altivec_expand_vec_perm_const): Replace
|
||||
CODE_FOR_altivec_vmrghw_direct_v4si by
|
||||
CODE_FOR_altivec_vmrghw_direct_v4si_be for BE and
|
||||
CODE_FOR_altivec_vmrghw_direct_v4si_le for LE. And replace
|
||||
CODE_FOR_altivec_vmrglw_direct_v4si by
|
||||
CODE_FOR_altivec_vmrglw_direct_v4si_be for BE and
|
||||
CODE_FOR_altivec_vmrglw_direct_v4si_le for LE.
|
||||
* config/rs6000/vsx.md (vsx_xxmrghw_<VSX_W:mode>): Adjust by calling
|
||||
gen_altivec_vmrghw_direct_v4si_be for BE and
|
||||
gen_altivec_vmrglw_direct_v4si_le for LE.
|
||||
(vsx_xxmrglw_<VSX_W:mode>): Adjust by calling
|
||||
gen_altivec_vmrglw_direct_v4si_be for BE and
|
||||
gen_altivec_vmrghw_direct_v4si_le for LE.
|
||||
|
||||
2024-06-20 Roger Sayle <roger@nextmovesoftware.com>
|
||||
|
||||
* config/i386/i386-expand.cc (ix86_ternlog_idx): Allow any SUBREG
|
||||
|
|
|
@ -1 +1 @@
|
|||
20240621
|
||||
20240622
|
||||
|
|
|
@ -1,3 +1,169 @@
|
|||
2024-06-21 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* gcc-interface/trans.cc (Subprogram_Body_to_gnu): Also return early
|
||||
for a protected subprogram in -gnatc mode.
|
||||
|
||||
2024-06-21 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* gcc-interface/decl.cc (gnat_to_gnu_entity) <discrete_type>: Set
|
||||
the TYPE_JUSTIFIED_MODULAR_P flag earlier.
|
||||
* gcc-interface/misc.cc (gnat_unit_size_without_reusable_padding):
|
||||
New function.
|
||||
(LANG_HOOKS_UNIT_SIZE_WITHOUT_REUSABLE_PADDING): Redefine to above
|
||||
function.
|
||||
|
||||
2024-06-21 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* gcc-interface/utils.cc (clear_decl_bit_field): New function.
|
||||
(finish_record_type): Call clear_decl_bit_field instead of clearing
|
||||
DECL_BIT_FIELD manually.
|
||||
|
||||
2024-06-21 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* gcc-interface/trans.cc (gnat_to_gnu) <N_Op_Mod>: Fix formatting.
|
||||
* gcc-interface/utils2.cc: Include optabs-query.h.
|
||||
(fast_modulo_reduction): Call can_mult_highpart_p on the TYPE_MODE
|
||||
before generating a high-part multiply. Fix formatting.
|
||||
|
||||
2024-06-21 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* gcc-interface/gigi.h (fast_modulo_reduction): Declare.
|
||||
* gcc-interface/trans.cc (gnat_to_gnu) <N_Op_Mod>: In the unsigned
|
||||
case, call fast_modulo_reduction for {FLOOR,TRUNC}_MOD_EXPR if the
|
||||
RHS is a constant and not a power of two, and the precision is not
|
||||
larger than the word size.
|
||||
* gcc-interface/utils2.cc: Include expmed.h.
|
||||
(fast_modulo_reduction): New function.
|
||||
(nonbinary_modular_operation): Call fast_modulo_reduction for the
|
||||
multiplication if the precision is not larger than the word size.
|
||||
|
||||
2024-06-21 Javier Miranda <miranda@adacore.com>
|
||||
|
||||
* sem_ch2.adb (Analyze_Interpolated_String_Literal): Reject
|
||||
ambiguous function calls.
|
||||
|
||||
2024-06-21 Ronan Desplanques <desplanques@adacore.com>
|
||||
|
||||
* sem_util.adb (Examine_Array_Bounds): Add missing return
|
||||
statements. Fix criterion for a string literal being empty.
|
||||
|
||||
2024-06-21 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* bcheck.adb (Check_Consistency_Of_Sdep): Guard against path to ALI
|
||||
file not found.
|
||||
|
||||
2024-06-21 Javier Miranda <miranda@adacore.com>
|
||||
|
||||
* sem_ch13.adb (Analyze_One_Aspect): Fix code locating the entity
|
||||
of the parent type.
|
||||
|
||||
2024-06-21 Marc Poulhiès <poulhies@adacore.com>
|
||||
|
||||
* make.adb (Scan_Make_Arg): Adjust error message.
|
||||
* gnatls.adb (Search_RTS): Likewise.
|
||||
* switch-b.adb (Scan_Debug_Switches): Likewise.
|
||||
|
||||
2024-06-21 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* einfo.ads (Direct_Primitive_Operations): Mention concurrent types
|
||||
as well as GNAT extensions instead of implementation details.
|
||||
(Primitive_Operations): Document that Direct_Primitive_Operations is
|
||||
also used for concurrent types as a fallback.
|
||||
* einfo-utils.adb (Primitive_Operations): Tweak formatting.
|
||||
* exp_util.ads (Find_Prim_Op): Adjust description.
|
||||
* exp_util.adb (Make_Subtype_From_Expr): In the private case with
|
||||
unknown discriminants, always copy Direct_Primitive_Operations and
|
||||
do not overwrite the Class_Wide_Type of the expression's base type.
|
||||
* sem_ch3.adb (Analyze_Incomplete_Type_Decl): Tweak comment.
|
||||
(Analyze_Subtype_Declaration): Remove older and now dead calls to
|
||||
Set_Direct_Primitive_Operations. Tweak comment.
|
||||
(Build_Derived_Private_Type): Likewise.
|
||||
(Build_Derived_Record_Type): Likewise.
|
||||
(Build_Discriminated_Subtype): Set Direct_Primitive_Operations in
|
||||
all cases instead of just for tagged types.
|
||||
(Complete_Private_Subtype): Likewise.
|
||||
(Derived_Type_Declaration): Tweak comment.
|
||||
* sem_ch4.ads (Try_Object_Operation): Adjust description.
|
||||
|
||||
2024-06-21 Doug Rupp <rupp@adacore.com>
|
||||
|
||||
* init.c [vxworks] (__gnat_install_handler): Revert to
|
||||
installing signal handlers without regard to interrupt_state.
|
||||
|
||||
2024-06-21 Javier Miranda <miranda@adacore.com>
|
||||
|
||||
* sem_disp.adb (Find_Hidden_Overridden_Primitive): Check
|
||||
public dispatching primitives of ancestors; previously,
|
||||
only immediately-visible primitives were checked.
|
||||
|
||||
2024-06-21 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* checks.adb (Generate_Index_Checks): Add specific treatment for
|
||||
index expressions that are N_Expression_With_Actions nodes.
|
||||
|
||||
2024-06-21 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* sem_ch4.adb (Analyze_Selected_Component): Rename Name into Pref
|
||||
and use Sel local variable consistently.
|
||||
(Is_Simple_Indexed_Component): New predicate.
|
||||
Call Is_Simple_Indexed_Component to determine whether to build an
|
||||
actual subtype for the component.
|
||||
|
||||
2024-06-21 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* freeze.adb (Freeze_Array_Type): Decouple the handling of the
|
||||
interaction between packing and aliased/atomic components from
|
||||
that of the interaction between a component clause and aliased/
|
||||
atomic components, and retrofit the processing of the interaction
|
||||
between the two characteristics and independent components into
|
||||
the common processing.
|
||||
|
||||
2024-06-21 Bob Duff <duff@adacore.com>
|
||||
|
||||
* gen_il-gen-gen_nodes.adb
|
||||
(N_Generic_Package_Declaration): Remove Activation_Chain_Entity.
|
||||
* sinfo.ads: Comment improvements. Add missing doc.
|
||||
Remove obsolete comment about Activation_Chain_Entity.
|
||||
* einfo.ads: Comment improvements. Add missing doc.
|
||||
* einfo-utils.adb (Base_Type): Add Assert (disabled for now).
|
||||
(Next_Index): Minor cleanup.
|
||||
* aspects.ads: Minor comment fix.
|
||||
* exp_ch6.adb: Likewise.
|
||||
* sem_ch3.adb: Likewise.
|
||||
|
||||
2024-06-21 Piotr Trojanek <trojanek@adacore.com>
|
||||
|
||||
* sem_ch3.adb (Add_Interface_Tag_Components): Simplify with No.
|
||||
|
||||
2024-06-21 Steve Baird <baird@adacore.com>
|
||||
|
||||
* sem_ch4.adb (Is_Effectively_Visible_Operator): A new function.
|
||||
(Check_Arithmetic_Pair): In paths where Add_One_Interp was
|
||||
previously called unconditionally, instead call only if
|
||||
Is_Effectively_Visible_Operator returns True.
|
||||
(Check_Boolean_Pair): Likewise.
|
||||
(Find_Unary_Types): Likewise.
|
||||
|
||||
2024-06-21 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* accessibility.adb (Accessibility_Level): Apply the processing to
|
||||
Expr when its Original_Node is an unanalyzed identifier.
|
||||
|
||||
2024-06-21 Piotr Trojanek <trojanek@adacore.com>
|
||||
|
||||
* sem_attr.adb (In_Aspect_Specification): Use the standard
|
||||
condition that works correctly with declare expressions.
|
||||
* sem_ch13.adb (Analyze_Aspects_At_Freeze_Point): Replace
|
||||
ordinary analysis with preanalysis of spec expressions.
|
||||
|
||||
2024-06-21 Justin Squirek <squirek@adacore.com>
|
||||
|
||||
* csets.ads (Identifier_Char): New function - replacing table.
|
||||
* csets.adb (Identifier_Char): Rename and move table for static values.
|
||||
(Initialize): Remove dynamic calculations.
|
||||
(Identifier_Char): New function to calculate dynamic values.
|
||||
* opt.adb (Set_Config_Switches): Remove setting of Identifier_Char.
|
||||
|
||||
2024-06-20 Steve Baird <baird@adacore.com>
|
||||
|
||||
* sem_attr.adb (Resolve_Attribute.Proper_Op): When resolving the
|
||||
|
|
|
@ -1,3 +1,40 @@
|
|||
2024-06-21 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
PR testsuite/109360
|
||||
* lib/sarif-schema-2.1.0.json: New file, downloaded from
|
||||
https://docs.oasis-open.org/sarif/sarif/v2.1.0/os/schemas/sarif-schema-2.1.0.json
|
||||
Licensing information can be seen at
|
||||
https://github.com/oasis-tcs/sarif-spec/issues/583
|
||||
which states "They are free to incorporate it into their
|
||||
implementation. No need for special permission or paperwork from
|
||||
OASIS."
|
||||
* lib/scansarif.exp (verify-sarif-file): If "jsonschema" is
|
||||
available, use it to verify that the .sarif file complies with the
|
||||
SARIF schema.
|
||||
* lib/target-supports.exp (check_effective_target_jsonschema):
|
||||
New.
|
||||
|
||||
2024-06-21 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* gnat.dg/atomic10.adb: Adjust.
|
||||
|
||||
2024-06-21 Andrew Pinski <quic_apinski@quicinc.com>
|
||||
|
||||
* gcc.dg/vect/pr68855.c: New test.
|
||||
* gfortran.dg/vect/pr68855.f90: New test.
|
||||
|
||||
2024-06-21 YunQiang Su <syq@gcc.gnu.org>
|
||||
|
||||
* gcc.target/mips/movcc-2.c: Add k?100:1000 test.
|
||||
|
||||
2024-06-21 Kewen Lin <linkw@linux.ibm.com>
|
||||
Xionghu Luo <xionghuluo@tencent.com>
|
||||
|
||||
PR target/106069
|
||||
PR target/115355
|
||||
* g++.target/powerpc/pr106069.C: New test.
|
||||
* gcc.target/powerpc/pr115355.c: New test.
|
||||
|
||||
2024-06-20 Hongyu Wang <hongyu.wang@intel.com>
|
||||
|
||||
* gcc.target/i386/apx-ccmp-2.c: Remove -mno-apxf in option.
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
2024-06-21 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
PR testsuite/109360
|
||||
* include/rich-location.h (rich_location::get_column_override):
|
||||
New accessor.
|
||||
|
||||
2024-06-11 Joseph Myers <josmyers@redhat.com>
|
||||
|
||||
* include/cpplib.h (CLK_GNUC2Y, CLK_STDC2Y): New.
|
||||
|
|
|
@ -1,3 +1,118 @@
|
|||
2024-06-21 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/115497
|
||||
* include/bits/cpp_type_traits.h (__is_pointer, __is_scalar):
|
||||
Remove.
|
||||
(__is_arithmetic): Do not use __is_pointer in the primary
|
||||
template. Add partial specialization for pointers.
|
||||
|
||||
2024-06-21 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/115497
|
||||
* include/bits/cpp_type_traits.h (__is_void): Remove.
|
||||
* include/debug/helper_functions.h (_Distance_traits):
|
||||
Adjust partial specialization to match void directly, instead of
|
||||
using __is_void<T>::__type and matching __true_type.
|
||||
|
||||
2024-06-21 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/115497
|
||||
* include/bits/deque.tcc (__lex_cmp_dit): Replace __is_pointer
|
||||
class template with __is_pointer(T) built-in.
|
||||
(__lexicographical_compare_aux1): Likewise.
|
||||
* include/bits/stl_algobase.h (__equal_aux1): Likewise.
|
||||
(__lexicographical_compare_aux1): Likewise.
|
||||
|
||||
2024-06-21 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/115497
|
||||
* include/bits/valarray_array.h (__valarray_default_construct):
|
||||
Use __is_trivial(_Tp). instead of __is_scalar<_Tp>.
|
||||
|
||||
2024-06-21 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/109150
|
||||
* include/bits/stl_algobase.h (__fill_a1): Combine the
|
||||
!__is_scalar and __is_scalar overloads into one and rewrite the
|
||||
condition used to decide whether to perform the load outside the
|
||||
loop.
|
||||
* testsuite/25_algorithms/fill/109150.cc: New test.
|
||||
* testsuite/25_algorithms/fill_n/109150.cc: New test.
|
||||
|
||||
2024-06-21 Matthias Kretz <m.kretz@gsi.de>
|
||||
|
||||
PR libstdc++/115575
|
||||
* testsuite/experimental/simd/pr115454_find_last_set.cc: Require
|
||||
avx512f_runtime. Don't memcpy fixed_size masks.
|
||||
|
||||
2024-06-21 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* include/bits/stl_uninitialized.h (uninitialized_default_construct)
|
||||
(uninitialized_default_construct_n, uninitialized_value_construct)
|
||||
(uninitialized_value_construct_n): Qualify calls to prevent ADL.
|
||||
|
||||
2024-06-21 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* include/std/any (any_cast(any*), any_cast(const any*)): Add
|
||||
static assertion to reject void types, as per LWG 3305.
|
||||
* testsuite/20_util/any/misc/lwg3305.cc: New test.
|
||||
|
||||
2024-06-21 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* include/bits/memory_resource.h (polymorphic_allocator::destroy):
|
||||
Remove deprecated attribute.
|
||||
|
||||
2024-06-21 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* include/backward/backward_warning.h: Adjust comments to
|
||||
suggest <spanstream> as another alternative to <strstream>.
|
||||
* include/backward/strstream (strstreambuf, istrstream)
|
||||
(ostrstream, strstream): Add deprecated attribute.
|
||||
|
||||
2024-06-21 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* include/bits/locale_conv.h (wstring_convert): Add deprecated
|
||||
attribute for C++17 and later.
|
||||
(wbuffer_convert): Likewise.
|
||||
* testsuite/22_locale/codecvt/codecvt_utf16/79980.cc: Disable
|
||||
deprecated warnings.
|
||||
* testsuite/22_locale/codecvt/codecvt_utf8/79980.cc: Likewise.
|
||||
* testsuite/22_locale/codecvt/codecvt_utf8_utf16/79511.cc:
|
||||
Likewise.
|
||||
* testsuite/22_locale/conversions/buffer/1.cc: Add dg-warning.
|
||||
* testsuite/22_locale/conversions/buffer/2.cc: Likewise.
|
||||
* testsuite/22_locale/conversions/buffer/3.cc: Likewise.
|
||||
* testsuite/22_locale/conversions/buffer/requirements/typedefs.cc:
|
||||
Likewise.
|
||||
* testsuite/22_locale/conversions/string/1.cc: Likewise.
|
||||
* testsuite/22_locale/conversions/string/2.cc: Likewise.
|
||||
* testsuite/22_locale/conversions/string/3.cc: Likewise.
|
||||
* testsuite/22_locale/conversions/string/66441.cc: Likewise.
|
||||
* testsuite/22_locale/conversions/string/requirements/typedefs-2.cc:
|
||||
Likewise.
|
||||
* testsuite/22_locale/conversions/string/requirements/typedefs.cc:
|
||||
Likewise.
|
||||
|
||||
2024-06-21 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* include/bits/version.def (chrono): Add cxx11abi = yes.
|
||||
* include/bits/version.h: Regenerate.
|
||||
* testsuite/std/time/syn_c++20.cc: Adjust expected value for
|
||||
the feature test macro.
|
||||
|
||||
2024-06-21 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/115522
|
||||
* include/std/array (to_array): Workaround the fact that
|
||||
std::is_trivial is not sufficient to check that a type is
|
||||
trivially default constructible and assignable.
|
||||
* testsuite/23_containers/array/creation/115522.cc: New test.
|
||||
|
||||
2024-06-21 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* testsuite/util/testsuite_allocator.h (tracker_allocator):
|
||||
Initialize base class in copy constructor.
|
||||
|
||||
2024-06-20 Matthias Kretz <m.kretz@gsi.de>
|
||||
|
||||
PR libstdc++/115454
|
||||
|
|
Loading…
Add table
Reference in a new issue