mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
Daily bump.
This commit is contained in:
parent
5e1538c5f6
commit
87f9c4a433
@ -1,3 +1,8 @@
|
||||
2022-10-19 LIU Hao <lh_mouse@126.com>
|
||||
|
||||
* gthr.m4 (GCC_AC_THREAD_HEADER): Add new case for `mcf` thread
|
||||
model
|
||||
|
||||
2022-08-31 Martin Liska <mliska@suse.cz>
|
||||
|
||||
* mh-pa-hpux10: Removed.
|
||||
|
134
gcc/ChangeLog
134
gcc/ChangeLog
@ -1,3 +1,137 @@
|
||||
2022-10-19 Aldy Hernandez <aldyh@redhat.com>
|
||||
|
||||
* range-op-float.cc (build_le): Document result.
|
||||
(build_lt): Same.
|
||||
(build_ge): Same.
|
||||
(foperator_ge::op2_range): Check result of build_*.
|
||||
(foperator_unordered_le::op1_range): Same.
|
||||
(foperator_unordered_le::op2_range): Same.
|
||||
(foperator_unordered_gt::op1_range): Same.
|
||||
(foperator_unordered_gt::op2_range): Same.
|
||||
(foperator_unordered_ge::op1_range): Same.
|
||||
(foperator_unordered_ge::op2_range): Same.
|
||||
|
||||
2022-10-19 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
PR c++/85043
|
||||
* doc/invoke.texi: Update documentation of -Wuseless-cast.
|
||||
|
||||
2022-10-19 Andrew MacLeod <amacleod@redhat.com>
|
||||
|
||||
* gimple-range-cache.cc (ranger_cache::range_from_dom): Use
|
||||
Value_Range not int_range_max.
|
||||
|
||||
2022-10-19 Aldy Hernandez <aldyh@redhat.com>
|
||||
|
||||
PR tree-optimization/107312
|
||||
* range.h (range_true_and_false): Special case 1-bit signed types.
|
||||
* value-range.cc (range_tests_misc): New test.
|
||||
|
||||
2022-10-19 LIU Hao <lh_mouse@126.com>
|
||||
|
||||
* config/i386/mingw-mcfgthread.h: New file
|
||||
* config/i386/mingw32.h: Add builtin macro and default libraries
|
||||
for mcfgthread when thread model is `mcf`
|
||||
* config.gcc: Include 'i386/mingw-mcfgthread.h' when thread model
|
||||
is `mcf`
|
||||
* configure.ac: Recognize `mcf` as a valid thread model
|
||||
* config.in: Regenerate
|
||||
* configure: Regenerate
|
||||
|
||||
2022-10-19 Lewis Hyatt <lhyatt@gmail.com>
|
||||
|
||||
* gengtype.cc (output_escaped_param): Add missing const.
|
||||
(get_string_option): Add missing check for option type.
|
||||
(walk_type): Support new "string_length" GTY option.
|
||||
(write_types_process_field): Likewise.
|
||||
* ggc-common.cc (gt_pch_note_object): Add optional length argument.
|
||||
* ggc.h (gt_pch_note_object): Adjust prototype for new argument.
|
||||
(gt_pch_n_S2): Declare...
|
||||
* stringpool.cc (gt_pch_n_S2): ...new function.
|
||||
* doc/gty.texi: Document new GTY((string_length)) option.
|
||||
|
||||
2022-10-19 Martin Liska <mliska@suse.cz>
|
||||
|
||||
* doc/extend.texi: Remove useless @tie{} directives.
|
||||
|
||||
2022-10-19 Martin Jambor <mjambor@suse.cz>
|
||||
|
||||
PR tree-optimization/107206
|
||||
* tree-sra.cc (struct access): New field grp_result_of_prop_from_lhs.
|
||||
(analyze_access_subtree): Do not create replacements for accesses with
|
||||
this flag when not toally scalarizing.
|
||||
(propagate_subaccesses_from_lhs): Set the new flag.
|
||||
|
||||
2022-10-19 Stefan Schulze Frielinghaus <stefansf@linux.ibm.com>
|
||||
|
||||
PR target/106355
|
||||
* config/s390/s390.cc (s390_call_saved_register_used): For a
|
||||
parameter with BLKmode fix determining number of consecutive
|
||||
registers.
|
||||
|
||||
2022-10-19 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
|
||||
|
||||
* config/xtensa/xtensa-protos.h
|
||||
(xtensa_split1_finished_p, xtensa_split_DI_reg_imm): New prototypes.
|
||||
* config/xtensa/xtensa.cc
|
||||
(xtensa_split1_finished_p, xtensa_split_DI_reg_imm, xtensa_lra_p):
|
||||
New functions.
|
||||
(TARGET_LRA_P): Replace the dummy hook with xtensa_lra_p.
|
||||
(xt_true_regnum): Rework.
|
||||
* config/xtensa/xtensa.h (CALL_REALLY_USED_REGISTERS):
|
||||
Switch from CALL_USED_REGISTERS, and revise the comment.
|
||||
* config/xtensa/constraints.md (Y):
|
||||
Use !xtensa_split1_finished_p() instead of can_create_pseudo_p().
|
||||
* config/xtensa/predicates.md (move_operand): Ditto.
|
||||
* config/xtensa/xtensa.md: Add two new split patterns:
|
||||
- splits DImode immediate load into two SImode ones
|
||||
- puts out-of-constraint SImode constants into the constant pool
|
||||
* config/xtensa/xtensa.opt (-mlra): New target-specific option
|
||||
for testing purpose.
|
||||
|
||||
2022-10-19 Robin Dapp <rdapp@linux.ibm.com>
|
||||
|
||||
* config/s390/s390.md: Move reload_completed and check operands for REG_P.
|
||||
|
||||
2022-10-19 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR middle-end/107262
|
||||
* expr.cc (convert_mode_scalar): For BFmode -> SFmode conversions
|
||||
of constants, use simplify_unary_operation if fromi has VOIDmode
|
||||
instead of recursive convert_mode_scalar.
|
||||
|
||||
2022-10-19 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR tree-optimization/106990
|
||||
* match.pd ((~X - ~Y) -> Y - X, -x & 1 -> x & 1): Guard with
|
||||
!TYPE_OVERFLOW_SANITIZED (type).
|
||||
|
||||
2022-10-19 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* config/i386/i386-builtins.cc (ix86_bf16_ptr_type_node): Remove.
|
||||
(ix86_bf16_type_node): New variable.
|
||||
(ix86_register_bf16_builtin_type): If bfloat16_type_node is NULL
|
||||
from generic code, set only ix86_bf16_type_node to a new REAL_TYPE
|
||||
rather than bfloat16_type_node, otherwise set ix86_bf16_type_node
|
||||
to bfloat16_type_node. Register __bf16 on ix86_bf16_type_node
|
||||
rather than bfloat16_type_node. Don't initialize unused
|
||||
ix86_bf16_ptr_type_node.
|
||||
* config/i386/i386-builtin-types.def (BFLOAT16): Use
|
||||
ix86_bf16_type_node rather than bfloat16_type_node.
|
||||
|
||||
2022-10-19 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/106781
|
||||
* cgraph.cc (cgraph_edge::redirect_call_stmt_to_callee): Copy
|
||||
LHS removal from fixup_noreturn_call.
|
||||
|
||||
2022-10-19 liuhongt <hongtao.liu@intel.com>
|
||||
|
||||
PR target/107271
|
||||
* config/i386/i386-expand.cc (ix86_vec_perm_index_canon): New.
|
||||
(expand_vec_perm_shufps_shufps): Call
|
||||
ix86_vec_perm_index_canon
|
||||
|
||||
2022-10-18 Martin Jambor <mjambor@suse.cz>
|
||||
|
||||
* ipa-prop.h (ipa_agg_value): Remove type.
|
||||
|
@ -1 +1 @@
|
||||
20221019
|
||||
20221020
|
||||
|
@ -1,3 +1,16 @@
|
||||
2022-10-19 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
PR analyzer/105765
|
||||
* varargs.cc (get_BT_VALIST_ARG): Rename to...
|
||||
(get_va_copy_arg): ...this, and update logic for determining level
|
||||
of indirection of va_copy's argument to use type of argument,
|
||||
rather than looking at va_list_type_node, to correctly handle
|
||||
__builtin_ms_va_copy.
|
||||
(get_stateful_BT_VALIST_ARG): Rename to...
|
||||
(get_stateful_va_copy_arg): ...this.
|
||||
(va_list_state_machine::on_va_copy): Update for renaming.
|
||||
(region_model::impl_call_va_copy): Likewise.
|
||||
|
||||
2022-10-13 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
PR analyzer/107210
|
||||
|
@ -1,3 +1,19 @@
|
||||
2022-10-19 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* c-format.h (enum format_lengths): Add FMT_LEN_w8, FMT_LEN_w16,
|
||||
FMT_LEN_w32, FMT_LEN_w64, FMT_LEN_wf8, FMT_LEN_wf16, FMT_LEN_wf32
|
||||
and FMT_LEN_wf64.
|
||||
(NOARGUMENTS, NOLENGTHS): Update definitions.
|
||||
(T_I8, T2X_I8, T_I16, T2X_I16, T_I32, T2X_I32, T_I64, T2X_I64)
|
||||
(T_U8, T2X_U8, T_U16, T2X_U16, T_U32, T2X_U32, T_U64, T2X_U64)
|
||||
(T_IF8, T2X_IF8, T_IF16, T2X_IF16, T_IF32, T2X_IF32, T_IF64)
|
||||
(T2X_IF64, T_UF8, T2X_UF8, T_UF16, T2X_UF16, T_UF32, T2X_UF32)
|
||||
(T_UF64, T2X_UF64): New macros.
|
||||
* c-format.cc (printf_length_specs, scanf_length_specs): Add wN
|
||||
and wfN length modifiers.
|
||||
(print_char_table, scan_char_table): Add entries using wN and wfN
|
||||
length modifiers.
|
||||
|
||||
2022-10-18 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
PR c/36113
|
||||
|
@ -1,3 +1,9 @@
|
||||
2022-10-19 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
PR c++/85043
|
||||
* typeck.cc (maybe_warn_about_useless_cast): Don't warn when
|
||||
a glvalue is cast to a non-reference type.
|
||||
|
||||
2022-10-18 Patrick Palka <ppalka@redhat.com>
|
||||
|
||||
PR c++/105045
|
||||
|
@ -1,3 +1,81 @@
|
||||
2022-10-19 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* gcc.dg/format/format.h (int_least8_t, int_least16_t)
|
||||
(int_least32_t, int_least64_t, uint_least8_t, uint_least16_t)
|
||||
(uint_least32_t, uint_least64_t, int_fast8_t, int_fast16_t)
|
||||
(int_fast32_t, int_fast64_t, uint_fast8_t, uint_fast16_t)
|
||||
(uint_fast32_t, uint_fast64_t): New typedefs.
|
||||
* gcc.dg/format/c11-printf-1.c, gcc.dg/format/c11-scanf-1.c,
|
||||
gcc.dg/format/c2x-printf-1.c, gcc.dg/format/c2x-scanf-1.c,
|
||||
gcc.dg/format/ext-9.c: Add tests using wN and wfN length
|
||||
modifiers.
|
||||
|
||||
2022-10-19 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
PR analyzer/105765
|
||||
* gcc.dg/analyzer/stdarg-1-ms_abi.c: New test, based on stdarg-1.c.
|
||||
* gcc.dg/analyzer/stdarg-1-sysv_abi.c: Likewise.
|
||||
|
||||
2022-10-19 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
PR c++/85043
|
||||
* g++.dg/warn/Wuseless-cast.C: Remove dg-warning.
|
||||
* g++.dg/warn/Wuseless-cast3.C: New test.
|
||||
|
||||
2022-10-19 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* lib/g++-dg.exp (g++-dg-runtest): When using defaulted
|
||||
std_list, if test has { dg-do * { target c++23 } } directive,
|
||||
use { 23 } with which the test will run instead of { 98 14 17 20 }
|
||||
which would make it UNSUPPORTED in all cases.
|
||||
|
||||
2022-10-19 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR c/107311
|
||||
* gcc.dg/c2x-enum-1.c (enum e5): Expect e5a type inside of
|
||||
enum to be int rather than long if long isn't wider than int.
|
||||
|
||||
2022-10-19 Aldy Hernandez <aldyh@redhat.com>
|
||||
|
||||
PR tree-optimization/107312
|
||||
* gcc.target/i386/pr107312.c: New test.
|
||||
|
||||
2022-10-19 Lewis Hyatt <lhyatt@gmail.com>
|
||||
|
||||
* g++.dg/pch/pch-string-nulls.C: New test.
|
||||
* g++.dg/pch/pch-string-nulls.Hs: New test.
|
||||
|
||||
2022-10-19 Martin Jambor <mjambor@suse.cz>
|
||||
|
||||
PR tree-optimization/107206
|
||||
* g++.dg/tree-ssa/pr107206.C: New test.
|
||||
|
||||
2022-10-19 Stefan Schulze Frielinghaus <stefansf@linux.ibm.com>
|
||||
|
||||
* gcc.target/s390/pr106355.h: Common code for new tests.
|
||||
* gcc.target/s390/pr106355-1.c: New test.
|
||||
* gcc.target/s390/pr106355-2.c: New test.
|
||||
* gcc.target/s390/pr106355-3.c: New test.
|
||||
|
||||
2022-10-19 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR middle-end/107262
|
||||
* gcc.dg/pr107262.c: New test.
|
||||
|
||||
2022-10-19 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR tree-optimization/106990
|
||||
* c-c++-common/ubsan/pr106990.c: New test.
|
||||
|
||||
2022-10-19 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/106781
|
||||
* gcc.dg/pr106781.c: New testcase.
|
||||
|
||||
2022-10-19 liuhongt <hongtao.liu@intel.com>
|
||||
|
||||
* gcc.target/i386/pr107271.c: New test.
|
||||
|
||||
2022-10-18 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
PR c/107164
|
||||
|
@ -1,3 +1,7 @@
|
||||
2022-10-19 LIU Hao <lh_mouse@126.com>
|
||||
|
||||
* configure.tgt: Add new case for `mcf` thread model
|
||||
|
||||
2022-10-12 Martin Liska <mliska@suse.cz>
|
||||
|
||||
* configure: Regenerate.
|
||||
|
@ -1,3 +1,8 @@
|
||||
2022-10-19 Lewis Hyatt <lhyatt@gmail.com>
|
||||
|
||||
* include/cpplib.h (struct cpp_string): Use new "string_length" GTY.
|
||||
* include/symtab.h (struct ht_identifier): Likewise.
|
||||
|
||||
2022-10-14 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* charset.cc (ucn_valid_in_identifier): Check xid_identifiers not
|
||||
|
@ -1,3 +1,11 @@
|
||||
2022-10-19 LIU Hao <lh_mouse@126.com>
|
||||
|
||||
* config.host: Add new cases for `mcf` thread model
|
||||
* config/i386/gthr-mcf.h: New file
|
||||
* config/i386/t-mingw-mcfgthread: New file
|
||||
* config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
|
||||
* configure: Regenerate
|
||||
|
||||
2022-10-18 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* Makefile.in: Quote variable.
|
||||
|
@ -1,3 +1,7 @@
|
||||
2022-10-19 Martin Liska <mliska@suse.cz>
|
||||
|
||||
* configure: Regenerate.
|
||||
|
||||
2022-10-18 Florian Weimer <fweimer@redhat.com>
|
||||
|
||||
* configure.ac (sanitizer_supported): Include <unistd.h> for
|
||||
|
@ -1,3 +1,51 @@
|
||||
2022-10-19 Patrick Palka <ppalka@redhat.com>
|
||||
|
||||
* include/std/ranges (views::__detail::__is_repeat_view): Define
|
||||
and later define a partial specialization.
|
||||
(views::__detail::__take_of_repeat_view): Declare and later define.
|
||||
(views::__detail::__drop_of_repeat_view): Likewise.
|
||||
(views::_Take::operator()): Return a repeat_view if the argument
|
||||
is a repeat_view as per P2474R2.
|
||||
(views::_Drop::operator()): Likewise.
|
||||
(repeat_view): Befriend __take/drop_of_repeat_view.
|
||||
* testsuite/std/ranges/repeat/1.cc (test04): New test.
|
||||
|
||||
2022-10-19 Patrick Palka <ppalka@redhat.com>
|
||||
|
||||
PR libstdc++/107313
|
||||
* include/std/ranges (stride_view::_Iterator::operator-): Fix typo.
|
||||
* testsuite/std/ranges/adaptors/stride/1.cc (test03): New test.
|
||||
|
||||
2022-10-19 LIU Hao <lh_mouse@126.com>
|
||||
|
||||
* src/c++11/thread.cc (get_nprocs): Add new implementation
|
||||
for native Windows targets
|
||||
|
||||
2022-10-19 LIU Hao <lh_mouse@126.com>
|
||||
|
||||
* libsupc++/atexit_thread.cc (__cxa_thread_atexit): Use
|
||||
implementation from mcfgthread if available
|
||||
* libsupc++/guard.cc (__cxa_guard_acquire, __cxa_guard_release,
|
||||
__cxa_guard_abort): Use implementations from mcfgthread if
|
||||
available
|
||||
* configure: Regenerate
|
||||
|
||||
2022-10-19 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR c++/106652
|
||||
* include/std/limits: Fix a typo, 202202L -> 202002L.
|
||||
(numeric_limits::<_Float16>::radix, numeric_limits::<_Float32>::radix,
|
||||
numeric_limits::<_Float64>::radix, numeric_limits::<_Float128>::radix,
|
||||
numeric_limits::<__gnu_cxx::__bfloat16_t>::radix): Use __FLT_RADIX__
|
||||
macro instead of type specific macros.
|
||||
* include/c_global/cmath (nextafter(_Float16, _Float16)): New
|
||||
overload.
|
||||
(nextafter(__gnu_cxx::__bfloat16_t, __gnu_cxx::__bfloat16_t)):
|
||||
Likewise.
|
||||
* testsuite/26_numerics/headers/cmath/functions_std_c++23.cc
|
||||
(test_functions): Uncomment nextafter test. Fix up sph_neumann call.
|
||||
* testsuite/26_numerics/headers/cmath/nextafter_c++23.cc: New test.
|
||||
|
||||
2022-10-18 Patrick Palka <ppalka@redhat.com>
|
||||
|
||||
* include/std/ranges (stride_view): Define.
|
||||
|
Loading…
Reference in New Issue
Block a user