aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2020-11-18 00:16:34 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2020-11-18 00:16:34 +0000
commit4dabb03719553f88ef0d74c75ccdc6c8aa172d6b (patch)
treef66c62c9e2e6b97834ebd35643856945adeda0e5 /gcc
parent1e3e6c700f04fe6992b9077541e434172c1cbdae (diff)
downloadgcc-4dabb03719553f88ef0d74c75ccdc6c8aa172d6b.zip
gcc-4dabb03719553f88ef0d74c75ccdc6c8aa172d6b.tar.gz
gcc-4dabb03719553f88ef0d74c75ccdc6c8aa172d6b.tar.bz2
Daily bump.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog178
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c-family/ChangeLog41
-rw-r--r--gcc/cp/ChangeLog16
-rw-r--r--gcc/fortran/ChangeLog5
-rw-r--r--gcc/lto/ChangeLog7
-rw-r--r--gcc/testsuite/ChangeLog135
7 files changed, 383 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1adcbd8..2e7d91b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,181 @@
+2020-11-17 Sebastian Pop <spop@amazon.com>
+
+ * config.gcc: add configure flags --with-{cpu,arch,tune}-{32,64}
+ as alias flags for --with-{cpu,arch,tune} on AArch64.
+ * doc/install.texi: Document new flags for aarch64.
+
+2020-11-17 Sebastian Pop <spop@amazon.com>
+
+ * config.gcc: Add --with-tune to AArch64 configure flags.
+
+2020-11-17 Andrew MacLeod <amacleod@redhat.com>
+
+ PR tree-optimization/91029
+ * range-op.cc (operator_trunc_mod::op1_range): New.
+
+2020-11-17 Jan Hubicka <jh@suse.cz>
+
+ * ipa-icf.c (sem_function::hash_stmt): Fix conditional on
+ variably_modified_type_p.
+
+2020-11-17 Nathan Sidwell <nathan@acm.org>
+
+ * tree.h (cache_integer_cst): Add defaulted might_duplicate parm.
+ * tree.c (cache_integer_cst): Return the integer cst, add
+ might_duplicate parm to permit finding a small duplicate.
+
+2020-11-17 Andrew MacLeod <amacleod@redhat.com>
+
+ PR tree-optimization/83072
+ * range-op.cc (wi_optimize_and_or): Remove zero from IOR range when
+ mask is non-zero.
+
+2020-11-17 Joseph Myers <joseph@codesourcery.com>
+
+ * ginclude/float.h (CR_DECIMAL_DIG): Also define for
+ [__STDC_WANT_IEC_60559_EXT__].
+
+2020-11-17 Joseph Myers <joseph@codesourcery.com>
+
+ * ginclude/float.h [__STDC_VERSION__ > 201710L] (FLT_IS_IEC_60559,
+ DBL_IS_IEC_60559, LDBL_IS_IEC_60559): New macros.
+
+2020-11-17 Aaron Sawdey <acsawdey@linux.ibm.com>
+
+ PR target/96791
+ * mode-classes.def: Add MODE_OPAQUE.
+ * machmode.def: Add OPAQUE_MODE.
+ * tree.def: Add OPAQUE_TYPE for types that will use
+ MODE_OPAQUE.
+ * doc/generic.texi: Document OPAQUE_TYPE.
+ * doc/rtl.texi: Document MODE_OPAQUE.
+ * machmode.h: Add OPAQUE_MODE_P().
+ * genmodes.c (complete_mode): Add MODE_OPAQUE.
+ (opaque_mode): New function.
+ * tree.c (tree_code_size): Add OPAQUE_TYPE.
+ * tree.h: Add OPAQUE_TYPE_P().
+ * stor-layout.c (int_mode_for_mode): Treat MODE_OPAQUE modes
+ like BLKmode.
+ * ira.c (find_moveable_pseudos): Treat MODE_OPAQUE modes more
+ like integer/float modes here.
+ * dbxout.c (dbxout_type): Treat OPAQUE_TYPE like VOID_TYPE.
+ * tree-pretty-print.c (dump_generic_node): Treat OPAQUE_TYPE
+ like like other types.
+
+2020-11-17 Jan Hubicka <hubicka@ucw.cz>
+ Martin Liska <mliska@suse.cz>
+
+ * ipa-icf.c: Include data-streamer.h and alias.h.
+ (sem_function::sem_function): Initialize memory_access_types
+ and m_alias_sets_hash.
+ (sem_function::hash_stmt): For memory accesses and when going to
+ do lto streaming add base and ref types into memory_access_types.
+ (sem_item_optimizer::write_summary): Stream memory access types.
+ (sem_item_optimizer::read_section): Likewise and also iniitalize
+ m_alias_sets_hash.
+ (sem_item_optimizer::execute): Call
+ sem_item_optimizer::update_hash_by_memory_access_type.
+ (sem_item_optimizer::update_hash_by_memory_access_type): Updat.
+ * ipa-icf.h (sem_function): Add memory_access_types and
+ m_alias_sets_hash.
+
+2020-11-17 Jan Hubicka <jh@suse.cz>
+
+ PR bootstrap/97857
+ * ipa-devirt.c (odr_based_tbaa_p): Do not ICE when
+ odr_hash is not initialized
+ * ipa-utils.h (type_with_linkage_p): Do not sanity check
+ CXX_ODR_P.
+ * tree-streamer-out.c (pack_ts_type_common_value_fields): Set
+ CXX_ODR_P according to the canonical type.
+
+2020-11-17 Nathan Sidwell <nathan@acm.org>
+
+ * langhooks-def.h (LANG_HOOKS_PREPROCESS_MAIN_FILE)
+ (LANG_HOOKS_PREPROCESS_OPTIONS, LANG_HOOKS_PREPROCESS_UNDEF)
+ (LANG_HOOKS_PREPROCESS_TOKEN): New.
+ (LANG_HOOKS_INITIALIZER): Add them.
+ * langhooks.h (struct lang_hooks): Add preprocess_main_file,
+ preprocess_options, preprocess_undef, preprocess_token hooks. Add
+ enum PT_flags.
+
+2020-11-17 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR tree-optimization/97693
+ * tree-vect-stmts.c (vectorizable_call): Pass the required vectype
+ to vect_get_vec_defs_for_operand.
+
+2020-11-17 Liu Hao <lh_mouse@126.com>
+
+ * config/i386/msformat-c.c: Add more length modifiers.
+
+2020-11-17 Tamar Christina <tamar.christina@arm.com>
+
+ PR driver/97574
+ * gcc.c (convert_filename): Don't add suffix to things that are
+ not files.
+ (not_actual_file_p): Use supplied argument.
+
+2020-11-17 Haochen Gui <guihaoc@gcc.gnu.org>
+
+ * final.c (final_scan_insn_1): Set jump table relocatable as the
+ second argument of targetm.asm_out.function_rodata_section.
+ * output.h (default_function_rodata_section,
+ default_no_function_rodata_section): Add the second argument to the
+ declarations.
+ * target.def (function_rodata_section): Change the doc and add
+ the second argument.
+ * doc/tm.texi: Regenerate.
+ * varasm.c (jumptable_relocatable): Implement.
+ (default_function_rodata_section): Add the second argument
+ and the support for relocatable read only sections.
+ (default_no_function_rodata_section): Add the second argument.
+ (function_mergeable_rodata_prefix): Set the second argument to false.
+ * config/mips/mips.c (mips_function_rodata_section): Add the second
+ arugment and set it to false.
+ * config/s390/s390.c (targetm.asm_out.function_rodata_section): Set
+ the second argument to false.
+ * config/s390/s390.md: Likewise.
+
+2020-11-17 liuhongt <hongtao.liu@intel.com>
+
+ PR target/97194
+ * config/i386/i386-expand.c (ix86_expand_vector_set_var): New function.
+ * config/i386/i386-protos.h (ix86_expand_vector_set_var): New Decl.
+ * config/i386/predicates.md (vec_setm_operand): New predicate,
+ true for const_int_operand or register_operand under TARGET_AVX2.
+ * config/i386/sse.md (vec_set<mode>): Support both constant
+ and variable index vec_set.
+
+2020-11-17 Martin Sebor <msebor@redhat.com>
+
+ * tree-ssa-uninit.c (maybe_warn_operand): Call is_empty_type.
+ * tree.c (default_is_empty_type): Rename...
+ (is_empty_type): ...to this.
+ * tree.h (is_empty_type): Declare.
+
+2020-11-17 Martin Sebor <msebor@redhat.com>
+
+ PR middle-end/95673
+ * tree-ssa-strlen.c (used_only_for_zero_equality): Rename...
+ (use_in_zero_equality): ...to this. Add a default argument.
+ (handle_builtin_memcmp): Adjust to the name change above.
+ (handle_builtin_string_cmp): Same.
+ (maybe_warn_pointless_strcmp): Same. Pass in an explicit argument.
+
+2020-11-17 Joseph Myers <joseph@codesourcery.com>
+
+ * ginclude/float.h (DEC32_SNAN, DEC64_SNAN, DEC128_SNAN): New C2x
+ macros.
+
+2020-11-17 Joseph Myers <joseph@codesourcery.com>
+
+ * ginclude/float.h (INFINITY, NAN, FLT_SNAN, DBL_SNAN, LDBL_SNAN)
+ (FLT16_SNAN, FLT32_SNAN, FLT64_SNAN, FLT128_SNAN, FLT32X_SNAN)
+ (FLT64X_SNAN, FLT128X_SNAN, DEC_INFINITY, DEC_NAN): New C2x
+ macros.
+ * doc/sourcebuild.texi (Effective-Target Keywords): Document inff.
+
2020-11-17 Armin Brauns via Gcc-patches <gcc-patches@gcc.gnu.org>
* gcc.c: Document %T spec file directive.
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 0ad54ab..6ee7c2a 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20201117
+20201118
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index dc15a61..3fec8f2 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,44 @@
+2020-11-17 Nathan Sidwell <nathan@acm.org>
+
+ * c-common.h (enum c_tree_index): Reorder to place lazy fields
+ after newly-added CTI_MODULE_HWM.
+
+2020-11-17 Joseph Myers <joseph@codesourcery.com>
+
+ * c-cppbuiltin.c (builtin_define_float_constants): Define
+ "*_IS_IEC_60559__" macros.
+
+2020-11-17 Nathan Sidwell <nathan@acm.org>
+
+ * c-lex.c: #include "langhooks.h".
+ (cb_undef): Maybe call preprocess_undef lang hook.
+ * c-opts.c (c_common_post_options): Maybe call preprocess_options
+ lang hook.
+ (push_command_line_include): Maybe call preprocess_main_file lang
+ hook.
+ (cb_file_change): Likewise.
+ * c-ppoutput.c: #include "langhooks.h.
+ (scan_translation_unit): Maybe call preprocess_token lang hook.
+ (class do_streamer): New, derive from token_streamer.
+ (directives_only_cb): Data pointer is do_streamer, call
+ preprocess_token lang hook.
+ (scan_translation_unit_directives_only): Use do_streamer.
+ (print_line_1): Move src_line recording to after string output.
+ (cb_undef): Maybe call preprocess_undef lang hook.
+
+2020-11-17 Nathan Sidwell <nathan@acm.org>
+
+ * c-ppoutput.c (scan_translation_unit): Use token_streamer, remove
+ code duplicating that functionality.
+
+2020-11-17 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/90628
+ * c-common.c (check_builtin_function_arguments)
+ <case BUILT_IN_ADD_OVERFLOW>: Diagnose when last argument is pointer
+ to _Atomic. For the TYPE_READONLY case, adjust message to be usable
+ for more builtins and argument positions.
+
2020-11-16 Iain Sandoe <iain@sandoe.co.uk>
PR objc/97854
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 83d7885..0f41862 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,19 @@
+2020-11-17 Nathan Sidwell <nathan@acm.org>
+
+ PR c++/97877
+ * decl.c (duplicate_decls): Deal with duplicated DECL_LOCAL_DECL_P
+ decls. Extend decl_lang_specific checking assert.
+
+2020-11-17 Nathan Sidwell <nathan@acm.org>
+
+ * cp-tree.h (enum cp_tree_index): Reorder to place lazy fields
+ after newly-added CPTI_MODULE_HWM.
+
+2020-11-17 Iain Sandoe <iain@sandoe.co.uk>
+
+ PR c++/97871
+ * parser.c (cp_parser_declaration): Remove checking assert.
+
2020-11-15 Jason Merrill <jason@redhat.com>
* decl.c (cp_finish_decl): Only check abstractness on definition.
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 7bff1b2..69b337c 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,8 @@
+2020-11-17 Harald Anlauf <anlauf@gmx.de>
+
+ * gfortran.texi: Fix description of GFC_RTCHECK_* to match actual
+ code.
+
2020-11-16 Harald Anlauf <anlauf@gmx.de>
* trans-intrinsic.c (gfc_conv_intrinsic_size): Generate runtime
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index d336074..29d0705 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -1,3 +1,10 @@
+2020-11-17 Jan Hubicka <jh@suse.cz>
+
+ PR bootstrap/97857
+ * lto-common.c (gimple_register_canonical_type_1): Only
+ register types with TYPE_CXX_ODR_P flag; sanity check that no
+ conflict happens at ltrans time.
+
2020-11-06 Nathan Sidwell <nathan@acm.org>
* lto-symtab.c (lto_symtab_merge_decls_1): Rename
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 8672fd8..ec4c0d7 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,138 @@
+2020-11-17 Andrew MacLeod <amacleod@redhat.com>
+
+ * gcc.dg/pr91029.c: New.
+
+2020-11-17 Nathan Sidwell <nathan@acm.org>
+
+ PR c++/97877
+ * g++.dg/lookup/pr97877.C: New.
+
+2020-11-17 Andrew MacLeod <amacleod@redhat.com>
+
+ * gcc.dg/pr83072.c: New.
+
+2020-11-17 Joseph Myers <joseph@codesourcery.com>
+
+ * gcc.dg/cr-decimal-dig-3.c: New test.
+
+2020-11-17 Joseph Myers <joseph@codesourcery.com>
+
+ * gcc.dg/c11-float-6.c, gcc.dg/c2x-float-10.c: New tests.
+
+2020-11-17 David Edelsohn <dje.gcc@gmail.com>
+
+ * gcc.dg/pr25376.c: Allow .opd section.
+
+2020-11-17 H.J. Lu <hjl.tools@gmail.com>
+
+ PR target/31799
+ * gcc.target/i386/pr31799.c: New test.
+
+2020-11-17 Richard Sandiford <richard.sandiford@arm.com>
+
+ * gcc.target/aarch64/sve/cond_cnot_1.c: Remove XFAIL.
+ * gcc.target/aarch64/sve/cond_unary_1.c: Likewise.
+
+2020-11-17 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR tree-optimization/97693
+ * gcc.dg/vect/pr97693.c: New test.
+
+2020-11-17 Richard Sandiford <richard.sandiford@arm.com>
+
+ * gcc.dg/vect/slp-46.c: XFAIL test for SLP on vect_load_lanes targets.
+
+2020-11-17 Richard Sandiford <richard.sandiford@arm.com>
+
+ * gcc.dg/vect/aligned-section-anchors-nest-1.c: XFAIL alignment
+ test if vect_element_align_preferred.
+
+2020-11-17 Richard Sandiford <richard.sandiford@arm.com>
+
+ * gcc.dg/vect/bb-slp-subgroups-3.c: XFAIL for variable-length vectors.
+
+2020-11-17 Richard Sandiford <richard.sandiford@arm.com>
+
+ * gcc.dg/vect/pr65947-8.c: Expect the loop to be vectorized for SVE.
+
+2020-11-17 Richard Sandiford <richard.sandiford@arm.com>
+
+ * gcc.dg/vect/pr97678.c: XFAIL test for SLP vectorization
+ for variable-length vectors.
+ * gcc.dg/vect/pr97835.c: Likewise.
+ * gcc.dg/vect/slp-49.c: Likewise.
+ * gcc.dg/vect/vect-outer-slp-1.c: Likewise.
+ * gcc.dg/vect/vect-outer-slp-2.c: Likewise.
+ * gcc.dg/vect/vect-outer-slp-3.c: Likewise.
+
+2020-11-17 Richard Sandiford <richard.sandiford@arm.com>
+
+ * gcc.dg/vect/slp-reduc-4.c: XFAIL test for SLP vectorization
+ for variable-length SVE.
+ * gcc.dg/vect/slp-reduc-7.c: Likewise.
+
+2020-11-17 Richard Sandiford <richard.sandiford@arm.com>
+
+ * gcc.dg/vect/bb-slp-43.c: Remove XFAIL for vect_variable_length.
+
+2020-11-17 Richard Sandiford <richard.sandiford@arm.com>
+
+ * gcc.dg/vect/pr91750.c: Allow "[]," inside a vector(...) lane count.
+
+2020-11-17 Liu Hao <lh_mouse@126.com>
+
+ * gcc.dg/format/ms_c99-printf-3.c: Update tests.
+
+2020-11-17 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/90628
+ * gcc.dg/builtin-arith-overflow-4.c: New test.
+
+2020-11-17 Jakub Jelinek <jakub@redhat.com>
+
+ * gcc.dg/guality/pr59776.c (foo): Use noipa attribute instead of
+ noinline, noclone.
+
+2020-11-17 liuhongt <hongtao.liu@intel.com>
+
+ * gcc.target/i386/avx2-vec-set-1.c: New test.
+ * gcc.target/i386/avx2-vec-set-2.c: New test.
+ * gcc.target/i386/avx512bw-vec-set-1.c: New test.
+ * gcc.target/i386/avx512bw-vec-set-2.c: New test.
+ * gcc.target/i386/avx512f-vec-set-2.c: New test.
+ * gcc.target/i386/avx512vl-vec-set-2.c: New test.
+
+2020-11-17 Martin Sebor <msebor@redhat.com>
+
+ PR middle-end/95673
+ * gcc.dg/Wstring-compare-3.c: New test.
+
+2020-11-17 Joseph Myers <joseph@codesourcery.com>
+
+ * gcc.dg/dfp/c2x-float-dfp-7.c, gcc.dg/dfp/c2x-float-dfp-8.c: New
+ tests.
+ * gcc.dg/c2x-float-no-dfp-3.c: Also check that DEC32_SNAN,
+ DEC64_SNAN and DEC128_SNAN are not defined.
+
+2020-11-17 Joseph Myers <joseph@codesourcery.com>
+
+ * lib/target-supports.exp (check_effective_target_inff): New.
+ * gcc.dg/c11-float-4.c, gcc.dg/c11-float-5.c,
+ gcc.dg/c11-float-dfp-2.c, gcc.dg/c2x-float-2.c,
+ gcc.dg/c2x-float-3.c, gcc.dg/c2x-float-4.c, gcc.dg/c2x-float-5.c,
+ gcc.dg/c2x-float-6.c, gcc.dg/c2x-float-7.c, gcc.dg/c2x-float-8.c,
+ gcc.dg/c2x-float-9.c, gcc.dg/c2x-float-no-dfp-3.c,
+ gcc.dg/c2x-float-no-dfp-4.c, gcc.dg/dfp/c2x-float-dfp-4.c,
+ gcc.dg/dfp/c2x-float-dfp-5.c, gcc.dg/dfp/c2x-float-dfp-6.c,
+ gcc.dg/torture/float128-nan-floath.c,
+ gcc.dg/torture/float128x-nan-floath.c,
+ gcc.dg/torture/float16-nan-floath.c,
+ gcc.dg/torture/float32-nan-floath.c,
+ gcc.dg/torture/float32x-nan-floath.c,
+ gcc.dg/torture/float64-nan-floath.c,
+ gcc.dg/torture/float64x-nan-floath.c,
+ gcc.dg/torture/floatn-nan-floath.h: New tests.
+
2020-11-16 Roger Sayle <roger@nextmovesoftware.com>
PR rtl-optimization/92180