mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
Daily bump.
This commit is contained in:
111
gcc/ChangeLog
111
gcc/ChangeLog
@@ -1,3 +1,114 @@
|
||||
2024-07-23 Mark Harmstone <mark@harmstone.com>
|
||||
|
||||
* dwarf2codeview.cc (get_type_num_reference_type): Handle rvalue refs.
|
||||
(get_type_num_array_type): Add DW_TAG_rvalue_reference_type to switch.
|
||||
(get_type_num): Handle DW_TAG_rvalue_reference_type DIEs.
|
||||
* dwarf2codeview.h (CV_PTR_MODE_RVREF): Define.
|
||||
|
||||
2024-07-23 Mark Harmstone <mark@harmstone.com>
|
||||
|
||||
* dwarf2codeview.cc (get_type_num_reference_type): New function.
|
||||
(get_type_num_array_type): Add DW_TAG_reference_type to switch.
|
||||
(get_type_num): Handle DW_TAG_reference_type DIEs.
|
||||
* dwarf2codeview.h (CV_PTR_MODE_LVREF): Define.
|
||||
|
||||
2024-07-23 Vineet Gupta <vineetg@rivosinc.com>
|
||||
|
||||
* config/riscv/bitmanip.md: Fix splitter.
|
||||
|
||||
2024-07-23 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
* doc/extend.texi: Add missing @option.
|
||||
|
||||
2024-07-23 Andi Kleen <ak@linux.intel.com>
|
||||
|
||||
PR c/83324
|
||||
* doc/extend.texi: Document [[musttail]]
|
||||
|
||||
2024-07-23 Tobias Burnus <tburnus@baylibre.com>
|
||||
|
||||
* doc/install.texi (amdgcn-x-amdhsa): Suggest newer git version
|
||||
for newlib.
|
||||
|
||||
2024-07-23 Jiufu Guo <guojiufu@linux.ibm.com>
|
||||
|
||||
PR target/96866
|
||||
* config/rs6000/rs6000.cc (print_operand_address): Emit message for
|
||||
unsupported operand.
|
||||
|
||||
2024-07-23 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/116002
|
||||
* tree-ssa-structalias.cc (topo_visit): Also consider
|
||||
SCALAR = SCALAR complex constraints as edges.
|
||||
|
||||
2024-07-23 Jakub Jelinek <jakub@redhat.com>
|
||||
Andrew Pinski <quic_apinski@quicinc.com>
|
||||
|
||||
PR tree-optimization/116034
|
||||
* tree-ssa.cc (maybe_rewrite_mem_ref_base): Only use IMAGPART_EXPR
|
||||
if MEM_REF offset is equal to element type size.
|
||||
|
||||
2024-07-23 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR rtl-optimization/116002
|
||||
* cselib.cc (cselib_hash_rtx): Use inchash to get proper mixing.
|
||||
Consistently avoid a zero return value when hashing successfully.
|
||||
Consistently treat a zero hash value from recursing as fatal.
|
||||
Use hashval_t where appropriate.
|
||||
(cselib_hash_plus_const_int): Likewise.
|
||||
(new_cselib_val): Use hashval_t.
|
||||
(cselib_lookup_1): Likewise.
|
||||
|
||||
2024-07-23 liuhongt <hongtao.liu@intel.com>
|
||||
|
||||
* config/i386/i386.cc (ix86_hardreg_mov_ok): Relax mov subreg
|
||||
to hard register after split1.
|
||||
|
||||
2024-07-23 Kewen Lin <linkw@linux.ibm.com>
|
||||
|
||||
PR target/115713
|
||||
* config/rs6000/rs6000.cc (rs6000_inner_target_options): Update option
|
||||
set information for rs6000_opt_vars.
|
||||
|
||||
2024-07-23 Kewen Lin <linkw@linux.ibm.com>
|
||||
|
||||
PR target/115713
|
||||
* config/rs6000/rs6000.cc (rs6000_inner_target_options): Avoid to
|
||||
enable altivec or disable avoid-indexed-addresses automatically
|
||||
when they get specified explicitly.
|
||||
|
||||
2024-07-23 Kewen Lin <linkw@linux.ibm.com>
|
||||
|
||||
PR target/115713
|
||||
* config/rs6000/rs6000.cc (rs6000_option_override_internal): Emit error
|
||||
messages when explicit VSX encounters explicit soft-float, no-altivec
|
||||
or avoid-indexed-addresses.
|
||||
|
||||
2024-07-23 Haochen Jiang <haochen.jiang@intel.com>
|
||||
|
||||
* config/i386/i386.md (prefetchi): Change to %a.
|
||||
|
||||
2024-07-23 Jeff Law <jlaw@ventanamicro.com>
|
||||
|
||||
PR rtl-optimization/115877
|
||||
* ext-dce.cc (ext_dce_process_sets): Reasonably handle input/output
|
||||
operands.
|
||||
(ext_dce_rd_transfer_n): Drop bogus assertion.
|
||||
|
||||
2024-07-23 Pan Li <pan2.li@intel.com>
|
||||
|
||||
* config/riscv/iterators.md (ANYI_DOUBLE_TRUNC): Add new iterator
|
||||
for int double truncation.
|
||||
(ANYI_DOUBLE_TRUNCATED): Add new attr for int double truncation.
|
||||
(anyi_double_truncated): Ditto but for lowercase.
|
||||
* config/riscv/riscv-protos.h (riscv_expand_ustrunc): Add new
|
||||
func decl for expanding ustrunc
|
||||
* config/riscv/riscv.cc (riscv_expand_ustrunc): Add new func
|
||||
impl to expand ustrunc.
|
||||
* config/riscv/riscv.md (ustrunc<mode><anyi_double_truncated>2): Impl
|
||||
the new pattern ustrunc<m><n>2 for int.
|
||||
|
||||
2024-07-22 Jan Hubicka <hubicka@ucw.cz>
|
||||
|
||||
PR ipa/109985
|
||||
|
||||
@@ -1 +1 @@
|
||||
20240723
|
||||
20240724
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2024-07-23 Andi Kleen <ak@linux.intel.com>
|
||||
|
||||
* c-attribs.cc (set_musttail_on_return): New function.
|
||||
* c-common.h (set_musttail_on_return): Declare new function.
|
||||
|
||||
2024-07-20 Andi Kleen <ak@gcc.gnu.org>
|
||||
|
||||
Revert:
|
||||
|
||||
@@ -1,3 +1,16 @@
|
||||
2024-07-23 Andi Kleen <ak@linux.intel.com>
|
||||
|
||||
PR c/83324
|
||||
* c-parser.cc (struct attr_state): Define with musttail_p.
|
||||
(c_parser_statement_after_labels): Handle [[musttail]].
|
||||
(c_parser_std_attribute): Dito.
|
||||
(c_parser_handle_musttail): Dito.
|
||||
(c_parser_compound_statement_nostart): Dito.
|
||||
(c_parser_all_labels): Dito.
|
||||
(c_parser_statement): Dito.
|
||||
* c-tree.h (c_finish_return): Add musttail_p flag.
|
||||
* c-typeck.cc (c_finish_return): Handle musttail_p flag.
|
||||
|
||||
2024-07-20 Andi Kleen <ak@gcc.gnu.org>
|
||||
|
||||
Revert:
|
||||
|
||||
@@ -1,3 +1,48 @@
|
||||
2024-07-23 Andi Kleen <ak@linux.intel.com>
|
||||
|
||||
PR c/83324
|
||||
* cp-tree.h (AGGR_INIT_EXPR_MUST_TAIL): Add.
|
||||
* parser.cc (cp_parser_statement): Handle musttail.
|
||||
(cp_parser_jump_statement): Dito.
|
||||
* pt.cc (tsubst_expr): Copy CALL_EXPR_MUST_TAIL_CALL.
|
||||
* semantics.cc (simplify_aggr_init_expr): Handle musttail.
|
||||
|
||||
2024-07-23 Patrick Palka <ppalka@redhat.com>
|
||||
|
||||
PR c++/115656
|
||||
* constraint.cc (weakly_subsumes): Pass in_decl=tmpl to
|
||||
get_normalized_constraints_from_info. Rename to ...
|
||||
(ttp_subsumes): ... this.
|
||||
* cp-tree.h (weakly_subsumes): Rename to ...
|
||||
(ttp_subsumes): ... this.
|
||||
* pt.cc (is_compatible_template_arg): Adjust after renaming.
|
||||
|
||||
2024-07-23 Patrick Palka <ppalka@redhat.com>
|
||||
|
||||
PR c++/115296
|
||||
* pt.cc (alias_ctad_tweaks): Use complain=tf_none instead of
|
||||
tf_warning_or_error.
|
||||
|
||||
2024-07-23 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* cp-tree.def (CHECK_CONSTR): Remove.
|
||||
* cp-tree.h (CHECK_CONSTR_CONCEPT, CHECK_CONSTR_ARGS): Remove.
|
||||
* cp-objcp-common.cc (cp_common_init_ts): Don't handle CHECK_CONSTR.
|
||||
* tree.cc (cp_tree_equal): Likewise.
|
||||
* error.cc (dump_expr): Likewise.
|
||||
* cxx-pretty-print.cc (cxx_pretty_printer::expression): Likewise.
|
||||
(pp_cxx_check_constraint): Remove.
|
||||
(pp_cxx_constraint): Don't handle CHECK_CONSTR.
|
||||
|
||||
2024-07-23 Patrick Palka <ppalka@redhat.com>
|
||||
|
||||
PR c++/104981
|
||||
PR c++/115550
|
||||
* coroutines.cc (morph_fn_to_coro): Remove unneeded calls
|
||||
to convert_to_reference and convert_from_reference when
|
||||
passing *this. Use cp_build_fold_indirect_ref instead
|
||||
of directly building INDIRECT_REF.
|
||||
|
||||
2024-07-22 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* cp-tree.def (UNARY_LEFT_FOLD_EXPR): Use FOLD_EXPR_MODIFY_P instead
|
||||
|
||||
@@ -1,3 +1,48 @@
|
||||
2024-07-23 Gaius Mulley <gaiusmod2@gmail.com>
|
||||
|
||||
PR modula2/116048
|
||||
* Make-lang.in (GM2-COMP-BOOT-DEFS): Add M2StateCheck.def.
|
||||
(GM2-COMP-BOOT-MODS): Add M2StateCheck.mod.
|
||||
(GM2-COMP-DEFS): Add M2StateCheck.def.
|
||||
(GM2-COMP-MODS): Add M2StateCheck.mod.
|
||||
* gm2-compiler/M2Quads.mod (StartBuildWith): Generate
|
||||
unrecoverable error is the qualident type is NulSym.
|
||||
Replace MetaError1 with MetaErrorT1 and position the error
|
||||
to the qualident.
|
||||
* gm2-compiler/P3Build.bnf (M2StateCheck): Import procedures.
|
||||
(seenError): New variable.
|
||||
(WasNoError): Remove variable.
|
||||
(BlockState): New variable.
|
||||
(ErrorString): Rewrite using seenError.
|
||||
(CompilationUnit): Ditto.
|
||||
(QualidentCheck): New rule.
|
||||
(ConstantDeclaration): Bookend with InclConst and ExclConst.
|
||||
(Constructor): Add InclConstructor, ExclConstructor and call
|
||||
CheckQualident.
|
||||
(ConstActualParameters): Call PushState, PopState, InclConstFunc
|
||||
and CheckQualident.
|
||||
(TypeDeclaration): Bookend with InclType and ExclType.
|
||||
(SimpleType): Call QualidentCheck.
|
||||
(CaseTag): Ditto.
|
||||
(OptReturnType): Ditto.
|
||||
(VariableDeclaration): Bookend with InclVar and ExclVar.
|
||||
(Designator): Call QualidentCheck.
|
||||
(Formal;Type): Ditto.
|
||||
* gm2-compiler/PCBuild.bnf (M2StateCheck): Import procedures.
|
||||
(ConstantDeclaration): Rewrite using InclConst and ExclConst.
|
||||
(Constructor): Bookend with InclConstructor and ExclConstructor.
|
||||
Call CheckQualident.
|
||||
(ConstructorOrConstActualParameters): Rewrite and cal
|
||||
l CheckQualident.
|
||||
(ConstActualParameters): Bookend with PushState PopState.
|
||||
Call InclConstFunc and CheckQualident.
|
||||
* gm2-gcc/init.cc (_M2_M2StateCheck_init): New declaration.
|
||||
(_M2_P3Build_init): New declaration.
|
||||
(init_PerCompilationInit): Call _M2_M2StateCheck_init and
|
||||
_M2_P3Build_init.
|
||||
* gm2-compiler/M2StateCheck.def: New file.
|
||||
* gm2-compiler/M2StateCheck.mod: New file.
|
||||
|
||||
2024-07-16 Gaius Mulley <gaiusmod2@gmail.com>
|
||||
|
||||
PR modula2/115957
|
||||
|
||||
@@ -1,3 +1,117 @@
|
||||
2024-07-23 Andi Kleen <ak@linux.intel.com>
|
||||
|
||||
* lib/target-supports.exp:
|
||||
(check_effective_target_struct_tail_call): New function.
|
||||
* c-c++-common/musttail1.c: New test.
|
||||
* c-c++-common/musttail12.c: New test.
|
||||
* c-c++-common/musttail13.c: New test.
|
||||
* c-c++-common/musttail2.c: New test.
|
||||
* c-c++-common/musttail3.c: New test.
|
||||
* c-c++-common/musttail4.c: New test.
|
||||
* c-c++-common/musttail5.c: New test.
|
||||
* c-c++-common/musttail7.c: New test.
|
||||
* c-c++-common/musttail8.c: New test.
|
||||
* g++.dg/musttail10.C: New test.
|
||||
* g++.dg/musttail11.C: New test.
|
||||
* g++.dg/musttail6.C: New test.
|
||||
* g++.dg/musttail9.C: New test.
|
||||
|
||||
2024-07-23 Patrick Palka <ppalka@redhat.com>
|
||||
|
||||
PR c++/115656
|
||||
* g++.dg/cpp2a/concepts-ttp7.C: New test.
|
||||
|
||||
2024-07-23 Patrick Palka <ppalka@redhat.com>
|
||||
|
||||
PR c++/115296
|
||||
* g++.dg/cpp2a/class-deduction-alias23.C: New test.
|
||||
|
||||
2024-07-23 Gaius Mulley <gaiusmod2@gmail.com>
|
||||
|
||||
PR modula2/116048
|
||||
* gm2/errors/fail/errors-fail.exp: Remove -Wstudents
|
||||
and add -Wuninit-variable-checking=all.
|
||||
Replace gm2_init_pim with gm2_init_iso.
|
||||
* gm2/errors/fail/testfio.mod: Modify test code to
|
||||
provoke an error in the first basic block.
|
||||
* gm2/errors/fail/testparam.mod: Ditto.
|
||||
* gm2/errors/fail/array1.mod: Ditto.
|
||||
* gm2/errors/fail/badtype.mod: New test.
|
||||
* gm2/errors/fail/badvar.mod: New test.
|
||||
|
||||
2024-07-23 Arsen Arsenović <arsen@aarsen.me>
|
||||
|
||||
PR c++/103953
|
||||
* g++.dg/coroutines/torture/pr103953.C: New test.
|
||||
|
||||
2024-07-23 Jiufu Guo <guojiufu@linux.ibm.com>
|
||||
|
||||
PR target/96866
|
||||
* gcc.target/powerpc/pr96866-1.c: New test.
|
||||
* gcc.target/powerpc/pr96866-2.c: New test.
|
||||
|
||||
2024-07-23 Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
|
||||
|
||||
PR testsuite/115826
|
||||
* gcc.dg/vect/tsvc/vect-tsvc-s1281.c: Use -fno-finite-math-only.
|
||||
|
||||
2024-07-23 Jakub Jelinek <jakub@redhat.com>
|
||||
Andrew Pinski <quic_apinski@quicinc.com>
|
||||
|
||||
PR tree-optimization/116034
|
||||
* gcc.dg/pr116034.c: New test.
|
||||
|
||||
2024-07-23 liuhongt <hongtao.liu@intel.com>
|
||||
|
||||
* g++.target/i386/pr115982.C: New test.
|
||||
|
||||
2024-07-23 Kewen Lin <linkw@linux.ibm.com>
|
||||
|
||||
PR target/115713
|
||||
* gcc.target/powerpc/pr115713-2.c: New test.
|
||||
|
||||
2024-07-23 Kewen Lin <linkw@linux.ibm.com>
|
||||
|
||||
PR target/115713
|
||||
* gcc.target/powerpc/pr115713-1.c: New test.
|
||||
* gcc.target/powerpc/ppc-target-4.c: Adjust by specifying altivec
|
||||
in target attribute.
|
||||
|
||||
2024-07-23 Kewen Lin <linkw@linux.ibm.com>
|
||||
|
||||
PR target/115713
|
||||
* gcc.target/powerpc/warn-1.c: Move to ...
|
||||
* gcc.target/powerpc/error-1.c: ... here. Adjust dg-warning with
|
||||
dg-error and remove ineffective scan.
|
||||
|
||||
2024-07-23 Haochen Jiang <haochen.jiang@intel.com>
|
||||
|
||||
* gcc.target/i386/prefetchi-1.c: Check (%rip).
|
||||
|
||||
2024-07-23 Alexandre Oliva <oliva@adacore.com>
|
||||
|
||||
PR target/106069
|
||||
* g++.target/powerpc/pr106069.C: Reorder dg directives.
|
||||
|
||||
2024-07-23 Patrick Palka <ppalka@redhat.com>
|
||||
|
||||
PR c++/104981
|
||||
PR c++/115550
|
||||
* g++.dg/coroutines/pr104981-preview-this.C: New test.
|
||||
* g++.dg/coroutines/pr115550-preview-this.C: New test.
|
||||
|
||||
2024-07-23 Pan Li <pan2.li@intel.com>
|
||||
|
||||
* gcc.target/riscv/sat_arith.h: Add test helper macro.
|
||||
* gcc.target/riscv/sat_arith_data.h: New test.
|
||||
* gcc.target/riscv/sat_u_trunc-1.c: New test.
|
||||
* gcc.target/riscv/sat_u_trunc-2.c: New test.
|
||||
* gcc.target/riscv/sat_u_trunc-3.c: New test.
|
||||
* gcc.target/riscv/sat_u_trunc-run-1.c: New test.
|
||||
* gcc.target/riscv/sat_u_trunc-run-2.c: New test.
|
||||
* gcc.target/riscv/sat_u_trunc-run-3.c: New test.
|
||||
* gcc.target/riscv/scalar_sat_unary.h: New test.
|
||||
|
||||
2024-07-22 Jan Hubicka <hubicka@ucw.cz>
|
||||
|
||||
PR ipa/111613
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
2024-07-23 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* src/c++23/print.cc (__open_terminal): Use [[maybe_unused]] on
|
||||
parameter.
|
||||
|
||||
2024-07-23 Detlef Vollmann <dv@vollmann.ch>
|
||||
|
||||
PR libstdc++/115482
|
||||
* src/c++23/print.cc (__open_terminal) [__AVR__]: Do not use
|
||||
isatty.
|
||||
|
||||
2024-07-18 Patrick Palka <ppalka@redhat.com>
|
||||
|
||||
* include/experimental/socket
|
||||
|
||||
Reference in New Issue
Block a user