aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2020-09-17 00:16:31 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2020-09-17 00:16:31 +0000
commitecde1b0a467127714872785b9935fe7c580778f0 (patch)
tree142ef885e63e5a19a41983ba871bfd1bf9a5f1d9
parent90c254565122fa5c02114698ce35ac46679c03b0 (diff)
downloadgcc-ecde1b0a467127714872785b9935fe7c580778f0.zip
gcc-ecde1b0a467127714872785b9935fe7c580778f0.tar.gz
gcc-ecde1b0a467127714872785b9935fe7c580778f0.tar.bz2
Daily bump.
-rw-r--r--gcc/ChangeLog190
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/analyzer/ChangeLog47
-rw-r--r--gcc/c-family/ChangeLog10
-rw-r--r--gcc/cp/ChangeLog25
-rw-r--r--gcc/fortran/ChangeLog5
-rw-r--r--gcc/testsuite/ChangeLog94
-rw-r--r--libbacktrace/ChangeLog17
-rw-r--r--libgcc/ChangeLog4
-rw-r--r--libgomp/ChangeLog4
10 files changed, 397 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 57a049a..1ff1b6f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,193 @@
+2020-09-16 Alexandre Oliva <oliva@adacore.com>
+
+ * config/rs6000/rs6000.c (have_compare_and_set_mask): Use
+ E_*mode in cases.
+
+2020-09-16 Bill Schmidt <wschmidt@linux.ibm.com>
+
+ * config/rs6000/predicates.md (current_file_function_operand):
+ Remove argument from rs6000_pcrel_p call.
+ * config/rs6000/rs6000-logue.c (rs6000_decl_ok_for_sibcall):
+ Likewise.
+ (rs6000_global_entry_point_prologue_needed_p): Likewise.
+ (rs6000_output_function_prologue): Likewise.
+ * config/rs6000/rs6000-protos.h (rs6000_function_pcrel_p): New
+ prototype.
+ (rs6000_pcrel_p): Remove argument.
+ * config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Remove
+ argument from rs6000_pcrel_p call.
+ (rs6000_call_template_1): Likewise.
+ (rs6000_indirect_call_template_1): Likewise.
+ (rs6000_longcall_ref): Likewise.
+ (rs6000_call_aix): Likewise.
+ (rs6000_sibcall_aix): Likewise.
+ (rs6000_function_pcrel_p): Rename from rs6000_pcrel_p.
+ (rs6000_pcrel_p): Rewrite.
+ * config/rs6000/rs6000.md (*pltseq_plt_pcrel<mode>): Remove
+ argument from rs6000_pcrel_p call.
+ (*call_local<mode>): Likewise.
+ (*call_value_local<mode>): Likewise.
+ (*call_nonlocal_aix<mode>): Likewise.
+ (*call_value_nonlocal_aix<mode>): Likewise.
+ (*call_indirect_pcrel<mode>): Likewise.
+ (*call_value_indirect_pcrel<mode>): Likewise.
+
+2020-09-16 Marek Polacek <polacek@redhat.com>
+
+ PR preprocessor/96935
+ * input.c (get_substring_ranges_for_loc): Return if start.column
+ is less than 1.
+
+2020-09-16 Martin Sebor <msebor@redhat.com>
+
+ PR middle-end/96295
+ * tree-ssa-uninit.c (maybe_warn_operand): Work harder to avoid
+ warning for objects of empty structs
+
+2020-09-16 Eric Botcazou <ebotcazou@adacore.com>
+
+ * tree-eh.c (lower_try_finally_dup_block): Backward propagate slocs
+ to stack restore builtin calls.
+ (cleanup_all_empty_eh): Do again a post-order traversal of the EH
+ region tree.
+
+2020-09-16 Andrea Corallo <andrea.corallo@arm.com>
+
+ * tree-vect-loop.c (vect_need_peeling_or_partial_vectors_p): New
+ function.
+ (vect_analyze_loop_2): Make use of it not to select partial
+ vectors if no peel is required.
+ (determine_peel_for_niter): Move out some logic into
+ 'vect_need_peeling_or_partial_vectors_p'.
+
+2020-09-16 H.J. Lu <hjl.tools@gmail.com>
+
+ PR target/97032
+ * cfgexpand.c (asm_clobber_reg_kind): Set sp_is_clobbered_by_asm
+ to true if the stack pointer is clobbered by asm statement.
+ * emit-rtl.h (rtl_data): Add sp_is_clobbered_by_asm.
+ * config/i386/i386.c (ix86_get_drap_rtx): Set need_drap to true
+ if the stack pointer is clobbered by asm statement.
+
+2020-09-16 Ilya Leoshkevich <iii@linux.ibm.com>
+
+ * config/s390/vector.md(*vec_tf_to_v1tf): Use "f" instead of "v"
+ for the source operand.
+
+2020-09-16 Jojo R <jiejie_rong@c-sky.com>
+
+ * config.gcc (C-SKY): Set use_gcc_stdint=wrap for elf target.
+
+2020-09-16 Richard Biener <rguenther@suse.de>
+
+ * tree-vectorizer.h (_stmt_vec_info::num_slp_uses): Remove.
+ (STMT_VINFO_NUM_SLP_USES): Likewise.
+ (vect_free_slp_instance): Adjust.
+ (vect_update_shared_vectype): Declare.
+ * tree-vectorizer.c (vec_info::~vec_info): Adjust.
+ * tree-vect-loop.c (vect_analyze_loop_2): Likewise.
+ (vectorizable_live_operation): Use vector type from
+ SLP_TREE_REPRESENTATIVE.
+ (vect_transform_loop): Adjust.
+ * tree-vect-data-refs.c (vect_slp_analyze_node_alignment):
+ Set the shared vector type.
+ * tree-vect-slp.c (vect_free_slp_tree): Remove final_p
+ parameter, remove STMT_VINFO_NUM_SLP_USES updating.
+ (vect_free_slp_instance): Adjust.
+ (vect_create_new_slp_node): Remove STMT_VINFO_NUM_SLP_USES
+ updating.
+ (vect_update_shared_vectype): Always compare with the
+ present vector type, update if NULL.
+ (vect_build_slp_tree_1): Do not update the shared vector
+ type here.
+ (vect_build_slp_tree_2): Adjust.
+ (slp_copy_subtree): Likewise.
+ (vect_attempt_slp_rearrange_stmts): Likewise.
+ (vect_analyze_slp_instance): Likewise.
+ (vect_analyze_slp): Likewise.
+ (vect_slp_analyze_node_operations_1): Update the shared
+ vector type.
+ (vect_slp_analyze_operations): Adjust.
+ (vect_slp_analyze_bb_1): Likewise.
+
+2020-09-16 Jojo R <jiejie_rong@c-sky.com>
+
+ * config/csky/t-csky-linux (CSKY_MULTILIB_OSDIRNAMES): Use mfloat-abi.
+ (MULTILIB_OPTIONS): Likewise.
+ * config/csky/t-csky-elf (MULTILIB_OPTIONS): Likewise.
+ (MULTILIB_EXCEPTIONS): Likewise.
+
+2020-09-16 Jakub Jelinek <jakub@redhat.com>
+
+ * config/arm/arm.c (arm_option_restore): Comment out opts argument
+ name to avoid unused parameter warnings.
+
+2020-09-16 Jakub Jelinek <jakub@redhat.com>
+
+ * optc-save-gen.awk: In cl_optimization_stream_out use
+ bp_pack_var_len_{int,unsigned} instead of bp_pack_value. In
+ cl_optimization_stream_in use bp_unpack_var_len_{int,unsigned}
+ instead of bp_unpack_value. Formatting fix.
+
+2020-09-16 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/97053
+ * gimple-ssa-store-merging.c (check_no_overlap): Add FIRST_ORDER,
+ START, FIRST_EARLIER and LAST_EARLIER arguments. Return false if
+ any stores between FIRST_EARLIER inclusive and LAST_EARLIER exclusive
+ has order in between FIRST_ORDER and LAST_ORDER and overlaps the to
+ be merged store.
+ (imm_store_chain_info::try_coalesce_bswap): Add FIRST_EARLIER argument.
+ Adjust check_no_overlap caller.
+ (imm_store_chain_info::coalesce_immediate_stores): Add first_earlier
+ and last_earlier variables, adjust them during iterations. Adjust
+ check_no_overlap callers, call check_no_overlap even when extending
+ overlapping stores by extra INTEGER_CST stores.
+
+2020-09-16 Jojo R <jiejie_rong@c-sky.com>
+
+ * config/csky/csky-linux-elf.h (GLIBC_DYNAMIC_LINKER): Use mfloat-abi.
+
+2020-09-16 Kewen Lin <linkw@linux.ibm.com>
+
+ PR target/97019
+ * config/rs6000/rs6000-p8swap.c (find_alignment_op): Adjust to
+ support multiple defintions which are all AND operations with
+ the mask -16B.
+ (recombine_lvx_pattern): Adjust to handle multiple AND operations
+ from find_alignment_op.
+ (recombine_stvx_pattern): Likewise.
+
+2020-09-16 Jojo R <jiejie_rong@c-sky.com>
+
+ * config/csky/csky.md (CSKY_NPARM_FREGS): New.
+ (call_value_internal_vs/d): New.
+ (untyped_call): New.
+ * config/csky/csky.h (TARGET_SINGLE_FPU): New.
+ (TARGET_DOUBLE_FPU): New.
+ (FUNCTION_VARG_REGNO_P): New.
+ (CSKY_VREG_MODE_P): New.
+ (FUNCTION_VARG_MODE_P): New.
+ (CUMULATIVE_ARGS): Add extra regs info.
+ (INIT_CUMULATIVE_ARGS): Use csky_init_cumulative_args.
+ (FUNCTION_ARG_REGNO_P): Use FUNCTION_VARG_REGNO_P.
+ * config/csky/csky-protos.h (csky_init_cumulative_args): Extern.
+ * config/csky/csky.c (csky_cpu_cpp_builtins): Support TARGET_HARD_FLOAT_ABI.
+ (csky_function_arg): Likewise.
+ (csky_num_arg_regs): Likewise.
+ (csky_function_arg_advance): Likewise.
+ (csky_function_value): Likewise.
+ (csky_libcall_value): Likewise.
+ (csky_function_value_regno_p): Likewise.
+ (csky_arg_partial_bytes): Likewise.
+ (csky_setup_incoming_varargs): Likewise.
+ (csky_init_cumulative_args): New.
+
+2020-09-16 Bill Schmidt <wschmidt@linux.ibm.com>
+
+ * config/rs6000/rs6000-call.c (altivec_init_builtins): Fix name
+ of __builtin_altivec_xst_len_r.
+
2020-09-15 Ilya Leoshkevich <iii@linux.ibm.com>
* rtlanal.c (set_noop_p): Treat subregs of registers in
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index bc812c5..fae3fa1 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20200916
+20200917
diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog
index 10cecaa..5a176c7 100644
--- a/gcc/analyzer/ChangeLog
+++ b/gcc/analyzer/ChangeLog
@@ -1,3 +1,50 @@
+2020-09-16 David Malcolm <dmalcolm@redhat.com>
+
+ * engine.cc (strongly_connected_components::strong_connect): Only
+ consider intraprocedural edges when creating SCCs.
+ (worklist::key_t::cmp): Add comment. Treat call_string
+ differences as more important than differences of program_point
+ within a supernode.
+
+2020-09-16 David Malcolm <dmalcolm@redhat.com>
+
+ * engine.cc (supernode_cluster::dump_dot): Show the SCC id
+ in the per-supernode clusters in FILENAME.eg.dot output.
+ (exploded_graph_annotator::add_node_annotations):
+ Show the SCC of the supernode in FILENAME.supernode.eg.dot output.
+ * exploded-graph.h (worklist::scc_id): New.
+ (exploded_graph::get_scc_id): New.
+
+2020-09-16 David Malcolm <dmalcolm@redhat.com>
+
+ * engine.cc (exploded_node::dump_dot): Show STATUS_BULK_MERGED.
+ (exploded_graph::process_worklist): Call
+ maybe_process_run_of_before_supernode_enodes.
+ (exploded_graph::maybe_process_run_of_before_supernode_enodes):
+ New.
+ (exploded_graph_annotator::print_enode): Show STATUS_BULK_MERGED.
+ * exploded-graph.h (enum exploded_node::status): Add
+ STATUS_BULK_MERGED.
+
+2020-09-16 David Malcolm <dmalcolm@redhat.com>
+
+ * engine.cc
+ (exploded_graph::process_node) <case PK_BEFORE_SUPERNODE>:
+ Simplify by using program_point::get_next.
+ * program-point.cc (program_point::get_next): New.
+ * program-point.h (program_point::get_next): New decl.
+
+2020-09-16 David Malcolm <dmalcolm@redhat.com>
+
+ * engine.cc (exploded_graph::get_or_create_node): Show the
+ program point when issuing -Wanalyzer-too-complex due to hitting
+ the per-program-point limit.
+
+2020-09-16 David Malcolm <dmalcolm@redhat.com>
+
+ * region-model.cc (region_model::on_call_pre): Treat getchar as
+ having no side-effects.
+
2020-09-15 David Malcolm <dmalcolm@redhat.com>
PR analyzer/96650
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 7380839..12e03b3 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,13 @@
+2020-09-16 Martin Sebor <msebor@redhat.com>
+
+ PR c/78666
+ PR c/96126
+ * c-attribs.c (validate_attr_args): New function.
+ (validate_attr_arg): Same.
+ (handle_section_attribute): Call it. Introduce a local variable.
+ (handle_alloc_size_attribute): Same.
+ (handle_alloc_align_attribute): Same.
+
2020-09-14 Jakub Jelinek <jakub@redhat.com>
* c-attribs.c (handle_optimize_attribute): Adjust
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index ee4d1b7..b60ef4c 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,28 @@
+2020-09-16 Nathan Sidwell <nathan@acm.org>
+
+ * cp-tree.h (cp_check_omp_declare_reduction): Return bool.
+ * semantics.c (cp_check_omp_declare_reduction): Return true on for
+ success.
+ * pt.c (push_template_decl_real): OMP reductions do not get a
+ template header.
+ (tsubst_function_decl): Remove special casing for local decl omp
+ reductions.
+ (tsubst_expr): Call instantiate_body for a local omp reduction.
+ (instantiate_body): Add nested_p parm, and deal with such
+ instantiations.
+ (instantiate_decl): Reject FUNCTION_SCOPE entities, adjust
+ instantiate_body call.
+
+2020-09-16 Nathan Sidwell <nathan@acm.org>
+
+ * pt.c (instantiate_body): Remove 'nested' var, simplify
+ push_to_top logic.
+
+2020-09-16 Nathan Sidwell <nathan@acm.org>
+
+ * pt.c (instantiate_body): New, broken out of ..
+ (instantiate_decl): ... here. Call it.
+
2020-09-15 Nathan Sidwell <nathan@acm.org>
* pt.c (push_template_decl_real): OMP reductions retain a template
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 49f5dcc..e77ee45 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,8 @@
+2020-09-16 Tobias Burnus <tobias@codesourcery.com>
+
+ PR fortran/97061
+ * trans-openmp.c (gfc_trans_omp_do): Handle simd with (last)private.
+
2020-09-15 Tobias Burnus <tobias@codesourcery.com>
PR fortran/96668
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 9fb4f4b..068ac69 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,97 @@
+2020-09-16 David Malcolm <dmalcolm@redhat.com>
+
+ PR analyzer/96653
+ * gcc.dg/analyzer/loop-0-up-to-n-by-1-with-iter-obj.c: Update
+ expected number of exploded nodes.
+ * gcc.dg/analyzer/malloc-vs-local-1a.c: Update expected number
+ of exploded nodes.
+ * gcc.dg/analyzer/pr96653.c: Remove -Wno-analyzer-too-complex.
+
+2020-09-16 David Malcolm <dmalcolm@redhat.com>
+
+ * gcc.dg/analyzer/bzip2-arg-parse-1.c: New test.
+ * gcc.dg/analyzer/loop-n-down-to-1-by-1.c: Remove xfail.
+ * gcc.dg/analyzer/pr94851-1.c: Add xfail.
+
+2020-09-16 David Malcolm <dmalcolm@redhat.com>
+
+ * gcc.dg/analyzer/getchar-1.c: New test.
+
+2020-09-16 Martin Sebor <msebor@redhat.com>
+
+ PR c/78666
+ PR c/96126
+ * gcc.dg/attr-alloc_align-5.c: New test.
+ * gcc.dg/attr-alloc_size-13.c: New test.
+ * gcc.dg/attr-section.c: New test.
+ * c-c++-common/builtin-has-attribute-3.c: Add xfails due to expected
+ warnings to be cleaned up.
+
+2020-09-16 Marek Polacek <polacek@redhat.com>
+
+ PR preprocessor/96935
+ * gcc.dg/format/pr96935.c: New test.
+
+2020-09-16 Martin Sebor <msebor@redhat.com>
+
+ PR middle-end/96295
+ * g++.dg/warn/Wuninitialized-11.C: New test.
+
+2020-09-16 Nathan Sidwell <nathan@acm.org>
+
+ * g++.dg/gomp/udr-2.C: Add additional expected error.
+
+2020-09-16 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gnat.dg/concat4.adb: New test.
+
+2020-09-16 Tobias Burnus <tobias@codesourcery.com>
+
+ PR fortran/97061
+ * gfortran.dg/gomp/openmp-simd-6.f90: New test.
+
+2020-09-16 Andrea Corallo <andrea.corallo@arm.com>
+
+ * gcc.target/aarch64/sve/cost_model_10.c: New test.
+ * gcc.target/aarch64/sve/clastb_8.c: Update test for new
+ vectorization strategy.
+ * gcc.target/aarch64/sve/cost_model_5.c: Likewise.
+ * gcc.target/aarch64/sve/struct_vect_14.c: Likewise.
+ * gcc.target/aarch64/sve/struct_vect_15.c: Likewise.
+ * gcc.target/aarch64/sve/struct_vect_16.c: Likewise.
+ * gcc.target/aarch64/sve/struct_vect_17.c: Likewise.
+
+2020-09-16 H.J. Lu <hjl.tools@gmail.com>
+
+ PR target/97032
+ * gcc.target/i386/pr97032.c: New test.
+
+2020-09-16 Feng Xue <fxue@os.amperecomputing.com>
+
+ PR testsuite/97066
+ * gcc.dg/ifcvt-3.c: Modified to suppress simplification.
+ * gcc.dg/tree-ssa/20030807-10.c: Likewise.
+
+2020-09-16 Jojo R <jiejie_rong@c-sky.com>
+
+ * lib/target-supports.exp (check_profiling_available): Refine name of elf target.
+
+2020-09-16 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/97053
+ * gcc.dg/store_merging_31.c: New test.
+ * gcc.dg/store_merging_32.c: New test.
+
+2020-09-16 Kewen Lin <linkw@linux.ibm.com>
+
+ PR target/97019
+ * gcc.target/powerpc/pr97019.c: New test.
+
+2020-09-16 Jojo R <jiejie_rong@c-sky.com>
+
+ * gcc.dg/builtin-apply2.c : Skip if CSKY.
+ * gcc.dg/torture/stackalign/builtin-apply-2.c : Likewise.
+
2020-09-15 David Malcolm <dmalcolm@redhat.com>
PR analyzer/96650
diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog
index 76ff7fd..b6fbe28 100644
--- a/libbacktrace/ChangeLog
+++ b/libbacktrace/ChangeLog
@@ -1,3 +1,20 @@
+2020-09-17 Ian Lance Taylor <iant@golang.org>
+
+ PR libbacktrace/97080
+ * fileline.c (backtrace_syminfo_to_full_callback): New function.
+ (backtrace_syminfo_to_full_error_callback): New function.
+ * elf.c (elf_nodebug): Call syminfo_fn if possible.
+ * internal.h (struct backtrace_call_full): Define.
+ (backtrace_syminfo_to_full_callback): Declare.
+ (backtrace_syminfo_to_full_error_callback): Declare.
+ * mtest.c (f3): Only check all[i] if data.index permits.
+
+2020-09-16 Iain Sandoe <iain@sandoe.co.uk>
+
+ * macho.c (MACH_O_CPU_TYPE_PPC): New.
+ (MACH_O_CPU_TYPE_PPC64): New.
+ Add compile-tests for powerpc to the Mach-O variants.
+
2020-09-14 Ian Lance Taylor <iant@golang.org>
PR libbacktrace/93608
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index cc66cc4b..42585c8 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,7 @@
+2020-09-16 Jojo R <jiejie_rong@c-sky.com>
+
+ * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
+
2020-09-09 Tom de Vries <tdevries@suse.de>
* config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 98c39c0..0e37557 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,7 @@
+2020-09-16 Nathan Sidwell <nathan@acm.org>
+
+ * testsuite/libgomp.c++/udr-3.C: Add missing ctor.
+
2020-09-15 Tobias Burnus <tobias@codesourcery.com>
PR fortran/96668