diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 83 | ||||
-rw-r--r-- | gcc/DATESTAMP | 2 | ||||
-rw-r--r-- | gcc/ada/ChangeLog | 22 | ||||
-rw-r--r-- | gcc/analyzer/ChangeLog | 19 | ||||
-rw-r--r-- | gcc/cp/ChangeLog | 28 | ||||
-rw-r--r-- | gcc/jit/ChangeLog | 36 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 66 |
7 files changed, 255 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 953f954..1120143 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,86 @@ +2020-09-11 Michael Meissner <meissner@linux.ibm.com> + + * config/rs6000/rs6000.c (rs6000_maybe_emit_maxc_minc): Rename + from rs6000_emit_p9_fp_minmax. Change return type to bool. Add + comments to document NaN/signed zero behavior. + (rs6000_maybe_emit_fp_cmove): Rename from rs6000_emit_p9_fp_cmove. + (have_compare_and_set_mask): New helper function. + (rs6000_emit_cmove): Update calls to new names and the new helper + function. + +2020-09-11 Nathan Sidwell <nathan@acm.org> + + * config/i386/sse.md (mov<mode>): Fix operand indices. + +2020-09-11 Martin Sebor <msebor@redhat.com> + + PR middle-end/96903 + * builtins.c (compute_objsize): Remove incorrect offset adjustment. + (compute_objsize): Adjust offset range here instead. + +2020-09-11 Richard Biener <rguenther@suse.de> + + PR tree-optimization/97020 + * tree-vect-slp.c (vect_slp_analyze_operations): Apply + SLP costs when doing loop vectorization. + +2020-09-11 Tom de Vries <tdevries@suse.de> + + PR target/96964 + * config/nvptx/nvptx.md (define_expand "atomic_test_and_set"): New + expansion. + +2020-09-11 Andrew Stubbs <ams@codesourcery.com> + + * config/gcn/gcn.c (gcn_hard_regno_mode_ok): Align TImode registers. + * config/gcn/gcn.md: Assert that TImode registers do not early clobber. + +2020-09-11 Richard Biener <rguenther@suse.de> + + * tree-vectorizer.h (_slp_instance::location): New method. + (vect_schedule_slp): Adjust prototype. + * tree-vectorizer.c (vec_info::remove_stmt): Adjust + the BB region begin if we removed the stmt it points to. + * tree-vect-loop.c (vect_transform_loop): Adjust. + * tree-vect-slp.c (_slp_instance::location): Implement. + (vect_analyze_slp_instance): For BB vectorization set + vect_location to that of the instance. + (vect_slp_analyze_operations): Likewise. + (vect_bb_vectorization_profitable_p): Remove wrapper. + (vect_slp_analyze_bb_1): Remove cost check here. + (vect_slp_region): Cost check and code generate subgraphs separately, + report optimized locations and missed optimizations due to + profitability for each of them. + (vect_schedule_slp): Get the vector of SLP graph entries to + vectorize as argument. + +2020-09-11 Richard Biener <rguenther@suse.de> + + PR tree-optimization/97013 + * tree-vect-slp.c (vect_slp_analyze_bb_1): Remove duplicate dumping. + +2020-09-11 Richard Biener <rguenther@suse.de> + + * tree-vect-slp.c (vect_build_slp_tree_1): Check vector + types for all lanes are compatible. + (vect_analyze_slp_instance): Appropriately check for stores. + (vect_schedule_slp): Likewise. + +2020-09-11 Tom de Vries <tdevries@suse.de> + + * config/nvptx/nvptx.c (nvptx_assemble_value): Fix undefined + behaviour. + +2020-09-11 Tom de Vries <tdevries@suse.de> + + * config/nvptx/nvptx.c (nvptx_assemble_value): Handle negative + __int128. + +2020-09-11 Aaron Sawdey <acsawdey@linux.ibm.com> + + * config/rs6000/rs6000.c (rs6000_option_override_internal): + Change default. + 2020-09-10 Michael Meissner <meissner@linux.ibm.com> * config/rs6000/rs6000-protos.h (rs6000_emit_cmove): Change return diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 15fb79c..c977cef 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20200911 +20200912 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 22fa765..d30d1e7 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,25 @@ +2020-09-11 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/utils.c (type_has_variable_size): New function. + (create_field_decl): In the packed case, also force byte alignment + when the type of the field has variable size. + +2020-09-11 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/misc.c (get_array_bit_stride): Return TYPE_ADA_SIZE + for record and union types. + +2020-09-11 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/misc.c (gnat_get_fixed_point_type): Bail out only + when the GNAT encodings are specifically used. + +2020-09-11 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Only + create extra subtypes for discriminants if the RM size of the base + type of the index type is lower than that of the index type. + 2020-09-10 Eric Botcazou <ebotcazou@adacore.com> * gcc-interface/decl.c (set_rm_size): Do not take into account the diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 2074763..90ecac8 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,22 @@ +2020-09-11 David Malcolm <dmalcolm@redhat.com> + + PR analyzer/96798 + * region-model-impl-calls.cc (region_model::impl_call_memcpy): + New. + (region_model::impl_call_strcpy): New. + * region-model.cc (region_model::on_call_pre): Flag unhandled + builtins that are non-pure as having unknown side-effects. + Implement BUILT_IN_MEMCPY, BUILT_IN_MEMCPY_CHK, BUILT_IN_STRCPY, + BUILT_IN_STRCPY_CHK, BUILT_IN_FPRINTF, BUILT_IN_FPRINTF_UNLOCKED, + BUILT_IN_PUTC, BUILT_IN_PUTC_UNLOCKED, BUILT_IN_FPUTC, + BUILT_IN_FPUTC_UNLOCKED, BUILT_IN_FPUTS, BUILT_IN_FPUTS_UNLOCKED, + BUILT_IN_FWRITE, BUILT_IN_FWRITE_UNLOCKED, BUILT_IN_PRINTF, + BUILT_IN_PRINTF_UNLOCKED, BUILT_IN_PUTCHAR, + BUILT_IN_PUTCHAR_UNLOCKED, BUILT_IN_PUTS, BUILT_IN_PUTS_UNLOCKED, + BUILT_IN_VFPRINTF, BUILT_IN_VPRINTF. + * region-model.h (region_model::impl_call_memcpy): New decl. + (region_model::impl_call_strcpy): New decl. + 2020-09-09 David Malcolm <dmalcolm@redhat.com> PR analyzer/94355 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index b1b9e27..d11d92f 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,31 @@ +2020-09-11 Nathan Sidwell <nathan@acm.org> + + * decl.c (grokfndecl): Don't attach to local extern. + +2020-09-11 Nathan Sidwell <nathan@acm.org> + + * parser.c (cp_parser_objc_method_definition_list): Reimplement + loop, make sure we pop scope. + +2020-09-11 Marek Polacek <polacek@redhat.com> + + * cp-tree.h (LOOKUP_CONSTINIT): Remove. + (LOOKUP_REWRITTEN): Adjust. + * decl.c (duplicate_decls): Set DECL_DECLARED_CONSTINIT_P. + (check_initializer): Use DECL_DECLARED_CONSTINIT_P instead of + LOOKUP_CONSTINIT. + (cp_finish_decl): Don't set DECL_DECLARED_CONSTINIT_P. Use + DECL_DECLARED_CONSTINIT_P instead of LOOKUP_CONSTINIT. + (grokdeclarator): Set DECL_DECLARED_CONSTINIT_P. + * decl2.c (grokfield): Don't handle LOOKUP_CONSTINIT. + * parser.c (cp_parser_decomposition_declaration): Remove + LOOKUP_CONSTINIT handling. + (cp_parser_init_declarator): Likewise. + * pt.c (tsubst_expr): Likewise. + (instantiate_decl): Likewise. + * typeck2.c (store_init_value): Use DECL_DECLARED_CONSTINIT_P instead + of LOOKUP_CONSTINIT. + 2020-09-10 Nathan Sidwell <nathan@acm.org> * cp-tree.h (TINFO_VAR_DECLARED_CONSTINIT): Replace with ... diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog index 0191ebf..5b321c8 100644 --- a/gcc/jit/ChangeLog +++ b/gcc/jit/ChangeLog @@ -1,3 +1,39 @@ +2020-09-11 Andrea Corallo <andrea.corallo@arm.com> + + * docs/topics/compatibility.rst (LIBGCCJIT_ABI_14): New ABI tag. + * docs/topics/expressions.rst (gcc_jit_global_set_initializer): + Document new entry point in section 'Global variables'. + * jit-playback.c (global_new_decl, global_finalize_lvalue): New + method. + (playback::context::new_global): Make use of global_new_decl, + global_finalize_lvalue. + (load_blob_in_ctor): New template function in use by the + following. + (playback::context::new_global_initialized): New method. + * jit-playback.h (class context): Decl 'new_global_initialized', + 'global_new_decl', 'global_finalize_lvalue'. + (lvalue::set_initializer): Add implementation. + * jit-recording.c (recording::memento_of_get_pointer::get_size) + (recording::memento_of_get_type::get_size): Add implementation. + (recording::global::write_initializer_reproducer): New function in + use by 'recording::global::write_reproducer'. + (recording::global::replay_into) + (recording::global::write_to_dump) + (recording::global::write_reproducer): Handle + initialized case. + * jit-recording.h (class type): Decl 'get_size' and + 'num_elements'. + * libgccjit++.h (class lvalue): Declare new 'set_initializer' + method. + (class lvalue): Decl 'is_global' and 'set_initializer'. + (class global) Decl 'write_initializer_reproducer'. Add + 'm_initializer', 'm_initializer_num_bytes' fields. Implement + 'set_initializer'. Add a destructor to free 'm_initializer'. + * libgccjit.c (gcc_jit_global_set_initializer): New function. + * libgccjit.h (gcc_jit_global_set_initializer): New function + declaration. + * libgccjit.map (LIBGCCJIT_ABI_14): New ABI tag. + 2020-08-28 Martin Sebor <msebor@redhat.com> * jit-recording.c (recording::switch_::make_debug_string): Add argument diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 36856ed..4c94847 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,69 @@ +2020-09-11 Nathan Sidwell <nathan@acm.org> + + * g++.dg/concepts/local-extern.C: New file. + +2020-09-11 Will Schmidt <will_schmidt@vnet.ibm.com> + + * gcc.target/powerpc/pr96139-a.c: Specify -mvsx option and update the + dg-require stanza to match. + * gcc.target/powerpc/pr96139-b.c: Same. + * gcc.target/powerpc/pr96139-c.c: Specify -maltivec option and update + the dg-require stanza to match. + +2020-09-11 Sunil K Pandey <skpgkp2@gmail.com> + + PR target/97018 + * gcc.target/i386/l_fma_double_1.c: Add option -mno-avx512f. + * gcc.target/i386/l_fma_double_2.c: Likewise. + * gcc.target/i386/l_fma_double_3.c: Likewise. + * gcc.target/i386/l_fma_double_4.c: Likewise. + * gcc.target/i386/l_fma_double_5.c: Likewise. + * gcc.target/i386/l_fma_double_6.c: Likewise. + * gcc.target/i386/l_fma_float_1.c: Likewise. + * gcc.target/i386/l_fma_float_2.c: Likewise. + * gcc.target/i386/l_fma_float_3.c: Likewise. + * gcc.target/i386/l_fma_float_4.c: Likewise. + * gcc.target/i386/l_fma_float_5.c: Likewise. + * gcc.target/i386/l_fma_float_6.c: Likewise. + +2020-09-11 Martin Sebor <msebor@redhat.com> + + PR middle-end/96903 + * gcc.dg/Wstringop-overflow-42.c:: Add comment. + * gcc.dg/Wstringop-overflow-43.c: New test. + +2020-09-11 Nathan Sidwell <nathan@acm.org> + + * obj-c++.dg/syntax-error-9.mm: Adjust expected errors. + +2020-09-11 Andrew Stubbs <ams@codesourcery.com> + + * gcc.dg/gimplefe-44.c: Require exceptions. + +2020-09-11 Andrea Corallo <andrea.corallo@arm.com> + + * jit.dg/all-non-failing-tests.h: Add test-blob.c. + * jit.dg/test-global-set-initializer.c: New testcase. + +2020-09-11 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/pack27.adb: New test. + * gnat.dg/pack27_pkg.ads: New helper. + +2020-09-11 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/specs/discr7.ads: New test. + +2020-09-11 Tom de Vries <tdevries@suse.de> + + * gcc.target/nvptx/int128.c: New test. + +2020-09-11 David Malcolm <dmalcolm@redhat.com> + + PR analyzer/96798 + * gcc.dg/analyzer/memcpy-1.c: New test. + * gcc.dg/analyzer/strcpy-1.c: New test. + 2020-09-10 Alex Coplan <alex.coplan@arm.com> * gcc.target/aarch64/acle/armv8-r.c: New test. |