aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog121
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/analyzer/ChangeLog6
-rw-r--r--gcc/c-family/ChangeLog7
-rw-r--r--gcc/cp/ChangeLog12
-rw-r--r--gcc/d/ChangeLog7
-rw-r--r--gcc/fortran/ChangeLog6
-rw-r--r--gcc/testsuite/ChangeLog87
-rw-r--r--libcpp/ChangeLog17
-rw-r--r--libstdc++-v3/ChangeLog41
10 files changed, 305 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e4dd226..fe8242b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,124 @@
+2021-08-25 Martin Sebor <msebor@redhat.com>
+
+ * gimple-range-cache.cc (ssa_global_cache::dump): Avoid printing
+ range table header alone.
+ * gimple-range.cc (gimple_ranger::export_global_ranges): Same.
+
+2021-08-25 Jan Hubicka <hubicka@ucw.cz>
+
+ * doc/invoke.texi: Document --param modref-max-adjustments.
+ * ipa-modref-tree.c (test_insert_search_collapse): Update.
+ (test_merge): Update.
+ * ipa-modref-tree.h (struct modref_access_node): Add adjustments;
+ (modref_access_node::operator==): Fix handling of access ranges.
+ (modref_access_node::contains): Constify parameter; handle also
+ mismatched parm offsets.
+ (modref_access_node::update): New function.
+ (modref_access_node::merge): New function.
+ (unspecified_modref_access_node): Update constructor.
+ (modref_ref_node::insert_access): Add record_adjustments parameter;
+ handle merging.
+ (modref_ref_node::try_merge_with): New private function.
+ (modref_tree::insert): New record_adjustments parameter.
+ (modref_tree::merge): New record_adjustments parameter.
+ (modref_tree::copy_from): Update.
+ * ipa-modref.c (dump_access): Dump adjustments field.
+ (get_access): Update constructor.
+ (record_access): Update call of insert.
+ (record_access_lto): Update call of insert.
+ (merge_call_side_effects): Add record_adjustments parameter.
+ (get_access_for_fnspec): Update.
+ (process_fnspec): Update.
+ (analyze_call): Update.
+ (analyze_function): Update.
+ (read_modref_records): Update.
+ (ipa_merge_modref_summary_after_inlining): Update.
+ (propagate_unknown_call): Update.
+ (modref_propagate_in_scc): Update.
+ * params.opt (param-max-modref-adjustments=): New.
+
+2021-08-25 Michael Meissner <meissner@linux.ibm.com>
+
+ * config/rs6000/vsx.md (UNSPEC_XXSPLTIDP): Rename from
+ UNSPEC_XXSPLTID.
+ (xxspltiw_v4si): Use vecperm type attribute.
+ (xxspltiw_v4si_inst): Use vecperm type attribute.
+ (xxspltiw_v4sf_inst): Likewise.
+ (xxspltidp_v2df): Use vecperm type attribute. Use
+ UNSPEC_XXSPLTIDP instead of UNSPEC_XXSPLTID.
+ (xxspltidp_v2df_inst): Likewise.
+ (xxsplti32dx_v4si): Use vecperm type attribute.
+ (xxsplti32dx_v4si_inst): Likewise.
+ (xxsplti32dx_v4sf_inst): Likewise.
+ (xxblend_<mode>): Likewise.
+ (xxpermx): Likewise.
+ (xxpermx_inst): Likewise.
+ (xxeval): Likewise.
+
+2021-08-25 Lewis Hyatt <lhyatt@gmail.com>
+
+ PR other/93067
+ * coretypes.h (typedef diagnostic_input_charset_callback): Declare.
+ * diagnostic.c (diagnostic_initialize_input_context): New function.
+ * diagnostic.h (diagnostic_initialize_input_context): Declare.
+ * input.c (default_charset_callback): New function.
+ (file_cache::initialize_input_context): New function.
+ (file_cache_slot::create): Added ability to convert the input
+ according to the input context.
+ (file_cache::file_cache): Initialize the new input context.
+ (class file_cache_slot): Added new m_alloc_offset member.
+ (file_cache_slot::file_cache_slot): Initialize the new member.
+ (file_cache_slot::~file_cache_slot): Handle potentially offset buffer.
+ (file_cache_slot::maybe_grow): Likewise.
+ (file_cache_slot::needs_read_p): Handle NULL fp, which is now possible.
+ (file_cache_slot::get_next_line): Likewise.
+ * input.h (class file_cache): Added input context member.
+
+2021-08-25 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/102046
+ * tree-vect-slp.c (vect_build_slp_tree_2): Conservatively
+ update ->any_pattern when swapping operands.
+
+2021-08-25 Hongyu Wang <hongyu.wang@intel.com>
+
+ PR target/101716
+ * config/i386/i386.c (ix86_live_on_entry): Adjust comment.
+ (ix86_decompose_address): Remove retval check for ASHIFT,
+ allow non-canonical zero extend if AND mask covers ASHIFT
+ count.
+ (ix86_legitimate_address_p): Adjust condition for decompose.
+ (ix86_rtx_costs): Adjust cost for lea with non-canonical
+ zero-extend.
+ Co-Authored by: Uros Bizjak <ubizjak@gmail.com>
+
+2021-08-25 Jiufu Guo <guojiufu@linux.ibm.com>
+
+ PR tree-optimization/101145
+ * tree-ssa-loop-niter.c (number_of_iterations_until_wrap):
+ New function.
+ (number_of_iterations_lt): Invoke above function.
+ (adjust_cond_for_loop_until_wrap):
+ Merge to number_of_iterations_until_wrap.
+ (number_of_iterations_cond): Update invokes for
+ adjust_cond_for_loop_until_wrap and number_of_iterations_lt.
+
+2021-08-25 konglin1 <lingling.kong@intel.com>
+
+ PR target/101471
+ * config/i386/avx512dqintrin.h (_mm512_fpclass_ps_mask): Fix
+ macro define in O0.
+ (_mm512_mask_fpclass_ps_mask): Ditto.
+
+2021-08-25 Kewen Lin <linkw@linux.ibm.com>
+
+ * config/rs6000/altivec.md (vec_unpacku_hi_v16qi): Remove.
+ (vec_unpacku_hi_v8hi): Likewise.
+ (vec_unpacku_lo_v16qi): Likewise.
+ (vec_unpacku_lo_v8hi): Likewise.
+ (vec_unpacku_hi_<VP_small_lc>): New define_expand.
+ (vec_unpacku_lo_<VP_small_lc>): Likewise.
+
2021-08-24 David Edelsohn <dje.gcc@gmail.com>
* config/rs6000/aix.h (SYSTEM_IMPLICIT_EXTERN_C): Delete.
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 83bcbc1..98be008 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20210825
+20210826
diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog
index 211f34c..c7e8ba92 100644
--- a/gcc/analyzer/ChangeLog
+++ b/gcc/analyzer/ChangeLog
@@ -1,3 +1,9 @@
+2021-08-25 Ankur Saini <arsenic@sourceware.org>
+
+ PR analyzer/101980
+ * engine.cc (exploded_graph::maybe_create_dynamic_call): Don't create
+ calls if max recursion limit is reached.
+
2021-08-23 David Malcolm <dmalcolm@redhat.com>
* analyzer.h (struct rejected_constraint): Convert to...
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 873d7ab..5e3ac92 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,10 @@
+2021-08-25 Lewis Hyatt <lhyatt@gmail.com>
+
+ PR other/93067
+ * c-opts.c (c_common_input_charset_cb): New function.
+ (c_common_post_options): Call new function
+ diagnostic_initialize_input_context().
+
2021-08-20 Tobias Burnus <tobias@codesourcery.com>
* c-format.c (gcc_gfc_length_specs): Add 'll' and 'w'.
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index ddea2a2..0b92ee4 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,15 @@
+2021-08-25 Andrew Pinski <apinski@marvell.com>
+
+ PR c++/66590
+ * cp-objcp-common.c (cxx_block_may_fallthru): Handle
+ CLEANUP_STMT for the case which will be try/finally.
+
+2021-08-25 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/102019
+ * init.c (build_value_init_noctor): Ignore unnamed zero-width
+ bitfields.
+
2021-08-23 Jakub Jelinek <jakub@redhat.com>
* parser.c (cp_parser_omp_clause_num_tasks,
diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog
index 3bf2eec..db85ffc 100644
--- a/gcc/d/ChangeLog
+++ b/gcc/d/ChangeLog
@@ -1,3 +1,10 @@
+2021-08-25 Lewis Hyatt <lhyatt@gmail.com>
+
+ PR other/93067
+ * d-lang.cc (d_input_charset_callback): New function.
+ (d_init): Call new function
+ diagnostic_initialize_input_context().
+
2021-07-30 Iain Buclaw <ibuclaw@gdcproject.org>
* expr.cc (binary_op): Remove dead code.
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 2866f5d..9679f35 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,9 @@
+2021-08-25 Lewis Hyatt <lhyatt@gmail.com>
+
+ PR other/93067
+ * cpp.c (gfc_cpp_post_options): Call new function
+ diagnostic_initialize_input_context().
+
2021-08-24 Harald Anlauf <anlauf@gmx.de>
PR fortran/98411
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 84e6afb..251af30 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,90 @@
+2021-08-25 Martin Sebor <msebor@redhat.com>
+
+ * gcc.dg/tree-ssa/evrp1.c: Add -details to dump option.
+ * gcc.dg/tree-ssa/evrp2.c: Same.
+ * gcc.dg/tree-ssa/evrp3.c: Same.
+ * gcc.dg/tree-ssa/evrp4.c: Same.
+ * gcc.dg/tree-ssa/evrp6.c: Same.
+ * gcc.dg/tree-ssa/pr64130.c: Same.
+
+2021-08-25 Michael Meissner <meissner@linux.ibm.com>
+
+ PR target/94630
+ * gcc.target/powerpc/pr70117.c: Specify that we need the long double
+ type to be IBM 128-bit. Remove the code to use __ibm128.
+ * c-c++-common/dfp/convert-bfp-11.c: Specify that we need the long
+ double type to be IBM 128-bit. Run the test at -O2 optimization.
+ * lib/target-supports.exp (add_options_for_long_double_ibm128): New
+ function.
+ (check_effective_target_long_double_ibm128): New function.
+ (add_options_for_long_double_ieee128): New function.
+ (check_effective_target_long_double_ieee128): New function.
+ (add_options_for_long_double_64bit): New function.
+ (check_effective_target_long_double_64bit): New function.
+
+2021-08-25 Andrew Pinski <apinski@marvell.com>
+
+ PR c++/66590
+ * g++.dg/warn/Wreturn-5.C: New test.
+
+2021-08-25 Jan Hubicka <hubicka@ucw.cz>
+
+ * gcc.dg/ipa/modref-1.c: Update testcase.
+ * gcc.dg/tree-ssa/modref-4.c: Update testcase.
+ * gcc.dg/tree-ssa/modref-8.c: New test.
+
+2021-08-25 Lewis Hyatt <lhyatt@gmail.com>
+
+ PR other/93067
+ * gcc.dg/diagnostic-input-charset-1.c: New test.
+ * gcc.dg/diagnostic-input-utf8-bom.c: New test.
+
+2021-08-25 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/102046
+ * gcc.dg/vect/pr102046.c: New testcase.
+
+2021-08-25 Hongyu Wang <hongyu.wang@intel.com>
+
+ PR target/101716
+ * gcc.target/i386/pr101716.c: New test.
+
+2021-08-25 Jiufu Guo <guojiufu@linux.ibm.com>
+
+ PR tree-optimization/101145
+ * gcc.dg/vect/pr101145.c: New test.
+ * gcc.dg/vect/pr101145.inc: New test.
+ * gcc.dg/vect/pr101145_1.c: New test.
+ * gcc.dg/vect/pr101145_2.c: New test.
+ * gcc.dg/vect/pr101145_3.c: New test.
+ * gcc.dg/vect/pr101145inf.c: New test.
+ * gcc.dg/vect/pr101145inf.inc: New test.
+ * gcc.dg/vect/pr101145inf_1.c: New test.
+
+2021-08-25 konglin1 <lingling.kong@intel.com>
+
+ PR target/101471
+ * gcc.target/i386/avx512f-pr101471.c: New test.
+
+2021-08-25 Kewen Lin <linkw@linux.ibm.com>
+
+ * gcc.target/powerpc/unpack-vectorize-1.c: New test.
+ * gcc.target/powerpc/unpack-vectorize-1.h: New test.
+ * gcc.target/powerpc/unpack-vectorize-2.c: New test.
+ * gcc.target/powerpc/unpack-vectorize-2.h: New test.
+ * gcc.target/powerpc/unpack-vectorize-3.c: New test.
+ * gcc.target/powerpc/unpack-vectorize-3.h: New test.
+ * gcc.target/powerpc/unpack-vectorize-run-1.c: New test.
+ * gcc.target/powerpc/unpack-vectorize-run-2.c: New test.
+ * gcc.target/powerpc/unpack-vectorize-run-3.c: New test.
+ * gcc.target/powerpc/unpack-vectorize.h: New test.
+
+2021-08-25 liuhongt <hongtao.liu@intel.com>
+
+ PR target/101989
+ * gcc.target/i386/avx2-shiftqihi-constant-1.c: Add -mno-avx512f.
+ * gcc.target/i386/sse2-shiftqihi-constant-1.c: Add -mno-avx
+
2021-08-24 Harald Anlauf <anlauf@gmx.de>
PR fortran/98411
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 688cad2..c32ff4a 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,20 @@
+2021-08-25 Lewis Hyatt <lhyatt@gmail.com>
+
+ PR other/93067
+ * charset.c (init_iconv_desc): Adapt to permit PFILE argument to
+ be NULL.
+ (_cpp_convert_input): Likewise. Also move UTF-8 BOM logic to...
+ (cpp_check_utf8_bom): ...here. New function.
+ (cpp_input_conversion_is_trivial): New function.
+ * files.c (read_file_guts): Allow PFILE argument to be NULL. Add
+ INPUT_CHARSET argument as an alternate source of this information.
+ (read_file): Pass the new argument to read_file_guts.
+ (cpp_get_converted_source): New function.
+ * include/cpplib.h (struct cpp_converted_source): Declare.
+ (cpp_get_converted_source): Declare.
+ (cpp_input_conversion_is_trivial): Declare.
+ (cpp_check_utf8_bom): Declare.
+
2021-08-17 Jakub Jelinek <jakub@redhat.com>
* macro.c (vaopt_state): Add m_stringify member.
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index e62f25a..70f97a5 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,44 @@
+2021-08-25 Jonathan Wakely <jwakely@redhat.com>
+
+ * testsuite/17_intro/names.cc: Check 'sz'.
+
+2021-08-25 Jonathan Wakely <jwakely@redhat.com>
+
+ * testsuite/17_intro/names.cc: Adjust for Windows.
+
+2021-08-25 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/std/valarray: Uglify 'func' parameters.
+ * testsuite/17_intro/names.cc: Add 'func' to checks.
+
+2021-08-25 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/102064
+ * include/bits/stl_uninitialized.h (_GLIBCXX_USE_ASSIGN_FOR_INIT):
+ Define macro to check conditions for optimizing trivial cases.
+ (__check_constructible): New function to do static assert.
+ (uninitialized_copy, uninitialized_fill, uninitialized_fill_n):
+ Use new macro.
+ * testsuite/20_util/specialized_algorithms/uninitialized_copy/1.cc:
+ Adjust dg-error pattern.
+ * testsuite/23_containers/vector/cons/89164.cc: Likewise. Add
+ C++17-specific checks from 89164_c++17.cc.
+ * testsuite/23_containers/vector/cons/89164_c++17.cc: Removed.
+ * testsuite/20_util/specialized_algorithms/uninitialized_copy/102064.cc:
+ New test.
+ * testsuite/20_util/specialized_algorithms/uninitialized_copy_n/102064.cc:
+ New test.
+ * testsuite/20_util/specialized_algorithms/uninitialized_fill/102064.cc:
+ New test.
+ * testsuite/20_util/specialized_algorithms/uninitialized_fill_n/102064.cc:
+ New test.
+
+2021-08-25 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/102048
+ * include/ext/rope (rope::erase(size_type)): Remove broken
+ function.
+
2021-08-24 Jonathan Wakely <jwakely@redhat.com>
* doc/xml/manual/status_cxx2020.xml: Update table.