From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 34745 invoked by alias); 10 Aug 2019 10:13:11 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 34726 invoked by uid 89); 10 Aug 2019 10:13:11 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-7.8 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,KAM_ASCII_DIVIDERS,KAM_STOCKGEN,SPF_HELO_PASS,UNSUBSCRIBE_BODY autolearn=ham version=3.3.1 spammy=kennedy, jia, henry, robert X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 10 Aug 2019 10:12:57 +0000 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 15342C04D932; Sat, 10 Aug 2019 10:12:55 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-116-200.ams2.redhat.com [10.36.116.200]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D4AAA60925; Sat, 10 Aug 2019 10:12:53 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id x7AACoFD026769; Sat, 10 Aug 2019 12:12:51 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id x7AACk2o026768; Sat, 10 Aug 2019 12:12:46 +0200 Date: Sat, 10 Aug 2019 10:13:00 -0000 From: Jakub Jelinek To: Hans-Peter Nilsson , Richard Biener Cc: gcc-patches@gcc.gnu.org, gcc@gcc.gnu.org, amodra@gmail.com, joern.rennecke@riscy-ip.com Subject: Re: Using gcc/ChangeLog instead of gcc/testsuite/ChangeLog? Message-ID: <20190810101246.GG2726@tucnak> Reply-To: Jakub Jelinek References: <201908100653.x7A6rjhE015519@ignucius.se.axis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201908100653.x7A6rjhE015519@ignucius.se.axis.com> User-Agent: Mutt/1.11.3 (2019-02-01) X-IsSubscribed: yes X-SW-Source: 2019-08/txt/msg00077.txt.bz2 On Sat, Aug 10, 2019 at 08:53:45AM +0200, Hans-Peter Nilsson wrote: > Has there been a change of policy so it's a valid option to use > gcc/ChangeLog for testsuite changes? I was about to move a > semi-randomly spotted misplaced entry, and when checking if > there were others, I noticed that there's like tens of them, so > I thought better ask. Nothing in the policy changed. While we have mklog that helps with the job, it is still mostly hand written stuff and people make occassionally mistakes, that can happen to anyone. Admittedly some people repeat those mistakes often. I ran the gcc/ subdirectory ChangeLogs through following script that doesn't seem to have false positives ATM and highlights some common mistakes people make and fixed them, see patch below. There are other mistakes that might need more scripting work, like missing . at the end of entries. Easy to spot on when followed by a newline, harder to spot elsewhere (whether newline tab ( starts a new change or not). Another common mistake is more than 2 newline characters in sequence. # Date not separated from name by two spaces, but just one. grep '^ \?[12].*-[0-9][0-9] [^ ].*<.*@.*>' {,*/}ChangeLog # Email not separated by two spaces from name. grep '[^ ] \?<.*@.*>' {,*/}ChangeLog # Some people put two spaces instead of one after colon. grep ': ' {,*/}ChangeLog # Spaces in place of tabs. grep ' ' {,*/}ChangeLog # If more than one name/email appears, the second and following should be # indented by tab and 4 spaces to align it under the first name. grep '^ [^ 12 ].*<.*@.*>' {,*/}ChangeLog # Trailing whitespace. grep '[ ]$' {,*/}ChangeLog # Missing space between * and filename. grep '^ \*[^ ][a-z0-9.]*/' {,*/}ChangeLog # gcc/ paths in filenames. grep '^ \* gcc/' {,*/}ChangeLog # Misplaced ChangeLog entries. grep '^ \* \(ada\|brig\|c\|c-family\|cp\|d\|fortran\|go\|jit\|lto\|objc\|objcp\|po\|testsuite\)/' {,*/}ChangeLog # Email not wrapped in <>s. grep '^[12].*@' {,*/}ChangeLog | grep -v '<' grep '^[12].*@' {,*/}ChangeLog | grep -v '>' Here is what I've committed, misplaced or completely missing entries are hardest to fix, as one needs to figure out where exactly to place it in the other ChangeLog. Haven't touched the old ChangeLog files which have some suffixes. Index: brig/ChangeLog =================================================================== --- brig/ChangeLog (revision 274249) +++ brig/ChangeLog (revision 274250) @@ -1,11 +1,16 @@ +2019-06-25 Jozef Lawrynowicz + + * brig-lang.c (brig_build_c_type_nodes): Accept "__intN__" + format of "__intN" types for SIZE_TYPE. + 2019-05-16 Martin Sebor - * brigfrontend/brig-control-handler.cc - (brig_directive_control_handler::operator): Remove trailing newline - from a diagnostic. - * brigfrontend/brig-module-handler.cc - (brig_directive_module_handler::operator): Remove a duplicated space - from a diagnostic. + * brigfrontend/brig-control-handler.cc + (brig_directive_control_handler::operator): Remove trailing newline + from a diagnostic. + * brigfrontend/brig-module-handler.cc + (brig_directive_module_handler::operator): Remove a duplicated space + from a diagnostic. 2019-01-01 Jakub Jelinek @@ -18,7 +23,7 @@ 2018-07-20 Martin Sebor PR middle-end/82063 - * brig/brig-lang.c (brig_langhook_handle_option): Change function + * brig-lang.c (brig_langhook_handle_option): Change function argument to HOST_WIDE_INT. 2018-07-04 Martin Jambor @@ -46,7 +51,7 @@ 2018-05-04 Pekka Jääskeläinen - * brig/brigfrontend/brig-basic-inst-handler.cc: Fix handling of NOPs. + * brigfrontend/brig-basic-inst-handler.cc: Fix handling of NOPs. 2018-05-04 Pekka Jääskeläinen @@ -75,52 +80,52 @@ - add qualifiers to generated function parameters. Const and restrict on the hidden local/private pointers, the arg buffer and the context pointer help some optimizations. - * brig/brigfrontend/brig-basic-inst-handler.cc: See above. - * brig/brigfrontend/brig-branch-inst-handler.cc: See above. - * brig/brigfrontend/brig-cmp-inst-handler.cc: See above. - * brig/brigfrontend/brig-code-entry-handler.cc: See above. - * brig/brigfrontend/brig-code-entry-handler.h: See above. - * brig/brigfrontend/brig-control-handler.cc: See above. - * brig/brigfrontend/brig-cvt-inst-handler.cc: See above. - * brig/brigfrontend/brig-function-handler.cc: See above. - * brig/brigfrontend/brig-function.cc: See above. - * brig/brigfrontend/brig-function.h: See above. - * brig/brigfrontend/brig-label-handler.cc: See above. - * brig/brigfrontend/brig-lane-inst-handler.cc: See above. - * brig/brigfrontend/brig-mem-inst-handler.cc: See above. - * brig/brigfrontend/phsa.h: See above. - * brig/lang.opt: See above. + * brigfrontend/brig-basic-inst-handler.cc: See above. + * brigfrontend/brig-branch-inst-handler.cc: See above. + * brigfrontend/brig-cmp-inst-handler.cc: See above. + * brigfrontend/brig-code-entry-handler.cc: See above. + * brigfrontend/brig-code-entry-handler.h: See above. + * brigfrontend/brig-control-handler.cc: See above. + * brigfrontend/brig-cvt-inst-handler.cc: See above. + * brigfrontend/brig-function-handler.cc: See above. + * brigfrontend/brig-function.cc: See above. + * brigfrontend/brig-function.h: See above. + * brigfrontend/brig-label-handler.cc: See above. + * brigfrontend/brig-lane-inst-handler.cc: See above. + * brigfrontend/brig-mem-inst-handler.cc: See above. + * brigfrontend/phsa.h: See above. + * lang.opt: See above. 2018-05-04 Pekka Jääskeläinen - * brig/brigfrontend/brig-function-handler.cc: Skip multiple forward + * brigfrontend/brig-function-handler.cc: Skip multiple forward declarations of the same function. 2018-05-04 Pekka Jääskeläinen - * brig/brig-lang.c: Do not allow optimizations based on known C + * brig-lang.c: Do not allow optimizations based on known C builtins. 2018-05-04 Pekka Jääskeläinen - * brig/brig-lang.c: Allow controlling strict aliasing from + * brig-lang.c: Allow controlling strict aliasing from cmd line. 2018-05-04 Pekka Jääskeläinen - * brig/brigfrontend/brig-code-entry-handler.cc: The modulo in + * brigfrontend/brig-code-entry-handler.cc: The modulo in ID computation should not be needed. 2018-05-04 Pekka Jääskeläinen - * brig/brig-lang.c: Add support for whole program + * brig-lang.c: Add support for whole program optimizations by marking the kernels externally visible. - * brig/brigfrontend/brig-branch-inst-handler.cc: See above. - * brig/brigfrontend/brig-function-handler.cc: See above. - * brig/brigfrontend/brig-function.cc: See above. - * brig/brigfrontend/brig-to-generic.cc: See above. - * brig/brigfrontend/brig-to-generic.h: See above. - * brig/brigfrontend/brig-variable-handler.h: See above. + * brigfrontend/brig-branch-inst-handler.cc: See above. + * brigfrontend/brig-function-handler.cc: See above. + * brigfrontend/brig-function.cc: See above. + * brigfrontend/brig-to-generic.cc: See above. + * brigfrontend/brig-to-generic.h: See above. + * brigfrontend/brig-variable-handler.h: See above. 2018-01-03 Richard Sandiford Alan Hayward @@ -217,7 +222,7 @@ can be used to patch away BRIG entries at the binary level. Also add extra error detection for zeroed regions: make sure the byteCount field is never zero. - * brig/brigfrontend/phsa.h: Added a new error prefix for + * brigfrontend/phsa.h: Added a new error prefix for errors which are due to corrupted BRIG modules. 2017-10-09 Henry Linjamäki Index: c-family/ChangeLog =================================================================== --- c-family/ChangeLog (revision 274249) +++ c-family/ChangeLog (revision 274250) @@ -75,6 +75,11 @@ * c-omp.c (c_finish_omp_atomic): Allow tree_invariant_p in addition to SAVE_EXPR in first operand of a COMPOUND_EXPR. +2019-06-25 Jozef Lawrynowicz + + * c-common.c (c_common_nodes_and_builtins): Define + alternate "__intN__" name for "__intN" types. + 2019-06-24 Jan Hubicka * c-common.c (braced_lists_to_strings): Check that @@ -184,36 +189,36 @@ 2019-05-16 Martin Sebor - * c-attribs.c (handle_no_sanitize_attribute): Quote identifiers, - keywords, operators, and types in diagnostics. - (handle_scalar_storage_order_attribute): Same. - (handle_mode_attribute): Same. - (handle_visibility_attribute): Same. - (handle_assume_aligned_attribute): Same. - (handle_no_split_stack_attribute): Same. - * c-common.c (shorten_compare): Same. - (c_common_truthvalue_conversion): Same. - (cb_get_source_date_epoch): Same. - * c-lex.c (cb_def_pragma): Quote keywords, operators, and types - in diagnostics. - (interpret_float): Same. - * c-omp.c (c_finish_omp_for): Same. - * c-opts.c (c_common_post_options): Same. - * c-pch.c (c_common_pch_pragma): Same. - * c-pragma.c (pop_alignment): Same. - (handle_pragma_pack): Same. - (apply_pragma_weak): Same. - (handle_pragma_weak): Same. - (handle_pragma_scalar_storage_order): Same. - (handle_pragma_redefine_extname): Same. - (add_to_renaming_pragma_list): Same. - (maybe_apply_renaming_pragma): Same. - (push_visibility): Same. - (handle_pragma_visibility): Same. - (handle_pragma_optimize): Same. - (handle_pragma_message): Same. - * c-warn.c (warn_for_omitted_condop): Same. - (lvalue_error): Same. + * c-attribs.c (handle_no_sanitize_attribute): Quote identifiers, + keywords, operators, and types in diagnostics. + (handle_scalar_storage_order_attribute): Same. + (handle_mode_attribute): Same. + (handle_visibility_attribute): Same. + (handle_assume_aligned_attribute): Same. + (handle_no_split_stack_attribute): Same. + * c-common.c (shorten_compare): Same. + (c_common_truthvalue_conversion): Same. + (cb_get_source_date_epoch): Same. + * c-lex.c (cb_def_pragma): Quote keywords, operators, and types + in diagnostics. + (interpret_float): Same. + * c-omp.c (c_finish_omp_for): Same. + * c-opts.c (c_common_post_options): Same. + * c-pch.c (c_common_pch_pragma): Same. + * c-pragma.c (pop_alignment): Same. + (handle_pragma_pack): Same. + (apply_pragma_weak): Same. + (handle_pragma_weak): Same. + (handle_pragma_scalar_storage_order): Same. + (handle_pragma_redefine_extname): Same. + (add_to_renaming_pragma_list): Same. + (maybe_apply_renaming_pragma): Same. + (push_visibility): Same. + (handle_pragma_visibility): Same. + (handle_pragma_optimize): Same. + (handle_pragma_message): Same. + * c-warn.c (warn_for_omitted_condop): Same. + (lvalue_error): Same. 2019-05-15 Richard Biener @@ -221,7 +226,7 @@ * c-common.c (c_common_mark_addressable_vec): Also mark a COMPOUND_LITERAL_EXPR_DECL addressable similar to c_mark_addressable. - + 2019-05-06 Nathan Sidwell * c-opts.c (handle_defered_opts): Rename struct deps to struc mkdeps. @@ -284,7 +289,7 @@ 2019-04-05 Marek Polacek - PR c++/89973 - -Waddress-of-packed-member ICE with invalid conversion. + PR c++/89973 - -Waddress-of-packed-member ICE with invalid conversion. * c-warn.c (check_address_or_pointer_of_packed_member): Check the type of RHS. @@ -1056,7 +1061,7 @@ 2018-08-01 Martin Sebor PR tree-optimization/86650 - * c-family/c-format.c (gcc_tdiag_char_table): Update comment for "%G". + * c-format.c (gcc_tdiag_char_table): Update comment for "%G". (gcc_cdiag_char_table, gcc_cxxdiag_char_table): Same. (init_dynamic_diag_info): Update from "gcall *" to "gimple *". * c-format.h (T89_G): Update to be "gimple *" rather than @@ -1095,7 +1100,7 @@ 2018-07-20 Martin Sebor PR middle-end/82063 - * gcc/c-family/c.opt (-Warray-bounds): Remove redundant -Wall. + * c.opt (-Warray-bounds): Remove redundant -Wall. 2018-07-20 Martin Sebor @@ -1175,8 +1180,8 @@ * cppspec.c: Include opt-suggestions.h. -2018-06-20 Chung-Lin Tang - Thomas Schwinge +2018-06-20 Chung-Lin Tang + Thomas Schwinge Cesar Philippidis * c-pragma.h (enum pragma_omp_clause): Add @@ -1265,7 +1270,7 @@ PR c/55976 * c-opts.c (c_common_post_options): Set default for warn_return_type - for C++/C++ with ObjC extensions only. For C, makes it possible to + for C++/C++ with ObjC extensions only. For C, makes it possible to differentiate between default (no option), -Wreturn-type, and -Wno-return-type. @@ -1407,12 +1412,12 @@ 2018-03-12 Martin Sebor PR tree-optimization/83456 - * gcc/c-family/c-common.c (check_function_restrict): Return bool. + * c-common.c (check_function_restrict): Return bool. Restore checking of bounded built-in functions. (check_function_arguments): Also return the result of warn_for_restrict. - * gcc/c-family/c-common.c (check_function_restrict): Return bool. - * gcc/c-family/c-warn.c (warn_for_restrict): Return bool. + * c-common.c (check_function_restrict): Return bool. + * c-warn.c (warn_for_restrict): Return bool. 2018-03-02 Marek Polacek @@ -1623,7 +1628,7 @@ * c-pragma.c (init_pragma): Register pragma GCC unroll. * c-pragma.h (enum pragma_kind): Add PRAGMA_UNROLL. -2017-12-22 Alexandre Oliva +2017-12-22 Alexandre Oliva PR debug/83527 PR debug/83419 @@ -1677,7 +1682,7 @@ Adjust the size of buf1 and buf2, add a new buf to avoid format-overflow warning. -2017-12-12 Alexandre Oliva +2017-12-12 Alexandre Oliva * c-semantics.c (pop_stmt_list): Move begin stmt marker into subsequent statement list. @@ -1981,7 +1986,7 @@ rather than DECL_INITIAL. (common_handle_aligned_attribute): Likewise. -2017-09-20 Alexandre Oliva +2017-09-20 Alexandre Oliva * c.opt (gen-decls): Add RejectNegative. @@ -2043,7 +2048,7 @@ * c-warn.c (warn_tautological_bitwise_comparison): New function. (warn_tautological_cmp): Call it. -2017-09-01 Boris Kolpackov +2017-09-01 Boris Kolpackov * c-opts.c (c_common_finish): Write dependency information even if there are errors. @@ -2134,7 +2139,7 @@ * c-format.c (struct format_check_context): Add field "arglocs". (check_function_format): Add param "arglocs"; pass it to check_format_info. - (check_format_info): Add param "arglocs"; use it to initialize + (check_format_info): Add param "arglocs"; use it to initialize new field of format_ctx. (check_format_arg): Pass format_ctx->arglocs to new param of check_format_info_main. @@ -2802,7 +2807,7 @@ PR middle-end/77708 * c.opt (-Wformat-truncation): New option. -2017-01-06 Alexandre Oliva +2017-01-06 Alexandre Oliva * c-pretty-print.c (pp_c_tree_decl_identifier): Convert 16-bit value to unsigned short to fit in 4 hex digits without @@ -3413,7 +3418,7 @@ (format_warning_va): Move to substring-locations.c. (format_warning_at_substring): Likewise. -2016-09-06 Martin Sebor +2016-09-06 Martin Sebor PR c/77336 * c-format.c (check_function_format): Avoid issuing warnings for @@ -5883,7 +5888,7 @@ Commentary and rearrangement of tests. * g++.dg/cpp1y/feat-cxx14.C: Enable aggregate NSDMI test. Commentary and rearrangement of tests. - * g++.dg/cpp1y/feat-cxx98-neg.C: Ditto + * g++.dg/cpp1y/feat-cxx98-neg.C: Ditto. * g++.dg/cpp1y/feat-cxx98.C: Commentary. 2014-10-29 Richard Sandiford @@ -6273,7 +6278,7 @@ 2014-08-03 Marek Polacek - * c-common.c (check_case_value): Add location_t parameter. Use it. + * c-common.c (check_case_value): Add location_t parameter. Use it. (c_add_case_label): Pass loc to check_case_value. 2014-08-02 Trevor Saunders @@ -6630,7 +6635,7 @@ * c-common.h (registered_builtin_types): Declare. 2014-04-14 Richard Biener - Marc Glisse + Marc Glisse PR c/60819 * c-common.c (convert_vector_to_pointer_for_subscript): Properly @@ -6890,7 +6895,7 @@ * c-common.c (c_common_attribute_table): Added "cilk simd function" attribute. * c-pragma.h (enum pragma_cilk_clause): Remove. - (enum pragma_omp_clause): Added the following fields: + (enum pragma_omp_clause): Added the following fields: PRAGMA_CILK_CLAUSE_NOMASK, PRAGMA_CILK_CLAUSE_MASK, PRAGMA_CILK_CLAUSE_VECTORLENGTH, PRAGMA_CILK_CLAUSE_NONE, PRAGMA_CILK_CLAUSE_LINEAR, PRAGMA_CILK_CLAUSE_PRIVATE, @@ -6964,8 +6969,8 @@ 2013-11-22 Andrew MacLeod * c-common.c: Add required include files from gimple.h. - * c-gimplify.c: Likewise - * cilk.c: Likewise + * c-gimplify.c: Likewise. + * cilk.c: Likewise. 2013-11-22 David Malcolm @@ -7475,7 +7480,7 @@ (pp_c_direct_abstract_declarator): Likewise. * c-pretty-print.c (c_pretty_printer::abstract_declarator): Rename from pp_c_abstract_declarator. Adjust. - (c_pretty_printer::direct_abstract_declarator): Rename from + (c_pretty_printer::direct_abstract_declarator): Rename from pp_c_direct_abstract_declarator. Adjust. (c_pretty_printer::function_specifier): Rename from pp_c_function_specifier. Adjust. @@ -7957,15 +7962,15 @@ * c-opts.c (c_common_handle_option): Do not handle Wformat here. * c-format.c (set_Wformat): Delete. (decode_format_attr): Replace OPT_Wformat with OPT_Wformat_. - (maybe_read_dollar_number): Likewise. - (avoid_dollar_number): Likewise. - (finish_dollar_format_checking): Likewise. - (check_format_info): Likewise. - (check_format_info_main): Likewise. - (check_format_types): Likewise. - (format_type_warning): Likewise. - * c-common.c (int): Likewise. - (check_function_sentinel): Likewise. + (maybe_read_dollar_number): Likewise. + (avoid_dollar_number): Likewise. + (finish_dollar_format_checking): Likewise. + (check_format_info): Likewise. + (check_format_info_main): Likewise. + (check_format_types): Likewise. + (format_type_warning): Likewise. + * c-common.c (int): Likewise. + (check_function_sentinel): Likewise. * c-common.h (warn_format,set_Wformat): Do not declare here. 2012-11-07 Manuel López-Ibáñez @@ -8313,7 +8318,7 @@ 2012-05-16 Dodji Seketeli PR preprocessor/7263 - * c-lex.c (c_lex_with_flags): Pass a virtual location to the call + * c-lex.c (c_lex_with_flags): Pass a virtual location to the call to cpp_classify_number. For diagnostics, use the precise location instead of the global input_location. @@ -8389,7 +8394,7 @@ 2012-04-30 Dodji Seketeli Add -Wvarargs option - * c.opt (Wvarargs): Define new option. + * c.opt (Wvarargs): Define new option. 2012-04-30 Manuel López-Ibáñez @@ -8589,7 +8594,7 @@ 2011-11-08 Richard Guenther PR middle-end/51010 - c-family/ + * c-pretty-print.c (pp_c_expression): Handle SSA_NAMEs. 2011-11-07 Richard Henderson Aldy Hernandez @@ -9525,7 +9530,7 @@ first_target_format_type: New variable. (handle_format_attribute): Set up first_target_format_type, pass the expected format arg string type to check_format_string(). - * c-common.h (FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL): New flag. + * c-common.h (FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL): New flag. * stub-objc.c (objc_string_ref_type_p): New. (objc_check_format_arg): New. @@ -9670,7 +9675,7 @@ Merge from 'apple/trunk' branch on FSF servers. - 2006-03-27 Fariborz Jahanian + 2006-03-27 Fariborz Jahanian Radar 4133425 * c-common.h (objc_diagnose_private_ivar): New decl. @@ -9712,7 +9717,7 @@ 2010-10-13 Iain Sandoe merge from FSF apple 'trunk' branch. - 2006-04-26 Fariborz Jahanian + 2006-04-26 Fariborz Jahanian Radar 3803157 (method attributes) * c-common.c (handle_deprecated_attribute): Recognize Index: c/ChangeLog =================================================================== --- c/ChangeLog (revision 274249) +++ c/ChangeLog (revision 274250) @@ -76,7 +76,7 @@ * c-decl.c (finish_function): Check targetm.warn_func_return before issuing a -Wreturn-type warning. -2019-07-12 Alexandre Oliva +2019-07-12 Alexandre Oliva * gimple-parser.c (c_parser_gimple_try_stmt): New. (c_parser_compound_statement): Call it. @@ -118,6 +118,12 @@ _Literal (char *) &"foo" for address literals pointing to STRING_CSTs. +2019-06-25 Jozef Lawrynowicz + + * c-parser.c (c_parse_init): Create keyword for "__intN__" type. + * c-decl.c (declspecs_add_type): Don't pedwarn about "__intN" ISO + C incompatibility if alternate "__intN__" form is used. + 2019-06-24 Martin Sebor * c-typeck.c (build_binary_op): Hyphenate floating-point. @@ -166,17 +172,17 @@ 2019-05-16 Martin Sebor - * c-decl.c (start_decl): Quote keywords, operators, and - types in diagnostics. - (finish_decl): Same. - * c-parser.c (c_parser_asm_statement): Same. - (c_parser_conditional_expression): Same. - (c_parser_transaction_cancel): Same. - * c-typeck.c (c_common_type): Same. - (build_conditional_expr): Same. - (digest_init): Same. - (process_init_element): Same. - (build_binary_op): Same. + * c-decl.c (start_decl): Quote keywords, operators, and + types in diagnostics. + (finish_decl): Same. + * c-parser.c (c_parser_asm_statement): Same. + (c_parser_conditional_expression): Same. + (c_parser_transaction_cancel): Same. + * c-typeck.c (c_common_type): Same. + (build_conditional_expr): Same. + (digest_init): Same. + (process_init_element): Same. + (build_binary_op): Same. 2019-05-17 Richard Biener @@ -335,7 +341,7 @@ (c_parser_oacc_simple_clause): Replace parser with loc formal parameter. Adjust all users. -2019-02-19 Chung-Lin Tang +2019-02-19 Chung-Lin Tang PR c/87924 * c-parser.c (c_parser_oacc_clause_wait): Add representation of wait @@ -715,7 +721,7 @@ PR c/87347 * c-parser.c (warn_for_abs): Bail out if TYPE_ARG_TYPES is NULL. Fix - comment. + comment. 2018-09-17 David Malcolm @@ -807,7 +813,7 @@ (build_binary_op): Use it when calling binary_op_error. 2018-08-15 Prathamesh Kulkarni - + * c-decl.c (start_decl): Do not warn if variables is named as main and is a local variable. @@ -848,8 +854,8 @@ type here, instead add "omp declare target implicit" attribute. (finish_decl): Diagnose vars without mappable type here. -2018-06-20 Chung-Lin Tang - Thomas Schwinge +2018-06-20 Chung-Lin Tang + Thomas Schwinge Cesar Philippidis * c-parser.c (c_parser_omp_clause_name): Add support for finalize @@ -1092,7 +1098,7 @@ PR c/82679 * c-decl.c (grokdeclarator): Check declspecs insted of atomicp. -2017-12-12 Alexandre Oliva +2017-12-12 Alexandre Oliva * c-objc-common.h (LANG_HOOKS_EMITS_BEGIN_STMT): Redefine as true. * c-parser.c (add_debug_begin_stmt): New. @@ -1204,7 +1210,7 @@ * c-typeck.c (c_start_case): Build SWITCH_EXPR using build2 instead of build3. -2017-11-14 Boris Kolpackov +2017-11-14 Boris Kolpackov * Make-lang.in (c.install-plugin): Install backend import library. @@ -1612,7 +1618,7 @@ PR c/81417 * c-array-notation.c (fix_builtin_array_notation_fn): Update calls to - build_conditional_expr. + build_conditional_expr. * c-parser.c (c_parser_conditional_expression): Create locations for EXP1 and EXP2 from their source ranges. Pass the locations down to build_conditional_expr. @@ -1640,7 +1646,7 @@ * c-warn.c (warn_for_multistatement_macros): Prevent bogus warnings. Avoid walking MACRO_MAP_LOCATIONS. -2017-07-31 Jan Hubicka +2017-07-31 Jan Hubicka Martin Liska * c-typeck.c (c_finish_goto_label): Build gimple predict @@ -1836,7 +1842,7 @@ * c-convert.c (convert): Replace c_save_expr with save_expr. Don't call c_fully_fold. (convert) : Remove special handling of COMPLEX_TYPEs. - * c-decl.c (grokdeclarator): Replace c_save_expr with save_expr. + * c-decl.c (grokdeclarator): Replace c_save_expr with save_expr. * c-fold.c (c_fully_fold_internal): Handle SAVE_EXPR. * c-parser.c (c_parser_declaration_or_fndef): Replace c_save_expr with save_expr. @@ -2068,7 +2074,7 @@ set_c_expr_source_range when parsing ssa-name. 2017-02-10 Prasad Ghangal - Richard Biener + Richard Biener * gimple-parser.c (c_parser_gimple_binary_expression): Avoid building IL when arguments are error_mark_node. @@ -3513,7 +3519,6 @@ Julian Brown Nathan Sidwell - c/ * c-parser.c (c_parser_declaration_or_fndef): Add OpenACC routine arg. (c_parser_declaration_or_fndef): Call c_finish_oacc_routine. @@ -4935,7 +4940,7 @@ PR c/49706 * c-typeck.c (parser_build_binary_op): Warn when logical not is used - on the left hand side operand of a comparison. + on the left hand side operand of a comparison. 2014-06-05 Marek Polacek @@ -5753,7 +5758,7 @@ (build_cilk_spawn): New function. (build_cilk_sync): Likewise. * Makefile.in (c-decl.o): Added cilk.h in dependency list. - + 2013-10-27 Tobias Burnus PR other/33426 @@ -6038,7 +6043,7 @@ * c-array-notation.c (expand_array_notation_exprs): Added ARRAY_NOTATION_REF case. - + 2013-06-07 Balaji V. Iyer * c-array-notation.c (length_mismatch_in_expr_p): Moved this @@ -6054,7 +6059,7 @@ (replace_invariant_exprs): Initialized additional_tcodes to NULL. (struct inv_list): Moved this to c-family/array-notation-common.c. * c-tree.h (is_cilkplus_builtin_reduce): Remove prototype. - + 2013-06-05 Balaji V. Iyer * c-typeck.c (convert_arguments): Moved checking of builtin cilkplus @@ -6073,7 +6078,7 @@ to the end of function parsing. * c-array-notation.c (fix_conditional_array_notations_1): Expanded the whole if-statement instead of just the condition. - (expand_array_notation_exprs): Added MODIFY_EXPR case. + (expand_array_notation_exprs): Added MODIFY_EXPR case. 2013-06-03 Balaji V. Iyer @@ -6081,7 +6086,7 @@ * c-array-notation.c (build_array_notation_expr): Initialized rhs_length array to NULL_TREE if they are unused. Also added a check for the field to be NULL before its fields are used in future. - + 2013-05-29 Rainer Orth PR bootstrap/57450 @@ -6129,7 +6134,7 @@ (c_parser_array_notation): New function. * c-array-notation.c: New file. * c-tree.h (is_cilkplus_reduce_builtin): Protoize. - + 2013-05-23 Mike Stump * c-typeck.c (convert_for_assignment): Handle references to memory Index: d/ChangeLog =================================================================== --- d/ChangeLog (revision 274249) +++ d/ChangeLog (revision 274250) @@ -40,18 +40,18 @@ 2019-05-16 Martin Sebor - * d-builtins.cc (d_init_builtins): Quote keywords, operators, - and types in diagnostics. - * d-codegen.cc (get_array_length): Same. Replace can't with cannot. - * d-convert.cc (convert_expr): Same. - * d-frontend.cc (getTypeInfoType): Quote an option name in - a diagnostic. - * d-lang.cc (d_handle_option): Same. - (d_parse_file): Same. - * decl.cc: Remove a trailing period from a diagnostic. - * expr.cc: Use a directive for an apostrophe. - * toir.cc: Quote keywords, operators, and types in diagnostics. - * typeinfo.cc (build_typeinfo): Quote an option name in a diagnostic. + * d-builtins.cc (d_init_builtins): Quote keywords, operators, + and types in diagnostics. + * d-codegen.cc (get_array_length): Same. Replace can't with cannot. + * d-convert.cc (convert_expr): Same. + * d-frontend.cc (getTypeInfoType): Quote an option name in + a diagnostic. + * d-lang.cc (d_handle_option): Same. + (d_parse_file): Same. + * decl.cc: Remove a trailing period from a diagnostic. + * expr.cc: Use a directive for an apostrophe. + * toir.cc: Quote keywords, operators, and types in diagnostics. + * typeinfo.cc (build_typeinfo): Quote an option name in a diagnostic. 2019-04-25 Johannes Pfau Index: jit/ChangeLog =================================================================== --- jit/ChangeLog (revision 274249) +++ jit/ChangeLog (revision 274250) @@ -1,4 +1,4 @@ -2019-07-22 Andrea Corallo +2019-07-22 Andrea Corallo * jit-recording.c (unary_op_reproducer_strings): Make it extern. (binary_op_reproducer_strings): Likewise. @@ -8,12 +8,12 @@ numeric type. * libgccjit.c (gcc_jit_context_new_binary_op): Improve error message. -2019-07-04 Andrea Corallo +2019-07-04 Andrea Corallo * libgccjit.c (gcc_jit_context_new_binary_op): Check result_type to be a numeric type. -2019-07-04 Andrea Corallo +2019-07-04 Andrea Corallo * docs/topics/compatibility.rst (LIBGCCJIT_ABI_12): New ABI tag. * docs/topics/types.rst: Add gcc_jit_context_new_bitfield. @@ -50,7 +50,7 @@ * jit-recording.c (reproducer::m_set_identifiers): Use false as Lazy in hash_set template param. -2019-02-05 Andrea Corallo +2019-02-05 Andrea Corallo * docs/topics/compatibility.rst (LIBGCCJIT_ABI_11): New ABI tag. * docs/topics/contexts.rst (Additional driver options): New Index: objc/ChangeLog =================================================================== --- objc/ChangeLog (revision 274249) +++ objc/ChangeLog (revision 274250) @@ -5,23 +5,23 @@ 2019-05-18 Iain Sandoe - * objc/objc-act.h (OCTI_INSTANCE_TYPE, OCTI_INSTANCETYPE_NAME): New. + * objc-act.h (OCTI_INSTANCE_TYPE, OCTI_INSTANCETYPE_NAME): New. (objc_global_trees): Add instance type and name. (INSTANCE_TYPEDEF_NAME): New. - * objc/objc-act.c (synth_module_prologue): Build decls for + * objc-act.c (synth_module_prologue): Build decls for objc_instancetype_type and objc_instancetype_name. 2019-05-16 Martin Sebor - * objc-act.c (objc_begin_catch_clause): Quote keywords and options - in diagnostics. - (objc_build_throw_stmt): Same. - (objc_finish_message_expr): Same. - (get_super_receiver): Same. - * objc-next-runtime-abi-01.c (objc_next_runtime_abi_01_init): Spell - out "less than" in English./ - * objc-next-runtime-abi-02.c (objc_next_runtime_abi_02_init): Spell - out "greater" in English. + * objc-act.c (objc_begin_catch_clause): Quote keywords and options + in diagnostics. + (objc_build_throw_stmt): Same. + (objc_finish_message_expr): Same. + (get_super_receiver): Same. + * objc-next-runtime-abi-01.c (objc_next_runtime_abi_01_init): Spell + out "less than" in English./ + * objc-next-runtime-abi-02.c (objc_next_runtime_abi_02_init): Spell + out "greater" in English. 2019-05-10 Jakub Jelinek @@ -422,7 +422,7 @@ 2013-11-22 Andrew MacLeod - * objc/objc-act.c: Add required include files from gimple.h. + * objc-act.c: Add required include files from gimple.h. 2013-11-18 Richard Sandiford @@ -535,7 +535,7 @@ Include c-family/c-target.h. (handle_next_class_ref): Rewrite to emit top-level asm statements. (handle_next_impent): Likewise. - * objc/Make-lang.in: Fix dependencies for objc-next-runtime-abi-01.o. + * Make-lang.in: Fix dependencies for objc-next-runtime-abi-01.o. 2012-05-31 Steven Bosscher @@ -1199,7 +1199,7 @@ 2010-12-18 Iain Sandoe - * objc/objc-act.c (objc_eh_personality): Select personality name on + * objc-act.c (objc_eh_personality): Select personality name on runtime. (objc_init_exceptions): New. (objc_begin_try_stmt): Use objc_init_exceptions. @@ -1773,7 +1773,7 @@ Based on the CFString implementation in FSF apple/trunk branch. - * objc/objc-act.c (objc_build_string_object): Handle CFStrings. + * objc-act.c (objc_build_string_object): Handle CFStrings. 2010-10-21 Nicola Pero @@ -1825,10 +1825,10 @@ to gcc_alloc_xxx calls in hash_init and hash_class_name_enter to get it to compile in the current trunk. - 2006-01-27 Fariborz Jahanian + 2006-01-27 Fariborz Jahanian Radar 4345837 - * objc/objc-act.c (hash_class_name_enter): New. + * objc-act.c (hash_class_name_enter): New. (hash_class_name_lookup): New. (objc_declare_alias): Enter alias name into hash table. (objc_declare_class): Enter class name into hash table. @@ -1867,7 +1867,7 @@ 2006-03-10 Fariborz Jahanian Radar 4407151 - * objc/objc-act.c (objc_is_class_name): template parameter is not + * objc-act.c (objc_is_class_name): template parameter is not an objective class name. (objc_generate_cxx_cdtors): Check for the null objc_implementation_context. @@ -1879,7 +1879,7 @@ 2005-11-08 Fariborz Jahanian Radar 4330422 - * objc/objc-act.c (objc_non_volatilized_type): New + * objc-act.c (objc_non_volatilized_type): New 2005-10-07 Fariborz Jahanian @@ -1895,7 +1895,7 @@ Merge from 'apple/trunk' branch on FSF servers. - 2006-03-27 Fariborz Jahanian + 2006-03-27 Fariborz Jahanian Radar 4133425 * objc-act.c (objc_diagnose_private_ivar): New. @@ -1966,10 +1966,10 @@ merge from FSF apple 'trunk' branch. - 2006-04-26 Fariborz Jahanian + 2006-04-26 Fariborz Jahanian Radar 3803157 (method attributes) - * objc/objc-act.h (METHOD_TYPE_ATTRIBUTES): New macro. - * objc/objc-act.c (objc_decl_method_attributes): New. + * objc-act.h (METHOD_TYPE_ATTRIBUTES): New macro. + * objc-act.c (objc_decl_method_attributes): New. (objc_add_method_declaration): Process method's attribute. (objc_start_method_definition): Ditto. (build_objc_method_call): Inject method attribute into @@ -1997,7 +1997,7 @@ 2010-10-07 Iain Sandoe - * objc-act.c (objc_build_message_expr): Call mark_exp_read () to + * objc-act.c (objc_build_message_expr): Call mark_exp_read () to signal that the receiver has been used. 2010-10-06 Nicola Pero @@ -2024,7 +2024,7 @@ Merge from 'apple/trunk' branch on FSF servers. - 2006-04-12 Fariborz Jahanian + 2006-04-12 Fariborz Jahanian Radar 4507230 * objc-act.c (objc_type_valid_for_messaging): New routine to check @@ -2052,14 +2052,14 @@ 2006-01-30 Fariborz Jahanian Radar 4386773 - * objc/objc-act.c (objc_set_method_opt): New function. + * objc-act.c (objc_set_method_opt): New function. (objc_start_protocol, objc_finish_interface): Reset objc_method_optional_flag flag. (objc_add_method_declaration): Pass on the new flag to objc_add_method. (objc_add_method): Add optional methods to new chain in the protocol class. - * objc/objc-act.h (CLASS_OPTIONAL_CLS_METHODS) + * objc-act.h (CLASS_OPTIONAL_CLS_METHODS) (CLASS_OPTIONAL_NST_METHODS): New macros accessing a protocol class's optional method chains. @@ -2230,16 +2230,16 @@ Merge from 'apple/trunk' branch on FSF servers. - 2006-03-09 Fariborz Jahanian + 2006-03-09 Fariborz Jahanian Radar 4457381 - * objc/objc-act.c (objc_finish_message_expr): Look for message in + * objc-act.c (objc_finish_message_expr): Look for message in @class's protocol list. 2006-02-07 Fariborz Jahanian Radar 4219590 - * objc/objc-act.c (objc_start_method_definition): Initialize + * objc-act.c (objc_start_method_definition): Initialize break/continue labels. 2005-08-22 Ziemowit Laski @@ -2259,7 +2259,7 @@ 2010-09-10 Nicola Pero - * objc/objc-act.c (objc_begin_try_stmt): Generate an error if + * objc-act.c (objc_begin_try_stmt): Generate an error if -fobjc-exceptions was not used. (objc_build_throw_stmt): Same change. @@ -2293,7 +2293,7 @@ to be extracted within the routine. Do not start new vars, but finish the ones collcted during parsing. (generate_shared_structures): Likewise. - (finish_objc): Reorder code so that we finish variables before + (finish_objc): Reorder code so that we finish variables before referencing them. Save the global data before calling meta-data creation routines, and pass the current reference to the two main routines. Only call generate_objc_image_info () for the @@ -2471,7 +2471,7 @@ (objc_build_exc_ptr): Use __builtin_eh_pointer. 2009-09-13 Richard Guenther - Rafael Avila de Espindola + Rafael Avila de Espindola * objc-act.c (objc_eh_runtime_type): Export. (objc_init_exceptions): Remove. Move warning code ... @@ -2652,8 +2652,8 @@ 2009-04-21 Taras Glek - * objc-act.c: Update GTY annotations to new syntax - * objc-act.h: Likewise + * objc-act.c: Update GTY annotations to new syntax. + * objc-act.h: Likewise. 2009-04-21 Joseph Myers @@ -2728,7 +2728,7 @@ 2008-09-17 Jan Hubicka PR c++/18071 - * objc/objc-act.c (objc_finish_method_definition): Do not set + * objc-act.c (objc_finish_method_definition): Do not set DECL_INLINE. 2008-09-01 Aldy Hernandez @@ -2866,7 +2866,7 @@ 2007-04-04 Stuart Hastings PR 31281 - * objc/objc-act.c (next_sjlj_build_catch_list): Delete volatile from rethrow decl. + * objc-act.c (next_sjlj_build_catch_list): Delete volatile from rethrow decl. 2007-03-01 Brooks Moses @@ -2874,7 +2874,7 @@ 2007-02-18 Kazu Hirata - * objc/objc-act.c: Fix comment typos. + * objc-act.c: Fix comment typos. 2007-02-15 Sandra Loosemore Brooks Moses @@ -2908,7 +2908,7 @@ * objc-act.c (objc_finish_file): Remove ifdef clause for OBJCPLUS and content where we called cp_finish_file. -2006-10-23 Rafael Ávila de Espíndola +2006-10-23 Rafael Ávila de Espíndola * objc-act.c (synth_module_prologue): Replace calls to builtin_function with add_builtin_function. @@ -2955,7 +2955,7 @@ PR objc/27240 * objc-act.c (objc_is_public): Return early on invalid type. -2006-03-02 Fariborz Jahanian +2006-03-02 Fariborz Jahanian * objc-act.c (init_module_descriptor): Remove file name from module descriptor. @@ -2963,15 +2963,15 @@ 2006-02-20 Rafael Ávila de Espíndola - * Make-lang.in (OBJC): Remove - (OBJECTIVE-C): Remove - (objective-c): Remove - (.PHONY): Remove objective-c and ObjC + * Make-lang.in (OBJC): Remove. + (OBJECTIVE-C): Remove. + (objective-c): Remove. + (.PHONY): Remove objective-c and ObjC. 2005-12-14 Andrew Pinski PR objc/25360 - * objc/objc-act.c (encode_type): Encode Complex types as 'j' followed + * objc-act.c (encode_type): Encode Complex types as 'j' followed by the inner type. 2005-12-12 Andrew Pinski @@ -3322,7 +3322,7 @@ 2005-02-25 Joseph S. Myers * Make-lang.in (objc/objc-parse.o-warn, objc/objc-parse.o, - objc/objc-parse.c, objc/objc-parse.y): Remove + objc/objc-parse.c, objc/objc-parse.y): Remove. (OBJC_OBJS, objc.srcextra, objc.tags, objc.mostlyclean, objc.distclean, objc.maintainer-clean): Update for new parser. * config-lang.in (gtfiles): Update for new parser. Index: ChangeLog =================================================================== --- ChangeLog (revision 274249) +++ ChangeLog (revision 274250) @@ -11,7 +11,7 @@ 2019-08-09 Richard Earnshaw - *config/arm/arm.md (addsi3_compare_op1): Add 16-bit thumb-2 variants. + * config/arm/arm.md (addsi3_compare_op1): Add 16-bit thumb-2 variants. (addsi3_compare_op2): Likewise. 2019-08-09 Martin Liska @@ -54,7 +54,7 @@ (gimple_ic_transform): Likewise. (gimple_stringops_transform): Likewise. -2019-08-08 Mihailo Stojanovic +2019-08-08 Mihailo Stojanovic * doc/extend.texi: Add const qualifier to ld intrinsics. @@ -326,7 +326,7 @@ 2019-08-07 Kito Cheng - * gcc/config/riscv/multilib-generator: (canonical_order): Add 'g'. + * config/riscv/multilib-generator: (canonical_order): Add 'g'. (arch_canonicalize): Support rv32g and rv64g and fix error handling. @@ -363,7 +363,7 @@ 2019-08-06 Kito Cheng - * gcc/config/riscv/multilib-generator: (canonical_order): New. + * config/riscv/multilib-generator: (canonical_order): New. (arch_canonicalize): Dito. Apply arch_canonicalize for alts. @@ -656,9 +656,9 @@ of reduction stmts. 2019-07-31 Matt Thomas - Nick Hudson - Matthew Green - Maya Rashish + Nick Hudson + Matthew Green + Maya Rashish * config.gcc (hppa*-*-netbsd*): New target. * config/pa/pa-netbsd.h: New file. @@ -1045,7 +1045,7 @@ 2019-07-28 Alan Modra - * gcc/config/rs6000/rs6000-call.c (rs6000_output_mi_thunk): Use + * config/rs6000/rs6000-call.c (rs6000_output_mi_thunk): Use gen_sibcall. 2019-07-28 Alan Modra @@ -1326,7 +1326,7 @@ 2019-07-24 Giuliano Belinassi - * cgraphunit.c (symbol_table::compile): Start and stop + * cgraphunit.c (symbol_table::compile): Start and stop TV_CGRAPH_IPA_PASSES and TV_CGRAPH_FUNC_EXPANSION timers. * timevar.def (TV_CGRAPH_IPA_PASSES, TV_CGRAPH_FUNC_EXPANSION): New. @@ -1468,11 +1468,11 @@ arch case. * config/i386/darwin32-biarch.h: New. * config/i386/darwin64.h: Rename. - * gcc/config/i386/darwin64-biarch.h: To this. + * config/i386/darwin64-biarch.h: To this. * config/i386/t-darwin: Rename. - * gcc/config/i386/t-darwin32-biarch: To this. + * config/i386/t-darwin32-biarch: To this. * config/i386/t-darwin64: Rename. - * gcc/config/i386/t-darwin64-biarch: To this. + * config/i386/t-darwin64-biarch: To this. * config/rs6000/darwin32-biarch.h: New. * config/rs6000/darwin64.h: Rename. * config/rs6000/darwin64-biarch.h: To this. @@ -1487,12 +1487,12 @@ * configure.ac (ACX_PROG_CXX_WARNING_OPTS): Revert r273311. -2019-07-23 Vladislav Ivanishin +2019-07-23 Vladislav Ivanishin * gdbinit.in (reload-gdbhooks): New command with an attached doc string. (rh): New alias for it. -2019-07-23 Vladislav Ivanishin +2019-07-23 Vladislav Ivanishin * gdbhooks.py: Pass replace=True to gdb.printing.register_pretty_printer. @@ -1679,7 +1679,7 @@ PR target/90363 * config/or1k/or1k.md (zero_extendsi2): Update predicate. (extendsi2): Update predicate. - * gcc/config/or1k/predicates.md (volatile_mem_operand): New. + * config/or1k/predicates.md (volatile_mem_operand): New. (reg_or_mem_operand): New. 2019-07-21 Iain Sandoe @@ -2016,17 +2016,16 @@ 2019-07-18 Sylvia Taylor - PR target/90317 - * config/arm/arm_neon.h - (vsha1h_u32): Refactor. - (vsha1cq_u32): Likewise. - (vsha1pq_u32): Likewise. - (vsha1mq_u32): Likewise. - * config/arm/crypto.md: - (crypto_sha1h): Remove zero extend, correct vec select. - (crypto_sha1c): Correct vec select. - (crypto_sha1m): Likewise. - (crypto_sha1p): Likewise. + PR target/90317 + * config/arm/arm_neon.h (vsha1h_u32): Refactor. + (vsha1cq_u32): Likewise. + (vsha1pq_u32): Likewise. + (vsha1mq_u32): Likewise. + * config/arm/crypto.md (crypto_sha1h): Remove zero extend, correct + vec select. + (crypto_sha1c): Correct vec select. + (crypto_sha1m): Likewise. + (crypto_sha1p): Likewise. 2019-07-18 Richard Earnshaw @@ -2071,7 +2070,7 @@ * tree-ssa-sccvn.c (vn_walk_cb_data::push_partial_def): Refactor branches to make code less indented. -2019-07-17 Alexandre Oliva +2019-07-17 Alexandre Oliva PR middle-end/81824 * attribs.c (decls_mismatched_attributes): Simplify the logic @@ -2085,7 +2084,7 @@ (pa_reloc_rw_mask): Return 3 when generating PIC code and when generating code for SOM targets earlier than HP-UX 11. Otherwise, return 2 for SOM and 0 for other targets. - + 2019-07-17 Jeff Law * tree-ssa-dse.c (initialize_ao_ref_for_dse): Fix formatting. @@ -2327,7 +2326,7 @@ (*test_1): Use nonmemory_szext_operand mode attribute instead of genera_operand mode attribute. -2019-07-14 Vladislav Ivanishin +2019-07-14 Vladislav Ivanishin * gdbhooks.py (DumpFn.invoke): Add explicit casts of return values of fopen and fclose to their respective types. @@ -2433,7 +2432,7 @@ * tree-vect-slp.c (vect_build_slp_tree_2): Fix reduction chain check. -2019-07-12 Alexandre Oliva +2019-07-12 Alexandre Oliva * tree-eh.c (honor_protect_cleanup_actions): Use outer_ rather than this_state as the lowering context for the ELSE @@ -2503,7 +2502,7 @@ 2019-07-12 Kewen Lin - * gcc/cfgrtl.c (print_rtl_with_bb): Emit a hint if the + * cfgrtl.c (print_rtl_with_bb): Emit a hint if the fallthrough target of current basic block isn't the placed right next. @@ -4453,18 +4452,11 @@ * config/s390/subst.md: Remove addr_style_op and masked_op substs. * config/s390/vector.md: Use new predicate. -2019-07-08 Joern Rennecke - - Avoid clash with system header declaration. - * testsuite/gcc.dg/vect/slp-reduc-sad.c (uint32_t): - Remove unused declaration. - 2019-07-08 Andrew Waterman Jim Wilson * config/riscv/riscv.md (lshrsi3_zero_extend_3+1): Use operands[1] bitsize instead of BITS_PER_WORD. - gcc/testsuite/ 2019-07-08 Martin Liska @@ -4593,7 +4585,7 @@ * config/arm/sync.md (@atomic_compare_and_swap_1): Use instead of (implicitly) . - (@atomic_compare_and_swap_1): Likewise + (@atomic_compare_and_swap_1): Likewise. . Use and . @@ -4724,7 +4716,7 @@ Support __builtin_expect_with_probability for analysis of # of loop iterations. -2019-07-04 Alexandre Oliva +2019-07-04 Alexandre Oliva * doc/generic.texi (Cleanups): Document EH_ELSE_EXPR. * except.c: Likewise. @@ -4892,7 +4884,6 @@ (output_addr_table): Add DWARF5 table header generation here after checking there are actually any addresses from... (dwarf2out_finish): ...here. - * testsuite/g++.dg/pr90981.C: New test. 2019-07-03 Richard Biener @@ -5092,12 +5083,6 @@ conditional lastprivate clause(s), emit GOMP_loop_end_nowait call at the end. -2019-07-02 Joern Rennecke - - PR testsuite/91065 - * testsuite/gcc.dg/plugin/start_unit_plugin.c: Register a root tab - to reference fake_var. - 2019-07-02 qing zhao PR preprocessor/90581 @@ -5171,7 +5156,7 @@ nonoverlapping_component_refs_since_match_p_may_alias, nonoverlapping_component_refs_since_match_p_no_alias. (dump_alias_stats): Update dumping. - (aliasing_matching_component_refs_p): Break out from ...; + (aliasing_matching_component_refs_p): Break out from ...; dispatch to nonoverlapping_component_refs_for_decl_p and nonoverlapping_component_refs_since_match_p. (aliasing_component_refs_p): ... here; call @@ -5211,7 +5196,6 @@ PR middle-end/66726 * tree-ssa-phiopt.c (factor_out_conditional_conversion): Tune heuristic from PR71016 to allow MIN / MAX. - * testsuite/gcc.dg/tree-ssa/pr66726-4.c: New testcase. 2019-07-01 Segher Boessenkool @@ -5371,7 +5355,7 @@ argument. (free_page): Likewise. -2019-07-01 Vladislav Ivanishin +2019-07-01 Vladislav Ivanishin * gdbhooks.py (GdbPrettyPrinters.add_printer_for_types): Reorder parameter names to match usage (no functional change). @@ -5445,7 +5429,7 @@ 2019-06-28 Michael Meissner - * config/rs6000/predicates.md (pcrel_address): Use + * config/rs6000/predicates.md (pcrel_address): Use SYMBOL_REF_LOCAL_P to determine if a label is local. (pcrel_external_address): New predicate. (non_prefixed_mem_operand): Delete, predicate not used. @@ -5538,7 +5522,7 @@ * config/rs6000/rs6000.c (darwin_rs6000_override_options): Do not use longcall for 64b code. -2019-06-27 Aaron Sawdey +2019-06-27 Aaron Sawdey * builtins.c (get_memory_rtx): Fix comment. * optabs.def (movmem_optab): Change to cpymem_optab. @@ -5743,7 +5727,7 @@ * tree-ssa-sccvn.c (vn_reference_lookup_3): Encode valueized RHS. -2019-06-27 Jun Ma +2019-06-27 Jun Ma PR tree-optimization/89772 * gimple-fold.c (gimple_fold_builtin_memchr): consider trailing nuls in @@ -5765,7 +5749,7 @@ 2019-06-27 Kewen Lin PR target/62147 - * gcc/loop-iv.c (find_simple_exit): Call finite_loop_p to update + * loop-iv.c (find_simple_exit): Call finite_loop_p to update finiteness. 2019-06-26 Jeff Law @@ -6062,28 +6046,15 @@ 2019-06-25 Jozef Lawrynowicz - * gcc/c-family/c-common.c (c_common_nodes_and_builtins): Define - alternate "__intN__" name for "__intN" types. - * gcc/c/c-parser.c (c_parse_init): Create keyword for "__intN__" type. - * gcc/cp/lex.c (init_reswords): Likewise. - * gcc/config/msp430/msp430.h: Use __int20__ for SIZE_TYPE and + * config/msp430/msp430.h: Use __int20__ for SIZE_TYPE and PTRDIFF_TYPE. - * gcc/cp/cp-tree.h (cp_decl_specifier_seq): New bitfield "int_n_alt". - * gcc/c/c-decl.c (declspecs_add_type): Don't pedwarn about "__intN" ISO - C incompatibility if alternate "__intN__" form is used. - * gcc/cp/decl.c (grokdeclarator): Likewise. - * gcc/cp/parser.c (cp_parser_simple_type_specifier): Set - decl_specs->int_n_alt if "__intN__" form is used. - * gcc/gimple-ssa-sprintf.c (build_intmax_type_nodes): Accept "__intN__" + * gimple-ssa-sprintf.c (build_intmax_type_nodes): Accept "__intN__" format of "__intN" types for UINTMAX_TYPE. - * gcc/brig/brig-lang.c (brig_build_c_type_nodes): Accept "__intN__" - format of "__intN" types for SIZE_TYPE. - * gcc/lto/lto-lang.c (lto_build_c_type_nodes): Likewise. - * gcc/stor-layout.c (initialize_sizetypes): Accept "__intN__" + * stor-layout.c (initialize_sizetypes): Accept "__intN__" format of "__intN" types for SIZETYPE. - * gcc/tree.c (build_common_tree_nodes): Accept "__intN__" + * tree.c (build_common_tree_nodes): Accept "__intN__" format of "__intN" types for SIZE_TYPE and PTRDIFF_TYPE. - * gcc/doc/invoke.texi: Document that __intN__ disables pedantic + * doc/invoke.texi: Document that __intN__ disables pedantic warnings. 2019-06-25 Jan Hubicka @@ -6294,7 +6265,7 @@ (vectorizable_scan_store): Adjust caller, use whole vector left shift and additional VEC_COND_EXPR only for those iterations that need it. -2019-06-20 Alexandre Oliva +2019-06-20 Alexandre Oliva * config.gcc: Fix ARM --with-fpu checking and error message. @@ -7452,7 +7423,7 @@ (ATTR_MALLOC_WARN_UNUSED_RESULT_SIZE_1_NOTHROW_LEAF_LIST): New. (ATTR_ALLOCA_SIZE_1_NOTHROW_LEAF_LIST): Remove. (ATTR_ALLOCA_WARN_UNUSED_RESULT_SIZE_1_NOTHROW_LEAF_LIST): New. - (ATTR_MALLOC_SIZE_1_2_NOTHROW_LEAF_LIST): Remove. + (ATTR_MALLOC_SIZE_1_2_NOTHROW_LEAF_LIST): Remove. (ATTR_MALLOC_WARN_UNUSED_RESULT_SIZE_1_2_NOTHROW_LEAF_LIST): New. (ATTR_ALLOC_SIZE_2_NOTHROW_LEAF_LIST): Remove. @@ -8701,7 +8672,7 @@ (ix86_adjust_stack_and_probe): Ditto. (ix86_emit_probe_stack_range): Use gen_probe_stack_range instead of ix86_gen_probe_stack_range. - (ix86_expand_prologue): Use gen_pro_epilogue_adjust_stack_sub + (ix86_expand_prologue): Use gen_pro_epilogue_adjust_stack_sub instead of gen_pro_epilogue_adjust_stack_{si,di}_sub. * config/i386/x86-tune-sched.c (ix86_macro_fusion_pair_p): Include insn-opinit.h. Use code_for_stack_protect_test_1 instead of @@ -9070,12 +9041,6 @@ (rs6000_file_start): ..extracted from here, and modified to test all ISA bits. (rs6000_output_function_prologue): Emit .machine as necessary. - * testsuite/gcc.target/powerpc/ppc32-abi-dfp-1.c: Don't use - power mnemonics. - * testsuite/gcc.dg/vect/O3-pr70130.c: Disable default options - added by check_vect_support_and_set_flags. - * testsuite/gcc.dg/vect/pr48765.c: Likewise. - * testsuite/gfortran.dg/vect/pr45714-b.f: Likewise. 2019-05-22 Hans-Peter Nilsson @@ -9160,7 +9125,7 @@ * config/i386/i386.md (anddi_1 to andsi_1_zext splitter): Avoid calling gen_lowpart with CONST operand. -2019-05-21 Alexandre Oliva +2019-05-21 Alexandre Oliva * tree-ssa-threadupdate.c (struct ssa_local_info_t): Add field template_last_to_copy. @@ -9189,8 +9154,6 @@ PR target/90545 * config/rs6000/rs6000.c (rs6000_register_move_cost): Increase power9 direct move cost. - * testsuite/gcc.target/powerpc/fold-vec-splats-floatdouble.c: - Correct comments and rename functions to suit parameters. 2019-05-21 Richard Biener @@ -9211,8 +9174,8 @@ edges if for_edge_insertion_p is false. Fix whitespace. * tree-ssa-pre.c (pass_pre::execute): Call split_edges_for_insertion instead of split_critical_edges. - * gcc/tree-ssa-tail-merge.c (tail_merge_optimize): Ditto. - * gcc/tree-ssa-sink.c (pass_sink_code::execute): Ditto. + * tree-ssa-tail-merge.c (tail_merge_optimize): Ditto. + * tree-ssa-sink.c (pass_sink_code::execute): Ditto. (pass_data_sink_code): Update function name in the comment. 2019-05-21 Vladislav Ivanishin @@ -9766,7 +9729,7 @@ * lto-streamer.h (LTO_major_version): Bump to 9. -2019-05-16 Jun Ma +2019-05-16 Jun Ma PR tree-optimization/90106 * tree-call-cdce.c (shrink_wrap_one_built_in_call_with_conds): Add @@ -11630,7 +11593,7 @@ PR target/84369 * config/rs6000/power9.md: Add store forwarding bypass. -2019-04-16 Alexandre Oliva +2019-04-16 Alexandre Oliva PR debug/89528 * valtrack.c (dead_debug_insert_temp): Reset debug references @@ -12658,7 +12621,6 @@ 2019-03-27 Jeff Law - PR rtl-optimization/87761 PR rtl-optimization/89826 * regcprop.c (copyprop_hardreg_forward_1): Move may_trap_p test @@ -12775,7 +12737,7 @@ alignment in diagnostic. Avoid assuming argument fits in SHWI, convert it to UHWI when it fits. -2019-03-25 Johan Karlsson +2019-03-25 Johan Karlsson PR debug/86964 * dwarf2out.c (premark_used_variables): New function. @@ -13248,7 +13210,7 @@ (altivec_expand_vec_ext_builtin): Use modular arithmetic to compute index. -2019-03-15 Alexandre Oliva +2019-03-15 Alexandre Oliva PR c++/88534 PR c++/88537 @@ -13442,7 +13404,7 @@ (s390_sched_reorder): Likewise. (s390_sched_variable_issue): Rework and use new functions. (s390_sched_init): Use new functions. - * config/s390/s390.h (s390_tune_attr): Add z14. + * config/s390/s390.h (s390_tune_attr): Add z14. * config/s390/s390.md: Add z14. 2019-03-12 Robin Dapp @@ -14300,8 +14262,6 @@ (__builtin_has_attribute): Add missing comma after @xref. (__builtin_object_size): Ditto. * doc/md.texi (cond_*{mode}): Use @samp instead of @var around op1[i]. - * fortran/invoke.texi (-ffpe-trap): Use @var for every item - in the list. 2019-02-26 Jeff Law @@ -14359,7 +14319,7 @@ (_mm_cvttpd_epi32): Likewise. PR target/89338 - * config/rs6000/xmmintrin.h (_mm_cvtss_f32): Fix type mismatch. + * config/rs6000/xmmintrin.h (_mm_cvtss_f32): Fix type mismatch. (_mm_cvt_ss2si): Fix type mismatch and 32-bit. PR target/89339 @@ -14722,7 +14682,7 @@ (diagnostic_show_locus): Use linenum_arith_t when iterating over lines within each line_span. -2019-02-20 Andre Vieira +2019-02-20 Andre Vieira PR target/86487 * lra-constraints.c(uses_hard_regs_p): Fix handling of @@ -14731,7 +14691,7 @@ 2019-02-20 Li Jia He PR target/88100 - * gcc/config/rs6000/rs6000.c (rs6000_gimple_fold_builtin) + * config/rs6000/rs6000.c (rs6000_gimple_fold_builtin) : Don't convert the operand before range checking it. @@ -15057,8 +15017,7 @@ * config/i386/i386.c (ix86_function_arg_advance): Remove unrelated comment. (struct builtin_isa): Remove leaf_p and nothrow_p fields. - (def_builtin): Remove usage of dead - fields. + (def_builtin): Remove usage of dead fields. (ix86_add_new_builtins): Likewise. * ipa-fnsummary.c (compute_fn_summary): Likewise. * ipa-icf.c (sem_function::equals_wpa): Likewise. @@ -16146,7 +16105,7 @@ * doc/invoke.texi: Add -menqcmd. 2019-01-23 Bin Cheng - Steve Ellcey + Steve Ellcey PR target/85711 * recog.c (address_operand): Return false on wrong mode for address. @@ -17712,7 +17671,7 @@ * config/aarch64/aarch64.c (aarch64_expand_prologue): Use new epilogue/prologue scratch registers EP0_REGNUM and EP1_REGNUM. (aarch64_expand_epilogue): Likewise. - (aarch64_output_mi_thunk): Likewise + (aarch64_output_mi_thunk): Likewise. * config/aarch64/aarch64.h (REG_CLASS_CONTENTS): Change TAILCALL_ADDR_REGS to x16 and x17. * config/aarch64/aarch64.md: Define EP0_REGNUM and EP1_REGNUM. @@ -18002,7 +17961,7 @@ to propagate state. (nvptx_shared_propagate): Initialize vector bcast partition and synchronization state. - (nvptx_single): Generalize to enable vectors to use shared-memory + (nvptx_single): Generalize to enable vectors to use shared-memory to propagate state. (nvptx_process_pars): Likewise. (nvptx_set_current_function): Initialize oacc_broadcast_partition. @@ -18308,11 +18267,11 @@ (format_string): Set unlikely range appropriately. * gimple-fold.c (get_range_strlen): Update comments. Fix minor formatting issues. - (get_range_strlen): Accept c_strlen_data pointer for external + (get_range_strlen): Accept c_strlen_data pointer for external call sites as well. Pass through to call to internal get_range_strlen. Adjust minlen, maxlen and maxbound as needed. (get_maxval_strlen): Update comments. - (gimple_fold_builtin_strlen): Update call to get_range_strlen + (gimple_fold_builtin_strlen): Update call to get_range_strlen to use c_strlen_data pointer. Change variable accesses to instead use c_strlen_data data members. Index: testsuite/ChangeLog =================================================================== --- testsuite/ChangeLog (revision 274249) +++ testsuite/ChangeLog (revision 274250) @@ -9,7 +9,7 @@ * gcc.target/powerpc/vec_rotate-4.c: Rename to ... * gcc.target/powerpc/vec-rotate-4.c: ... this. -2019-08-09 Sam Tebbs +2019-08-09 Sam Tebbs * lib/target-supports.exp (check_effective_target_arm_v8_4a_bkey_directive): New proc. @@ -89,7 +89,7 @@ * c-c++-common/gomp/pr91401-1.c: New test. * c-c++-common/gomp/pr91401-2.c: New test. -2019-08-09 Alexandre Oliva +2019-08-09 Alexandre Oliva * gcc.target/i386/sse2-mul-1.c: Use rand. Drop fallback. * gcc.target/i386/sse4_1-blendps-2.c: Likewise. @@ -133,8 +133,8 @@ 2019-08-07 Steven G. Kargl PR fortran/91359 - * pr91359_2.f: Fix missing hyphen in dg-do - * pr91359_1.f: Ditto. Remove RESULT variable to test actual fix! + * pr91359_2.f: Fix missing hyphen in dg-do + * pr91359_1.f: Ditto. Remove RESULT variable to test actual fix! 2019-08-07 Marek Polacek @@ -191,7 +191,7 @@ * gcc.target/powerpc/vec_rotate-3.c: New test. * gcc.target/powerpc/vec_rotate-4.c: New test. -2019-08-07 Alexandre Oliva +2019-08-07 Alexandre Oliva * gcc.target/i386/math_m_pi.h: New. * gcc.target/i386/sse4_1-round.h: Use it. @@ -448,7 +448,7 @@ 2019-08-01 Wilco Dijkstra - * gcc/testsuite/g++.dg/lto/pr89330_0.C: Add effective-target shared. + * g++.dg/lto/pr89330_0.C: Add effective-target shared. 2019-08-01 Kito Cheng @@ -644,7 +644,7 @@ * gnat.dg/case_optimization3.ad[sb]: New test. -2019-07-25 Martin Liska Dominik Infuhr PR c++/23383 @@ -659,7 +659,7 @@ PR tree-optimization/91183 PR tree-optimization/86688 - * gcc/testsuite/c-c++-common/ubsan/object-size-9.c: Disable warnings. + * c-c++-common/ubsan/object-size-9.c: Disable warnings. * gcc.dg/Wstringop-overflow-14.c: New test. * gcc.dg/attr-nonstring-2.c: Remove xfails. * gcc.dg/strlenopt-70.c: New test. @@ -789,7 +789,7 @@ * gcc.target/msp430/isr-push-pop-leaf-isr-430.c: Likewise. * gcc.target/msp430/isr-push-pop-leaf-isr-430x.c: Likewise. -2019-07-22 Andrea Corallo +2019-07-22 Andrea Corallo * jit.dg/test-error-gcc_jit_context_new_unary_op-bad-res-type.c: New testcase. @@ -968,19 +968,19 @@ 2019-07-18 Sylvia Taylor - PR target/90317 - * gcc.target/arm/crypto-vsha1cq_u32.c (foo): Change return type to - uint32_t. - (GET_LANE, TEST_SHA1C_VEC_SELECT): New. - * gcc.target/arm/crypto-vsha1h_u32.c (foo): Change return type to - uint32_t. - (GET_LANE, TEST_SHA1H_VEC_SELECT): New. - * gcc.target/arm/crypto-vsha1mq_u32.c (foo): Change return type to - uint32_t. - (GET_LANE, TEST_SHA1M_VEC_SELECT): New. - * gcc.target/arm/crypto-vsha1pq_u32.c (foo): Change return type to - uint32_t. - (GET_LANE, TEST_SHA1P_VEC_SELECT): New. + PR target/90317 + * gcc.target/arm/crypto-vsha1cq_u32.c (foo): Change return type to + uint32_t. + (GET_LANE, TEST_SHA1C_VEC_SELECT): New. + * gcc.target/arm/crypto-vsha1h_u32.c (foo): Change return type to + uint32_t. + (GET_LANE, TEST_SHA1H_VEC_SELECT): New. + * gcc.target/arm/crypto-vsha1mq_u32.c (foo): Change return type to + uint32_t. + (GET_LANE, TEST_SHA1M_VEC_SELECT): New. + * gcc.target/arm/crypto-vsha1pq_u32.c (foo): Change return type to + uint32_t. + (GET_LANE, TEST_SHA1P_VEC_SELECT): New. 2019-07-18 Jan Hubicka @@ -997,7 +997,7 @@ * c-c++-common/pr53633-2.c: New test. -2019-07-17 Alexandre Oliva +2019-07-17 Alexandre Oliva PR middle-end/81824 * g++.dg/Wmissing-attributes-1.C: New. Some of its fragments @@ -1227,7 +1227,7 @@ PR tree-optimization/91145 * gcc.dg/torture/pr91145.c: New testcase. -2019-07-12 Alexandre Oliva +2019-07-12 Alexandre Oliva * gcc.dg/gimplefe-44.c: New. * gcc.dg/gimplefe-43.c: New. @@ -1477,6 +1477,11 @@ * gcc.target/s390/combine-shift-rotate-add-mod.c: New test. * gcc.target/s390/vector/combine-shift-vec.c: New test. +2019-07-08 Joern Rennecke + + Avoid clash with system header declaration. + * gcc.dg/vect/slp-reduc-sad.c (uint32_t): Remove unused declaration. + 2019-07-08 Richard Biener PR tree-optimization/91108 @@ -1619,7 +1624,7 @@ PR middle-end/78884 * gcc.dg/gomp/pr78884.c: New test. -2019-07-04 Andrea Corallo +2019-07-04 Andrea Corallo * jit.dg/test-error-gcc_jit_context_new_binary_op-bad-res-type.c: New testcase. @@ -1628,7 +1633,7 @@ * gcc.dg/tree-ssa/cunroll-15.c: Remove XFAIL on arm. -2019-07-04 Andrea Corallo +2019-07-04 Andrea Corallo * jit.dg/all-non-failing-tests.h: Add test-accessing-bitfield.c. * jit.dg/test-accessing-bitfield.c: New testcase. @@ -1735,6 +1740,11 @@ * gcc.dg/store_merging_29.c: Likewise. * gcc.dg/tree-ssa/dump-6.c: Likewise. +2019-07-03 Mark Wielaard + + PR debug/90981 + * g++.dg/pr90981.C: New test. + 2019-07-03 Richard Biener PR middle-end/91069 @@ -1823,6 +1833,12 @@ * g++.dg/tree-ssa/pr90883.c: Add -Os. Check dse2 for the deleted store on some targets. +2019-07-02 Joern Rennecke + + PR testsuite/91065 + * gcc.dg/plugin/start_unit_plugin.c: Register a root tab + to reference fake_var. + 2019-07-02 qing zhao PR preprocessor/90581 @@ -1843,6 +1859,11 @@ PR tree-optimization/58483 * gcc.dg/tree-ssa/ssa-dom-cse-8.c: New testcase. +2019-07-01 Joern Rennecke + + PR middle-end/66726 + * gcc.dg/tree-ssa/pr66726-4.c: New testcase. + 2019-07-01 Andreas Krebbel * gcc.target/s390/vector/vec-shift-2.c: New test. @@ -2661,7 +2682,7 @@ PR objc/90709 * obj-c++.dg/proto-lossage-7.mm: Use proxy headers. * obj-c++.dg/strings/const-cfstring-2.mm: Likewise. - * obj-c++.dg/strings/const-cfstring-5.mm: Likewise + * obj-c++.dg/strings/const-cfstring-5.mm: Likewise. * obj-c++.dg/strings/const-str-12.mm: Likewise. * obj-c++.dg/syntax-error-1.mm: Likewise. * obj-c++.dg/torture/strings/const-cfstring-1.mm: Likewise. @@ -3236,7 +3257,7 @@ * lib/scanasm.exp (dg-function-on-line): Add pattern for hppa*-*-linux*. -2019-06-07 Mark Eggleston +2019-06-07 Mark Eggleston PR fortran/89100 * gfortran.dg/fmt_f_default_field_width_3.f90: Modify dg-error @@ -3741,7 +3762,7 @@ 2019-05-28 Jeff Law - * testsuite/gcc.target/sh/pr50749-qihisi-predec-3.c: Disable + * gcc.target/sh/pr50749-qihisi-predec-3.c: Disable loop distribution. 2019-05-28 Segher Boessenkool @@ -3905,18 +3926,18 @@ * lib/target-supports.exp (check_effective_target_mfentry): New. * gcc.target/i386/fentry-override.c: Require effective target mfentry. - * gcc/testsuite/gcc.target/i386/fentry.c: Likewise - * gcc.target/i386/fentryname1.c: Likewise - * gcc.target/i386/fentryname2.c: Likewise - * gcc.target/i386/fentryname3.c: Likewise - * gcc.target/i386/nop-mcount.c: Likewise - * gcc.target/i386/pr82699-2.c: Likewise - * gcc.target/i386/pr82699-4.c: Likewise - * gcc.target/i386/pr82699-5.c: Likewise - * gcc.target/i386/pr82699-6.c: Likewise - * gcc.target/i386/returninst1.c: Likewise - * gcc.target/i386/returninst2.c: Likewise - * gcc.target/i386/returninst3.c : Likewise + * gcc.target/i386/fentry.c: Likewise. + * gcc.target/i386/fentryname1.c: Likewise. + * gcc.target/i386/fentryname2.c: Likewise. + * gcc.target/i386/fentryname3.c: Likewise. + * gcc.target/i386/nop-mcount.c: Likewise. + * gcc.target/i386/pr82699-2.c: Likewise. + * gcc.target/i386/pr82699-4.c: Likewise. + * gcc.target/i386/pr82699-5.c: Likewise. + * gcc.target/i386/pr82699-6.c: Likewise. + * gcc.target/i386/returninst1.c: Likewise. + * gcc.target/i386/returninst2.c: Likewise. + * gcc.target/i386/returninst3.c : Likewise. 2019-05-23 Bill Schmidt @@ -4078,6 +4099,15 @@ * gcc.dg/tree-ssa/ssa-lim-13.c: New testcase. +2019-05-22 Alan Modra + + * gcc.target/powerpc/ppc32-abi-dfp-1.c: Don't use + power mnemonics. + * gcc.dg/vect/O3-pr70130.c: Disable default options + added by check_vect_support_and_set_flags. + * gcc.dg/vect/pr48765.c: Likewise. + * gfortran.dg/vect/pr45714-b.f: Likewise. + 2019-05-22 Hans-Peter Nilsson PR middle-end/90553 @@ -4147,6 +4177,12 @@ * g++.dg/lookup/using53.C: Adjust diagnostic. +2019-05-21 Alan Modra + + PR target/90545 + * gcc.target/powerpc/fold-vec-splats-floatdouble.c: Correct comments + and rename functions to suit parameters. + 2019-05-21 Richard Biener PR middle-end/90510 @@ -4535,7 +4571,7 @@ * lib/target-supports.exp (check_effective_target_cet): Add the -fcf-protection flag to the build conditions. -2019-05-16 Jun Ma +2019-05-16 Jun Ma PR tree-optimization/90106 * gcc.dg/cdce1.c: Check tailcall code generation after cdce pass. @@ -4789,7 +4825,7 @@ param. 2019-05-14 Richard Biener - H.J. Lu + H.J. Lu PR tree-optimization/88828 * gcc.target/i386/pr88828-1.c: New test. @@ -5160,7 +5196,7 @@ systems. * gcc.dg/tsan/pr88017.c: Likewise. -2019-05-05 Thomas Koenig +2019-05-05 Thomas Koenig PR fortran/90344 * gfortran.dg/pr90344.f90: New test @@ -5252,7 +5288,7 @@ PR fortran/60144 * gfortran.dg/block_name_2.f90: Adjust dg-error. - * gfortran.dg/dec_type_print_3.f90.f90: Likewise + * gfortran.dg/dec_type_print_3.f90.f90: Likewise. * gfortran.dg/pr60144.f90: New test. 2019-05-01 Jeff Law @@ -5296,7 +5332,7 @@ 2019-04-23 Bin Cheng PR tree-optimization/90078 - * gcc/testsuite/g++.dg/tree-ssa/pr90078.C: New test. + * g++.dg/tree-ssa/pr90078.C: New test. 2019-04-29 Vladislav Ivanishin @@ -5568,7 +5604,7 @@ * g++.dg/lto/pr89358_0.C: Replace dg-* with dg-lto-*. -2019-04-16 Alexandre Oliva +2019-04-16 Alexandre Oliva PR debug/89528 * gcc.dg/guality/pr89528.c: New. @@ -5878,15 +5914,15 @@ PR c++/89878 PR c++/89833 PR c++/47488 - * gcc/testsuite/g++.dg/abi/mangle69.C: New test. - * gcc/testsuite/g++.dg/abi/mangle70.C: New test. - * gcc/testsuite/g++.dg/abi/mangle71.C: New test. - * gcc/testsuite/g++.dg/abi/mangle72.C: New test. - * gcc/testsuite/g++.dg/cpp0x/constexpr-array19.C: New test. - * gcc/testsuite/g++.dg/cpp2a/nontype-class15.C: New test. - * gcc/testsuite/g++.dg/cpp2a/nontype-class16.C: New test. - * gcc/testsuite/g++.dg/init/array51.C: New test. - * gcc/testsuite/g++.dg/template/nontype29.C: New test. + * g++.dg/abi/mangle69.C: New test. + * g++.dg/abi/mangle70.C: New test. + * g++.dg/abi/mangle71.C: New test. + * g++.dg/abi/mangle72.C: New test. + * g++.dg/cpp0x/constexpr-array19.C: New test. + * g++.dg/cpp2a/nontype-class15.C: New test. + * g++.dg/cpp2a/nontype-class16.C: New test. + * g++.dg/init/array51.C: New test. + * g++.dg/template/nontype29.C: New test. 2019-04-04 Martin Sebor @@ -6319,7 +6355,7 @@ PR c/89812 * gcc.dg/attr-aligned-3.c: New test. -2019-03-25 Johan Karlsson +2019-03-25 Johan Karlsson PR debug/86964 * gcc.dg/debug/dwarf2/pr86964.c: New testcase. @@ -6786,7 +6822,7 @@ * gcc.target/powerpc/vsx-builtin-9a.c: New test. * gcc.target/powerpc/vsx-builtin-9b.c: New test. -2019-03-15 Alexandre Oliva +2019-03-15 Alexandre Oliva PR c++/88534 PR c++/88537 @@ -7412,7 +7448,7 @@ 2018-03-04 Bin Cheng PR tree-optimization/89487 - * gcc/testsuite/gcc.dg/tree-ssa/pr89487.c: New test. + * gcc.dg/tree-ssa/pr89487.c: New test. 2019-03-03 Harald Anlauf @@ -7810,7 +7846,7 @@ * gcc.dg/pr69471-2.c: Likewise. * gcc.target/i386/pr69471-3.c: Likewise. -2019-02-23 Jerry DeLisle +2019-02-23 Jerry DeLisle PR fortran/84387 * gfortran.dg/dtio_34.f90: New test. @@ -7996,7 +8032,7 @@ * gcc.dg/vect/slp-reduc-sad.c: Update scan string. * gcc.dg/vect/vect-reduc-sad.c: Likewise. -2019-02-20 Andre Vieira +2019-02-20 Andre Vieira PR target/86487 * gcc.target/arm/pr86487.c: New. @@ -8009,7 +8045,7 @@ 2019-02-20 Li Jia He PR target/88100 - * gcc/testsuite/gcc.target/powerpc/pr88100.c: New testcase. + * gcc.target/powerpc/pr88100.c: New testcase. 2019-02-19 Wilco Dijkstra @@ -8293,7 +8329,7 @@ PR c++/89297 - ICE with OVERLOAD in template. * g++.dg/cpp0x/initlist113.C: New test. -2019-02-13 Alexandre Oliva +2019-02-13 Alexandre Oliva PR c++/86379 * g++.dg/cpp0x/pr86379.C: New. @@ -8568,7 +8604,7 @@ PR/target 88850 * gcc.target/arm/pr88850.c: New test. -2019-02-07 Alexandre Oliva +2019-02-07 Alexandre Oliva PR c++/86218 * g++.dg/cpp0x/pr86218.C: New. @@ -8696,7 +8732,7 @@ PR target/89186 * g++.dg/ext/vector36.C: New test. -2019-02-05 Alexandre Oliva +2019-02-05 Alexandre Oliva PR c++/87770 * g++.dg/pr87770.C: New. @@ -9329,7 +9365,7 @@ * gfortran.dg/pr77960.f90: New test. 2018-01-19 Thomas Koenig - Paul Thomas + Paul Thomas PR fortran/56789 * gfortran.dg/contiguous_3.f90: Make code compilant. Remove @@ -9671,7 +9707,7 @@ * gcc.target/powerpc/altivec_vld_vst_addr.c: New test. -2019-01-17 Alexandre Oliva +2019-01-17 Alexandre Oliva PR c++/87768 * g++.dg/concepts/pr87768.C: New. @@ -10197,8 +10233,8 @@ * g++.dg/diagnostic/thread1.C: Likewise. 2019-01-07 Thomas Koenig - Harald Anlauf - Tobias Burnus + Harald Anlauf + Tobias Burnus * gfortran.dg/is_contiguous_1.f90: New test. * gfortran.dg/is_contiguous_2.f90: New test. Index: objcp/ChangeLog =================================================================== --- objcp/ChangeLog (revision 274249) +++ objcp/ChangeLog (revision 274250) @@ -149,7 +149,7 @@ (objcp/objcp-act.o): Reordered dependencies. Added dependency on objc-encoding.h. (objcp/objc-encoding.o): New rule. - + 2011-04-15 Nicola Pero * objcp-decl.c (objcp_finish_struct): Use @@ -169,7 +169,7 @@ * config-lang.in (gtfiles): Added cp/parser.h and reorganized list so that it is more obvious that it is identical to the C++ one with the addition of some files at the end. - + 2011-03-06 Joseph Myers * lang-specs.h: Match -save-temps* instead of -save-temps. @@ -194,7 +194,7 @@ (LANG_HOOKS_EH_PERSONALITY): Removed. (LANG_HOOKS_EH_RUNTIME_TYPE): Removed. (objcp_eh_personality_decl): Removed. - + 2011-02-07 Mike Stump * Make-lang.in (obj-c++.tags): Don't include *.y. @@ -234,9 +234,9 @@ 2010-10-14 Iain Sandoe - merge from FSF apple 'trunk' branch. + merge from FSF apple 'trunk' branch. 2006 Fariborz Jahanian - + Radars 4436866, 4505126, 4506903, 4517826 * objcp-lang.c (objcxx_init_ts): Update for property_decl. @@ -268,7 +268,7 @@ 2010-09-21 Nicola Pero - PR objc/25965 + PR objc/25965 * objcp-decl.c (objcp_finish_struct): Call objc_get_interface_ivars() and check for duplicate ivars. @@ -402,13 +402,13 @@ 2008-02-07 Andreas Tobler Douglas Gregor - + PR bootstrap/35115 * objcp-decl.c (objcp_comptypes): Call cp_comptypes, not comptypes. 2008-02-07 Andreas Tobler Douglas Gregor - + PR bootstrap/35115 * objcp-decl.c (objcp_comptypes): Call cp_comptypes, not comptypes. @@ -429,7 +429,7 @@ * Make-lang.in: Add dummy lang.install-pdf target. -2006-10-23 Rafael Ávila de Espíndola +2006-10-23 Rafael Ávila de Espíndola * objcp-decl.h (objcp_builtin_function): Remove. @@ -533,7 +533,7 @@ Mike Stump Yet more Objective-C++... - + * Make-lang.in (objcp/objcp-lang.o): Add tree-gimple.h (objcp/objcp-decl.o): Likewise. (objcp/objcp-act.o): Likewise. Index: cp/ChangeLog =================================================================== --- cp/ChangeLog (revision 274249) +++ cp/ChangeLog (revision 274250) @@ -373,15 +373,14 @@ * cp-tree.h (cp_omp_emit_unmappable_type_notes): New prototype. * decl.c (cp_finish_decl): Call cp_omp_emit_unmappable_type_notes. * decl2.c (cp_omp_mappable_type): Move contents to ... - (cp_omp_mappable_type_1): ... here and add note output. + (cp_omp_mappable_type_1): ... here and add note output. (cp_omp_emit_unmappable_type_notes): New function. * semantics.c (finish_omp_clauses): Call cp_omp_emit_unmappable_type_notes in four places. 2019-07-03 Martin Liska - * call.c (build_new_op_1): Remove - dead assignemts. + * call.c (build_new_op_1): Remove dead assignemts. * typeck.c (cp_build_binary_op): Likewise. 2019-06-27 Jason Merrill @@ -423,6 +422,15 @@ * constexpr.c (cxx_eval_array_reference): Don't look through VCE from vector type if lval. +2019-06-25 Jozef Lawrynowicz + + * lex.c (init_reswords): Create keyword for "__intN__" type. + * cp-tree.h (cp_decl_specifier_seq): New bitfield "int_n_alt". + * decl.c (grokdeclarator): Don't pedwarn about "__intN" ISO + C incompatibility if alternate "__intN__" form is used. + * parser.c (cp_parser_simple_type_specifier): Set + decl_specs->int_n_alt if "__intN__" form is used. + 2019-06-24 Jan Hubicka * lex.c (cxx_make_type): Set TYPE_CXX_ODR_P. @@ -671,7 +679,7 @@ PR c++/90449 - add -Winaccessible-base option. * class.c (warn_about_ambiguous_bases): Changed name to: maybe_warn_about_inaccessible_bases. - (maybe_warn_about_inaccessible_bases): Implemented new + (maybe_warn_about_inaccessible_bases): Implemented new Winaccessible-base warning option for both direct and virtual base warnings. (layout_class_type): Call to warn_about_ambiguous_bases changed to fit @@ -817,7 +825,7 @@ * cp-tree.h (IDENTIFIER_LAMBDA_P): New. (TYPE_ANON_P): New. - (LAMBDA_TYPE_P, TYPE_UNNAMED_P): Likewise. + (LAMBDA_TYPE_P, TYPE_UNNAMED_P): Likewise. (LAMBDANAME_PREFIX, LAMBDANAME_FORMAT): Delete. (make_lambda_name): Don't declare. * error.c (dump_aggr_type): Check for lambdas before other @@ -999,92 +1007,92 @@ 2019-05-16 Martin Sebor - * call.c (print_z_candidate): Wrap diagnostic text in a gettext - macro. Adjust. - (print_z_candidates): Same. - (build_conditional_expr_1): Quote keywords, operators, and types - in diagnostics. - (build_op_delete_call): Same. - (maybe_print_user_conv_context): Wrap diagnostic text in a gettext - macro. - (convert_like_real): Same. - (convert_arg_to_ellipsis): Quote keywords, operators, and types - in diagnostics. - (build_over_call): Same. - (joust): Break up an overlong line. Wrap diagnostic text in a gettext - macro. - * constexpr.c (cxx_eval_check_shift_p): Spell out >= in English. - (cxx_eval_constant_expression): Quote keywords, operators, and types - in diagnostics. - (potential_constant_expression_1): Same. - * cp-gimplify.c (cp_genericize_r): Same. - * cvt.c (maybe_warn_nodiscard): Quote keywords, operators, and types - in diagnostics. - (type_promotes_to): Same. - * decl.c (check_previous_goto_1): Same. - (check_goto): Same. - (start_decl): Same. - (cp_finish_decl): Avoid parenthesizing a sentence for consistency. - (grok_op_properties): Quote keywords, operators, and types - in diagnostics. - * decl2.c (grokfield): Same. - (coerce_delete_type): Same. - * except.c (is_admissible_throw_operand_or_catch_parameter): Same. - * friend.c (do_friend): Quote C++ tokens. - * init.c (build_new_1): Quote keywords, operators, and types - in diagnostics. - (build_vec_delete_1): Same. - (build_delete): Same. - * lex.c (parse_strconst_pragma): Same. - (handle_pragma_implementation): Same. - (unqualified_fn_lookup_error): Same. - * mangle.c (write_type): Same. - * method.c (defaulted_late_check): Avoid two consecutive punctuators. - * name-lookup.c (cp_binding_level_debug): Remove a trailing newline. - (pop_everything): Same. - * parser.c (cp_lexer_start_debugging): Quote a macro name. - in a diagnostic - (cp_lexer_stop_debugging): Same. - (cp_parser_userdef_numeric_literal): Quote a C++ header name - in a diagnostic. - (cp_parser_nested_name_specifier_opt): Quote keywords, operators, - and types in diagnostics. - (cp_parser_question_colon_clause): Same. - (cp_parser_asm_definition): Same. - (cp_parser_init_declarator): Same. - (cp_parser_template_declaration_after_parameters): Avoid capitalizing - a sentence in a diagnostic. - (cp_parser_omp_declare_reduction): Quote keywords, operators, and types - in diagnostics. - (cp_parser_transaction): Same. - * pt.c (maybe_process_partial_specialization): Replace second call - to permerror with inform for consistency with other uses. - (expand_integer_pack): Quote keywords, operators, and types - in diagnostics. - * rtti.c (get_typeid): Quote keywords, operators, and types - in diagnostics. - (build_dynamic_cast_1): Same. - * semantics.c (finish_asm_stmt): Same. - (finish_label_decl): Same. - (finish_bases): Same. - (finish_offsetof): Same. - (cp_check_omp_declare_reduction): Same. - (finish_decltype_type): Same. - * tree.c (handle_init_priority_attribute): Same. Add detail - to diagnostics. - (maybe_warn_zero_as_null_pointer_constant): Same. - * typeck.c (cp_build_binary_op): Quote keywords, operators, and types - in diagnostics. - (cp_build_unary_op): Same. - (check_for_casting_away_constness): Same. - (build_static_cast): Same. - (build_const_cast_1): Same. - (maybe_warn_about_returning_address_of_local): Same. - (check_return_expr): Same. - * typeck2.c (abstract_virtuals_error_sfinae): Same. - (digest_init_r): Replace a tab with spaces in a diagnostic. - (build_functional_cast): Quote keywords, operators, and types - in diagnostics. + * call.c (print_z_candidate): Wrap diagnostic text in a gettext + macro. Adjust. + (print_z_candidates): Same. + (build_conditional_expr_1): Quote keywords, operators, and types + in diagnostics. + (build_op_delete_call): Same. + (maybe_print_user_conv_context): Wrap diagnostic text in a gettext + macro. + (convert_like_real): Same. + (convert_arg_to_ellipsis): Quote keywords, operators, and types + in diagnostics. + (build_over_call): Same. + (joust): Break up an overlong line. Wrap diagnostic text in a gettext + macro. + * constexpr.c (cxx_eval_check_shift_p): Spell out >= in English. + (cxx_eval_constant_expression): Quote keywords, operators, and types + in diagnostics. + (potential_constant_expression_1): Same. + * cp-gimplify.c (cp_genericize_r): Same. + * cvt.c (maybe_warn_nodiscard): Quote keywords, operators, and types + in diagnostics. + (type_promotes_to): Same. + * decl.c (check_previous_goto_1): Same. + (check_goto): Same. + (start_decl): Same. + (cp_finish_decl): Avoid parenthesizing a sentence for consistency. + (grok_op_properties): Quote keywords, operators, and types + in diagnostics. + * decl2.c (grokfield): Same. + (coerce_delete_type): Same. + * except.c (is_admissible_throw_operand_or_catch_parameter): Same. + * friend.c (do_friend): Quote C++ tokens. + * init.c (build_new_1): Quote keywords, operators, and types + in diagnostics. + (build_vec_delete_1): Same. + (build_delete): Same. + * lex.c (parse_strconst_pragma): Same. + (handle_pragma_implementation): Same. + (unqualified_fn_lookup_error): Same. + * mangle.c (write_type): Same. + * method.c (defaulted_late_check): Avoid two consecutive punctuators. + * name-lookup.c (cp_binding_level_debug): Remove a trailing newline. + (pop_everything): Same. + * parser.c (cp_lexer_start_debugging): Quote a macro name. + in a diagnostic + (cp_lexer_stop_debugging): Same. + (cp_parser_userdef_numeric_literal): Quote a C++ header name + in a diagnostic. + (cp_parser_nested_name_specifier_opt): Quote keywords, operators, + and types in diagnostics. + (cp_parser_question_colon_clause): Same. + (cp_parser_asm_definition): Same. + (cp_parser_init_declarator): Same. + (cp_parser_template_declaration_after_parameters): Avoid capitalizing + a sentence in a diagnostic. + (cp_parser_omp_declare_reduction): Quote keywords, operators, and types + in diagnostics. + (cp_parser_transaction): Same. + * pt.c (maybe_process_partial_specialization): Replace second call + to permerror with inform for consistency with other uses. + (expand_integer_pack): Quote keywords, operators, and types + in diagnostics. + * rtti.c (get_typeid): Quote keywords, operators, and types + in diagnostics. + (build_dynamic_cast_1): Same. + * semantics.c (finish_asm_stmt): Same. + (finish_label_decl): Same. + (finish_bases): Same. + (finish_offsetof): Same. + (cp_check_omp_declare_reduction): Same. + (finish_decltype_type): Same. + * tree.c (handle_init_priority_attribute): Same. Add detail + to diagnostics. + (maybe_warn_zero_as_null_pointer_constant): Same. + * typeck.c (cp_build_binary_op): Quote keywords, operators, and types + in diagnostics. + (cp_build_unary_op): Same. + (check_for_casting_away_constness): Same. + (build_static_cast): Same. + (build_const_cast_1): Same. + (maybe_warn_about_returning_address_of_local): Same. + (check_return_expr): Same. + * typeck2.c (abstract_virtuals_error_sfinae): Same. + (digest_init_r): Replace a tab with spaces in a diagnostic. + (build_functional_cast): Quote keywords, operators, and types + in diagnostics. 2019-05-15 Jakub Jelinek @@ -1489,12 +1497,12 @@ PR c++/47488 * decl.c (reshape_init_array_1): Strip trailing zero-initializers from arrays of trivial type and known size. - * mangle.c (write_expression): Convert braced initializer lists - to STRING_CSTs. + * mangle.c (write_expression): Convert braced initializer lists + to STRING_CSTs. (write_expression): Trim trailing zero-initializers from arrays of trivial type. - (write_template_arg_literal): Mangle strings the same as braced - initializer lists. + (write_template_arg_literal): Mangle strings the same as braced + initializer lists. 2019-04-03 Jason Merrill @@ -2174,7 +2182,7 @@ * pt.c (maybe_instantiate_noexcept): Keep error_mark_node. * typeck2.c (merge_exception_specifiers): Handle error_mark_node. -2019-02-19 Chung-Lin Tang +2019-02-19 Chung-Lin Tang PR c/87924 * parser.c (cp_parser_oacc_clause_wait): Add representation of wait @@ -2228,7 +2236,7 @@ * semantics.c (finish_compound_literal): Call instantiate_non_dependent_expr_sfinae. -2019-02-13 Alexandre Oliva +2019-02-13 Alexandre Oliva PR c++/86379 * cp-tree.h (USING_DECL_SCOPE): Use result rather than type. @@ -2299,7 +2307,7 @@ invalid_array_size_error (build_new): Call valid_array_size_p instead of error. -2019-02-07 Alexandre Oliva +2019-02-07 Alexandre Oliva PR c++/86218 * call.c (compare_ics): Deal with ck_aggr in either cs. @@ -2328,7 +2336,7 @@ * call.c (convert_like_real) : Call mark_exp_read instead of mark_rvalue_use. -2019-02-05 Alexandre Oliva +2019-02-05 Alexandre Oliva PR c++/87770 * pt.c (instantiates_primary_template_p): New. @@ -2429,7 +2437,7 @@ PR c++/89024 - ICE with incomplete enum type. * call.c (standard_conversion): When converting an ARITHMETIC_TYPE_P to an incomplete type, return NULL. - + 2019-01-25 Paolo Carlini PR c++/88969 @@ -2533,7 +2541,7 @@ * semantics.c (process_outer_var_ref): Only skip dependent types in templates. -2019-01-17 Alexandre Oliva +2019-01-17 Alexandre Oliva PR c++/87768 * cp-tree.h (saved_scope): Add suppress_location_wrappers. Index: go/ChangeLog =================================================================== --- go/ChangeLog (revision 274249) +++ go/ChangeLog (revision 274250) @@ -51,10 +51,10 @@ 2019-02-05 Nikhil Benesch - PR go/89019 - * go-gcc.cc (Gcc_backend::placeholder_struct_type): Mark - placeholder structs as requiring structural equality. - (Gcc_backend::set_placeholder_pointer_type): Propagate the + PR go/89019 + * go-gcc.cc (Gcc_backend::placeholder_struct_type): Mark + placeholder structs as requiring structural equality. + (Gcc_backend::set_placeholder_pointer_type): Propagate the canonical type from the desired pointer type to the placeholder pointer type. @@ -952,7 +952,7 @@ 2013-11-22 Andrew MacLeod * go-gcc.cc: Add required include files from gimple.h. - * go-lang.c: Likewise + * go-lang.c: Likewise. 2013-11-18 Richard Sandiford Index: ada/ChangeLog =================================================================== --- ada/ChangeLog (revision 274249) +++ ada/ChangeLog (revision 274250) @@ -1,4 +1,4 @@ -2019-08-02 Alexandre Oliva +2019-08-02 Alexandre Oliva * libgnat/a-exexpr.adb (Begin_Handler_v1, End_Handler_v1): New. (Claimed_Cleanup): New. @@ -281,7 +281,7 @@ 2019-07-22 Ed Schonberg - * freeze.adb (Freeze_Fixed_Point_Type): When freezing a + * freeze.adb (Freeze_Fixed_Point_Type): When freezing a fixed-point subtype, check whether the parent type declarastion includes an aspect specification for the 'Small type attribute, and inherit the specified value. @@ -1945,7 +1945,7 @@ * libgnat/g-traceb.ads, libgnat/g-traceb.adb (Call_Chain): New function. -2019-07-04 James Clarke +2019-07-04 James Clarke * libgnarl/s-osinte__kfreebsd-gnu.ads (clockid_t): Make type definition public. @@ -2508,7 +2508,7 @@ 2019-07-03 Ed Schonberg - * inline.adb (Make_Loop_Labels_Unique): New procedure to modify + * inline.adb (Make_Loop_Labels_Unique): New procedure to modify the source code of subprograms that are inlined by the front-end, to prevent accidental duplication between loop labels in the inlined code and the code surrounding the inlined call. Index: fortran/ChangeLog =================================================================== --- fortran/ChangeLog (revision 274249) +++ fortran/ChangeLog (revision 274250) @@ -9,7 +9,7 @@ PR fortran/42546 * check.c(gfc_check_allocated): Add comment pointing to ... * intrinsic.c(sort_actual): ... the checking done here. - + 2019-08-05 Steven g. Kargl PR fortran/91372 @@ -19,11 +19,11 @@ 2019-08-04 Steven G. Kargl PR fortran/88227 - * check.c (oct2bin): New function. Convert octal string to binary. + * check.c (oct2bin): New function. Convert octal string to binary. (hex2bin): New function. Convert hexidecimal string to binary. (bin2real): New function. Convert binary string to REAL. Use oct2bin and hex2bin. - (gfc_boz2real): Use fallback conversion bin2real. + (gfc_boz2real): Use fallback conversion bin2real. 2019-08-02 Steven G. Kargl @@ -111,11 +111,11 @@ (gfc_check_cmplx): Re-organize to check kind, if present, first. Convert BOZ real and/or imaginary parts as needed in accordance to F2018. - (gfc_check_complex): Use gfc_invalid_boz. Convert BOZ as needed. + (gfc_check_complex): Use gfc_invalid_boz. Convert BOZ as needed. (gfc_check_dcmplx, gfc_check_dble ): Convert BOZ as needed. - (gfc_check_dshift): Make dshift[lr] conform to F2018 standard. + (gfc_check_dshift): Make dshift[lr] conform to F2018 standard. gfc_check_float (gfc_expr *a) - (gfc_check_iand_ieor_ior): Make IAND, IEOR, and IOR conform to + (gfc_check_iand_ieor_ior): Make IAND, IEOR, and IOR conform to F2018 standard. (gfc_check_int): Conform to F2018 standard. (gfc_check_intconv): Deprecate SHORT and LONG aliases for INT2 and @@ -288,7 +288,7 @@ 2019-06-19 Steven G. Kargl PR fortran/69499 - * match.c (gfc_match_select_type): SELECT TYPE is an executable + * match.c (gfc_match_select_type): SELECT TYPE is an executable statement, and cannot appear in MODULE or SUBMODULE scope. 2019-06-19 Steven G. Kargl @@ -405,7 +405,7 @@ only checking the reference chain. 2019-06-08 Thomas Koenig - Tomáš Trnka + Tomáš Trnka PR fortran/90744 * trans-types.c (get_formal_from_actual_arglist): Unset typespec @@ -610,7 +610,7 @@ * module.c (write_module): Initialize module_column before writing module to ensure line break occurs at correct column. -2019-05-01 Dominique d'Humieres +2019-05-01 Dominique d'Humieres PR fortran/60144 * match.c (gfc_match_parens): Change the location for missing ')'. @@ -730,7 +730,7 @@ 2019-03-31 Thomas Koenig - * dump-parse-tree.c (debug): Add for symbol_attribute *, + * dump-parse-tree.c (debug): Add for symbol_attribute *, symbol_attribute and gfc_ref * arguments. 2019-03-30 Paul Thomas @@ -991,7 +991,7 @@ 2019-03-09 Thomas König PR fortran/71203 - * decl.c (add_init_expr_to_sym): Add shape if init has none. Add + * decl.c (add_init_expr_to_sym): Add shape if init has none. Add asserts that it has to be an EXPR_ARRAY in this case. 2019-03-08 Jakub Jelinek @@ -1054,6 +1054,10 @@ the actual arglist has no expression, the corresponding formal arglist is an alternate return. +2019-02-26 Uroš Bizjak + + * invoke.texi (-ffpe-trap): Use @var for every item in the list. + 2019-02-26 Jakub Jelinek PR fortran/43210 @@ -1086,7 +1090,7 @@ * class.c (find_intrinsic_vtab): Likewise. * simplify.c (gfc_simplify_sizeof): Likewise. -2019-02-23 Jerry DeLisle +2019-02-23 Jerry DeLisle PR fortran/84387 * trans-io.c (transfer_expr): Do not return if there are no @@ -1236,7 +1240,7 @@ 2019-02-17 Thomas Koenig PR fortran/71066 - * trans-decl.c (generate_coarray_sym_init): For an array + * trans-decl.c (generate_coarray_sym_init): For an array constructor in a DATA statement of a coarray variable, set the rank to 1 to avoid confusion later on. If the constructor contains only one value, use that for initiailizig. @@ -1422,7 +1426,7 @@ * io.c (match_io_element): input-item cannot be an external function. 2018-01-19 Thomas Koenig - Paul Thomas + Paul Thomas PR fortran/56789 * trans-expr.c (gfc_conv_procedure_call): Call @@ -1578,8 +1582,8 @@ directly build the expected GENERIC tree. 2019-01-07 Thomas Koenig - Harald Anlauf - Tobias Burnus + Harald Anlauf + Tobias Burnus PR fortran/45424 * check.c (gfc_check_is_contiguous): New function. Index: lto/ChangeLog =================================================================== --- lto/ChangeLog (revision 274249) +++ lto/ChangeLog (revision 274250) @@ -71,6 +71,11 @@ (dump_list_functions): Release memory. (dump_list_variables): Likewise. +2019-06-25 Jozef Lawrynowicz + + * lto-lang.c (lto_build_c_type_nodes): Accept "__intN__" + format of "__intN" types for SIZE_TYPE. + 2019-06-24 Jan Hubicka * lto-common.c (compare_tree_sccs_1): Compare CXX_ODR_P; @@ -82,8 +87,8 @@ 2019-05-16 Martin Sebor - * lto-dump.c (lto_main): Same. - * lto.c (stream_out): Same. + * lto-dump.c (lto_main): Same. + * lto.c (stream_out): Same. 2019-05-10 Martin Liska @@ -215,7 +220,7 @@ 2018-10-26 Jan Hubicka - * lto/lto-symtab.c (lto_symtab_merge_decls_2): Fix extra space. + * lto-symtab.c (lto_symtab_merge_decls_2): Fix extra space. 2018-10-17 David Malcolm @@ -240,7 +245,7 @@ 2018-08-21 Tom de Vries - * lto.c (lto_main): Call debuginfo_early_start and + * lto.c (lto_main): Call debuginfo_early_start and debuginfo_early_stop. 2018-07-20 Martin Sebor @@ -598,7 +603,7 @@ * lto-lang.c (lto_init): Set in_lto_p earlier. 2017-04-12 Richard Biener - Bernd Edlinger + Bernd Edlinger PR middle-end/79671 * lto.c (compare_tree_sccs_1): Compare TYPE_TYPELESS_STORAGE. @@ -704,7 +709,7 @@ 2016-06-10 Martin Sebor PR c/71392 - * gcc/lto/lto-lang.c (handle_nonnull_attribute): Accept the nonnull + * lto-lang.c (handle_nonnull_attribute): Accept the nonnull attribute in type-generic builtins. 2016-05-16 Jan Hubicka @@ -1047,7 +1052,6 @@ 2015-06-08 Jan Hubicka - * lto.c (hash_canonical_type): Do not hash TREE_CODE of TREE_TYPE of pointers. @@ -1253,7 +1257,7 @@ Andrey Turetskiy Michael Zolotukhin - * lto/lto.c (read_cgraph_and_symbols): Call input_offload_tables. + * lto.c (read_cgraph_and_symbols): Call input_offload_tables. 2014-11-13 Ilya Verbin Ilya Tocar @@ -1407,7 +1411,7 @@ 2014-07-11 Jan Hubicka - * lto-partition.c (add_references_to_partition): Use + * lto-partition.c (add_references_to_partition): Use varpool_ctor_useable_for_folding_p. * lto.c (lto_read_in_decl_state): Update sanity check. @@ -1438,11 +1442,11 @@ 2014-06-25 Martin Liska - * lto/lto-partition.c (add_references_to_partition): New IPA REF function + * lto-partition.c (add_references_to_partition): New IPA REF function used. (add_symbol_to_partition_1): Likewise. (lto_balanced_map): Likewise. - * lto/lto-symtab.c (lto_cgraph_replace_node): Likewise. + * lto-symtab.c (lto_cgraph_replace_node): Likewise. 2014-06-24 Jan Hubicka @@ -1563,7 +1567,7 @@ 2014-04-14 Jan Hubicka - * lto/lto-symtab.c (lto_cgraph_replace_node): Don't re-merge + * lto-symtab.c (lto_cgraph_replace_node): Don't re-merge tp_first_run. 2014-03-19 Jan Hubicka @@ -1574,7 +1578,7 @@ 2014-03-19 Richard Biener PR middle-end/60553 - * lto-tree.h (lang_tree_node): For types use TYPE_NEXT_VARIANT + * lto-tree.h (lang_tree_node): For types use TYPE_NEXT_VARIANT instead of TREE_CHAIN as chain_next. 2014-03-19 Richard Biener @@ -1669,7 +1673,7 @@ 2014-02-04 Jan Hubicka - * lto-partition.c (get_symbol_class): Only unforced DECL_ONE_ONLY + * lto-partition.c (get_symbol_class): Only unforced DECL_ONE_ONLY needs duplicating, not generic COMDAT. 2014-02-04 Richard Biener @@ -1727,10 +1731,10 @@ 2013-11-22 Andrew MacLeod * lto.c: Add required include files from gimple.h. - * lto-lang.c: Likewise - * lto-object.c: Likewise - * lto-partition.c: Likewise - * lto-symtab.c: Likewise + * lto-lang.c: Likewise. + * lto-object.c: Likewise. + * lto-partition.c: Likewise. + * lto-symtab.c: Likewise. 2013-11-18 Trevor Saunders @@ -1842,8 +1846,8 @@ 2013-10-29 Andrew MacLeod - * lto/lto-object.c: Add gimple.h to include list. - * lto/lto-partition.c: Likewise. + * lto-object.c: Add gimple.h to include list. + * lto-partition.c: Likewise. 2013-10-18 Andrew MacLeod @@ -1928,7 +1932,7 @@ 2013-08-31 Jan Hubicka - * lto.c (mentions_vars_p_field_decl, lto_fixup_prevailing_decls): + * lto.c (mentions_vars_p_field_decl, lto_fixup_prevailing_decls): DECL_FIELD_OFFSET can contain an reference to variable. 2013-08-31 Jan Hubicka @@ -1990,7 +1994,7 @@ 2013-08-06 Jan Hubicka Martin Liska - * lto-partition.c (lto_balanced_map): Always base order on + * lto-partition.c (lto_balanced_map): Always base order on source file order. 2013-08-06 Jan Hubicka @@ -2226,7 +2230,7 @@ 2012-10-08 Jan Hubicka - * lto/lto.c (remember_with_vars): Also fixup INTEGER_CST. + * lto.c (remember_with_vars): Also fixup INTEGER_CST. (fixup_integer_cst): New functoin. (lto_ft_type): Fixup BASETYPE of methods and offsets. @@ -2238,7 +2242,7 @@ 2012-10-06 Jan Hubicka - PR lto/54790 + PR lto/54790 * lto.c (resolution_map): New static var. (register_resolution): New function. (lto_register_var_decl_in_symtab): Use it. @@ -2251,7 +2255,7 @@ 2012-09-19 Dehao Chen - * lto/lto.c (lto_fixup_prevailing_decls): Remove tree.exp.block field. + * lto.c (lto_fixup_prevailing_decls): Remove tree.exp.block field. 2012-09-19 Jan Hubicka @@ -2382,10 +2386,10 @@ 2012-06-18 Lawrence Crowl - * lto.c (do_whole_program_analysis): Rename use of TV_PHASE_CGRAPH to + * lto.c (do_whole_program_analysis): Rename use of TV_PHASE_CGRAPH to TV_PHASE_OPT_GEN. Use new timevar TV_PHASE_STREAM_OUT around the call to lto_wpa_write_files. - (lto_main): Rename use of TV_PHASE_CGRAPH to TV_PHASE_OPT_GEN. Move + (lto_main): Rename use of TV_PHASE_CGRAPH to TV_PHASE_OPT_GEN. Move start of TV_PHASE_OPT_GEN to include call to materialize_cgraph. Use TV_PHASE_SETUP for the call to lto_init. Use new timevar TV_PHASE_STREAM_IN around the call to read_cgraph_and_symbols. @@ -2629,7 +2633,6 @@ (promote_fn): Likewise. (lto_promote_cross_file_statics): Update comment. - 2011-06-07 Diego Novillo * lto.c (uniquify_nodes): Move code to register decls to @@ -2813,7 +2816,7 @@ 2011-03-25 Jeff Law - * lto/lto-lang.c (def_fn_type): Add missing va_end. + * lto-lang.c (def_fn_type): Add missing va_end. 2011-03-21 Kai Tietz @@ -2981,7 +2984,7 @@ 2010-10-05 Jan Hubicka - * lto.c: Include params.h. + * lto.c: Include params.h. (add_cgraph_node_to_partition, add_varpool_node_to_partition): Do refcounting in aux field. (undo_partition, partition_cgraph_node_p, partition_varpool_node_p): @@ -3035,7 +3038,7 @@ 2010-09-16 Jan Hubicka * lto.c (lto_materialize_function): Do not tamper with STATIC and - EXTERNAL flags. + EXTERNAL flags. 2010-09-15 Laurynas Biveinis @@ -3162,7 +3165,7 @@ 2010-06-09 Kai Tietz - * lto.c (lto_resolution_read): Pre-initialize local variable r. + * lto.c (lto_resolution_read): Pre-initialize local variable r. * lto-coff.c (coff_write_object_file): Add braces to if. 2010-06-08 Laurynas Biveinis @@ -3316,7 +3319,6 @@ 'long long unsigned int' for x64-windows. (lto_init): Likewise. - 2010-05-07 Steven Bosscher * lto.h (struct lto_file_struct): Document offset member. @@ -3368,12 +3370,12 @@ 2010-04-28 Jan Hubicka - * lto/lto.c (lto_read_in_decl_state): Use GGC. + * lto.c (lto_read_in_decl_state): Use GGC. (lto_wpa_write_files): Announce what we are writting. (all_file_decl_data): New. (read_cgraph_and_symbols): Use GGC; correct timevars. (do_whole_program_analysis): Collect. - * lto/Make-lang.in (lto.o): Fix dependency. + * Make-lang.in (lto.o): Fix dependency. * Makefile.in (GTFILES): Add lto-streamer.h. * varpool.c (varpool_analyze_pending_decls): Use TV_VARPOOL. (varpool_assemble_pending_decls): Use VAROUT. @@ -3494,7 +3496,7 @@ * lto.c (O_BINARY): Define. (lto_read_section_data): Open file in binary mode. * lto-elf.c (O_BINARY): Define. - (lto_elf_file_open): Open file in binary mode. + (lto_elf_file_open): Open file in binary mode. 2010-01-08 Richard Guenther @@ -4054,7 +4056,7 @@ 2009-01-29 Ramana Radhakrishnan - * Make-lang.in (LTO_EXE): Link with all + * Make-lang.in (LTO_EXE): Link with all BACKENDLIBS and not only GMPLIBS 2009-01-28 H.J. Lu @@ -4178,17 +4180,17 @@ 2008-11-09 Diego Novillo - * lto/lto.c (lto_fixup_tree): Change error message locus + * lto.c (lto_fixup_tree): Change error message locus information to include location of mismatching declaration. Use TREE_NO_WARNING to avoid repeated messages. (lto_main): If lto_fixup_decls emitted any errors, exit. - * lto/lto-lang.c: Don't include libfuncs.h and except.h + * lto-lang.c: Don't include libfuncs.h and except.h (lto_init_options): Don't enable exceptions by default. (lto_eh_runtime_type): Move to lto-function-in.c (lto_init_eh): Likewise. (lto_init): Don't call lto_init_eh. - * lto/Make-lang.in (lto-lang.o): Remove dependency on + * Make-lang.in (lto-lang.o): Remove dependency on libfuncs.h and except.h. 2008-10-30 Diego Novillo @@ -4221,16 +4223,16 @@ input_cgraph): Move to lto-cgraph.c in gcc directory above. (LANG_HOOKS_INPUT_CGRAPH): Remove use of macro. -2008-10-24 Rafael Espindola +2008-10-24 Rafael Espindola * lto-function-in.c (get_resolution): Return LDPR_PREEMPTED_IR for non prevailing weak symbols. -2008-10-24 Rafael Espindola +2008-10-24 Rafael Espindola * lto-lang.c (input_cgraph_1): Iterate over nodes, not cgraph_nodes. -2008-10-24 Rafael Espindola +2008-10-24 Rafael Espindola * lto-lang.c (input_node): Avoid casts from pointers to ints of different types. @@ -4254,7 +4256,7 @@ exceptions flag is given. * lto-lang.c: (lto_init_options) Set default exceptions flag. (lto_init_eh): Remove exceptions flag initialization. - (lto_init): Only call lto_init_eh if exceptions flag is set. + (lto_init): Only call lto_init_eh if exceptions flag is set. 2008-10-21 Diego Novillo @@ -4319,7 +4321,7 @@ walking of nodes except for DECLs to be replaced. Pass an lto_fixup_data_t object to tree-walker. -2008-10-08 Rafael Espindola +2008-10-08 Rafael Espindola * lto-symtab.c (lto_symtab_set_resolution): New. (lto_symtab_merge_decl): Use lto_symtab_set_resolution and @@ -4328,18 +4330,18 @@ (lto_symtab_get_resolution): New. * lto.c (lto_fixup_tree, lto_fixup_state): Remove unecessary checks. -2008-10-06 Rafael Espindola +2008-10-06 Rafael Espindola * lto-lang.c: Include cgraph.h. (input_overwrite_node, input_node, input_edge, input_cgraph_1, input_cgraph): Moved from lto-cgraph.c. (LANG_HOOKS_INPUT_CGRAPH): New. -2008-10-03 Rafael Espindola +2008-10-03 Rafael Espindola * lto.c (lto_fixup_tree, lto_fixup_state): Fix the FIXME. -2008-10-03 Rafael Espindola +2008-10-03 Rafael Espindola * lto-symtab.c (lto_symtab_overwrite_decl): Remove. Remove all calls. (lto_symtab_merge_decl): Update LTO_IDENTIFIER_DECL the reflect the @@ -4359,13 +4361,13 @@ * lto-lang.c (lto_post_options): Add validation and fixups for -fltrans and -fwpa. -2008-10-02 Rafael Espindola +2008-10-02 Rafael Espindola * lto-symtab.c (lto_symtab_merge_var, lto_symtab_merge_fn, lto_symtab_merge_decl): Return void. (lto_symtab_prevailing_decl): New. -2008-09-30 Rafael Espindola +2008-09-30 Rafael Espindola * lto-symtab.c (lto_symtab_compatible): Remove the check for already defined symbols. @@ -4376,7 +4378,7 @@ (LTO_IDENTIFIER_RESOLUTION): Remove. (LTO_DECL_RESOLUTION): New. -2008-09-30 Rafael Espindola +2008-09-30 Rafael Espindola * lto.c (lto_read_decls): Use new input_tree signature. @@ -4385,7 +4387,7 @@ * lto.c (lto_main): Call lto_fixup_nothrow_decls to fix up function bodies affected by exception attribute merging of DECLs. * lto-symtab.c (lto_symtab_merge_decl): Handle exception attribute - merging. + merging. 2008-09-25 Rafael Espindola @@ -4404,7 +4406,7 @@ * lang.opt (fltrans-output-list=): New option. * lto.c (lto_execute_ltrans): Output file names to ltrans_output_list. -2008-09-25 Rafael Espindola +2008-09-25 Rafael Espindola * lto.c (lto_resolution_read): Initialize ret; @@ -4423,7 +4425,7 @@ * Make-lang.in (LTRANS_DRIVER_INSTALL_NAME): New variable. (lto.install-common): Add lto/ltrans-driver. -2008-09-24 Rafael Espindola +2008-09-24 Rafael Espindola * Make-lang.in (LTO_OBJS): Add lto/common.o. (lto/lto.o): Depend on lto/common.h. @@ -4444,12 +4446,12 @@ Read resolution. * lto.h (resolution_file_name): New. -2008-09-23 Rafael Espindola +2008-09-23 Rafael Espindola * common.c: Update description. * common.h: Update description. -2008-09-23 Rafael Espindola +2008-09-23 Rafael Espindola * common.c: Moved from lto-plugin. * common.h: Moved from lto-plugin. @@ -4504,10 +4506,10 @@ * lto-lang.c: Include header file expr.h. (COMPOUND_LITERAL_EXPR_DECL_STMT, COMPOUND_LITERAL_EXPR_DECL): Copied from c-common.h. - (emit_local_var): Copied from c-semantics.c. + (emit_local_var): Copied from c-semantics.c. (lto_expand_expr, lto_staticp): Copied from c_expand_expr and c_staticp in c-common.c. - (LANG_HOOKS_EXPAND_EXPR,LANG_HOOKS_STATICP): Redefined. + (LANG_HOOKS_EXPAND_EXPR,LANG_HOOKS_STATICP): Redefined. 2008-09-08 Diego Novillo @@ -4521,7 +4523,7 @@ 2008-08-04 Bill Maddox * lto-symtab.c (lto_symtab_merge_decl): Add comment. - + 2008-09-03 Doug Kwan lto.c (lto_add_all_inlinees): Reset FAILED_REASON of edges to @@ -4577,7 +4579,7 @@ (lto_1_to_1_map, lto_add_all_inlinees, lto_wpa_write_files): New functions. (lto_main): Initialize bitmap obstack. Add code to handle WPA mode. - * Make-lang.in (LTO_H): Replace filename lto-section-in.h with + * Make-lang.in (LTO_H): Replace filename lto-section-in.h with variable LTO_SECTION_IN_H. (lto/lto.o): Include gt-lto-lto-c.h ggc.h ,VEC_H, BITMAP_H, pointer-set.h and IPA_PROP_H. Also replace filename lto-section-in.h @@ -4593,12 +4595,12 @@ asserting. (lto_post_options): Suppress debug info generation. * Make-lang.in: Add dependency of lto-lang.o on tree-gimple.h. - + 2008-08-25 Bill Maddox * lto-symtab.c (lto_symtab_merge_decl): Remove a suspect assertion and leave an explanatory comment in its place. - + 2008-08-21 Doug Kwan * lto.c (preload_common_nodes): Call lto_get_common_nodes to get a list @@ -4628,21 +4630,21 @@ * lto.h (struct lto_file_struct): Remove GTY marker. * config-lang.in: Remove lto/lto.h and lto/lto.c from gtfiles. - + 2008-08-20 Bill Maddox * lto.c (lto_read_decls): Provide dummy argument to input_tree to conform to its new signature. * lto-symtab.c (lto_symtab_merge_decl): Do not invoke ggc_free on discarded node here, now called in global_vector_fixup. - + 2008-08-09 Bill Maddox * lto.c (preload_common_nodes): Verify that fileptr_type_node has not been set to a front-end-specific value. - + 2008-08-05 Doug Kwan - + * Make-lang.in (lto-symtab.o): Add missing dependencies to fix build breakage. @@ -4680,14 +4682,14 @@ * lto.c (lto_read_decls): Fix C++ compatibility warnings. Make code const-correct. (lto_file_read): Fix C++ compatibility warnings. - (lto_read_section_data): Fix C++ compatibility warnings. + (lto_read_section_data): Fix C++ compatibility warnings. (lto_get_section_data): Use CONST_CAST to avoid warning when const pointer passed to free. * lto-elf.c (lto_elf_build_section_table): Fix C++ compatibility warnings. - (lto_elf_append_data): Fix C++ compatibility warnings. Use CONST_CAST + (lto_elf_append_data): Fix C++ compatibility warnings. Use CONST_CAST to avoid warning assigning const pointer to d_buf field of Elf_Data. - (lto_get_current_out_file): Fix C++ compatibility warnings. + (lto_get_current_out_file): Fix C++ compatibility warnings. 2008-07-11 Diego Novillo @@ -4861,7 +4863,7 @@ 2008-06-07 Kenneth Zadeck Jan Hubicka - + * lto.c (sys/mman.h, tree-pass.h): New includes. (lto_materialize_constructors_and_inits, lto_materialize_function): Keeps length of section. @@ -4873,12 +4875,12 @@ (lto_read_section_data, get_section_data, free_section_data): New functions. (lto_main): Now calls pass manager, sets the hooks so that the ipa - passes can get the section data. - + passes can get the section data. + 2008-05-27 Kenneth Zadeck * lto.h (lto_read_decls): Made local. - (lto_input_function_body, lto_input_constructors_and_inits, + (lto_input_function_body, lto_input_constructors_and_inits, lto_input_cgraph): Declarations moved to lto-section-in.h. * lto-section-in.c: Moved to .. . * lto-cgraph-in.c: Ditto. @@ -4889,7 +4891,7 @@ (LANG_HOOKS_INSERT_BLOCK): Removed. * Make-lang.in (lto-cgraph-in.o, lto-function-in.o, lto-section-in.o): Rules moved to lto/Makefile.in. - + 2008-05-16 Ollie Wild @@ -4970,7 +4972,7 @@ (lto_file_read): Made local and initialize dictionary so that other lto sections can be read without reprocessing the elf file. (lto_main): Read all functions after all files have been processed - for their types, globals and cgraph. + for their types, globals and cgraph. * Make-lang.in (lto.o, lto-cgraph-in.c, lto-section-in): Changed dependencies. * lto-elf.c (lto_elf_file): Removed strtab, symtab fields. @@ -4980,7 +4982,7 @@ * lto.h (lto_info_fd_struct): Removed unmaterialized_fndecls. (lto_file_read): Made local. (lto_get_file_name, lto_elf_build_section_table, - lto_input_cgraph): + lto_input_cgraph): New function. * lto-section-in.c (lto_read_section_data, lto_get_section_data): New functions. @@ -4995,7 +4997,6 @@ * lto_section_in.h (lto_section_slot): New structure. (section_hash_table.lto_file_decl_data): New field. - 2008-02-09 Kenneth Zadeck * lto.c (lto_read_variable_formal_parameter_const): Remove code to @@ -5011,10 +5012,10 @@ differently. * Make-lang.in (LTO_H, lto/lto-function-in.o, lto/lto-section-in.o): Update dependencies. - * lto/lto-elf.c (lto_elf_map_optional_lto_section): Add + * lto-elf.c (lto_elf_map_optional_lto_section): Add lto_section_type parameter. (lto_elf_unmap_fn_body): Renamed to lto_elf_unmap_section. - * lto.h (lto_file_vtable_struct): Removed two of the fields and + * lto.h (lto_file_vtable_struct): Removed two of the fields and renamed the other two so that there is only one map function and one unmap function and each takes a section type parameter. (lto_read_function_body): Renamed to lto_input_function_body and @@ -5032,7 +5033,7 @@ (lto_read_function_body, lto_input_constructors_and_inits): Renamed to lto_input_function_body and takes file_data parameter. * lto-section-in.h (lto_file_decl_data): New structure. - + 2008-01-28 Kenneth Zadeck * lto-function-in.c (input_globals.c): Changed input type to @@ -5041,8 +5042,8 @@ (input_function): Renumber all stmts after they are input. (lto_read_body, lto_read_function_body, lto_read_var_init): Changed to used new header format and enum section_type. - *lto-lang.c (success): Removed. - + *lto-lang.c (success): Removed. + 2008-01-28 Nathan Froyd * lto-elf.c (lto_elf_lookup_sym): Remove unused function. @@ -5074,7 +5075,7 @@ * lto-section-in.c: New file with changes from above. * Make-lang.in (lto-read.o): Renamed lto-function-in.c. (lto-section-in.o): New rule. - + 2007-12-29 Nathan Froyd * lto-read.c (input_expr_operand): Mark static and external @@ -5197,7 +5198,7 @@ * lto.h (struct lto_str_fd_struct): New struct. (struct lto_file_struct): Added new field DEBUG_STR to hold the file descriptor for the debug string table. - + 2007-12-07 Bill Maddox * lto.c (lto_str_fd_init): New function. @@ -5313,14 +5314,14 @@ 2007-11-16 Kenneth Zadeck - * lto-read.c (input_expr_operand): Get types right + * lto-read.c (input_expr_operand): Get types right for COMPLEX_CST. 2007-11-16 Kenneth Zadeck * lto-read.c (make_new_block, input_cfg): Properly set n_basic_blocks. - + 2007-11-16 Nathan Froyd * lto.c (lto_read_array_type_DIE): Handle DIEs with DW_AT_GNU_vector @@ -5340,7 +5341,7 @@ (input_expr_operand): Keeps track locally if current node needs a loc. (input_local_var): Added code to handle DECL_INITIAL for static local vars. Only set loc if necessary. - + 2007-11-15 Nathan Froyd * lto.c (lto_read_subroutine_type_subprogram_DIE): Fix thinko'd @@ -5365,14 +5366,14 @@ registered_builtin_fndecls. 2007-11-15 Kenneth Zadeck - + * lto-read.c (process_tree_flags, lto_static_init_local): Renamed to ADD_CLASS_EXPR_FLAG. ADD_CLASS_DECL_FLAG New Macro. (input_line_info, clear_line_info): Fixed new line number code. (input_expr_operand): Added type to SWITCH_EXPR. (lto_read_body): Properly initialized data_in. Clear line info when leaving. - + 2007-11-13 Diego Novillo * lto.c (lto_read_variable_formal_parameter_constant_DIE): @@ -5385,11 +5386,11 @@ 2007-11-13 Kenneth Zadeck * lto-read.c (input_type_ref): Renamed from get_type_ref. - (input_expr_operand, input_local_var): Renamed get_type_ref to + (input_expr_operand, input_local_var): Renamed get_type_ref to input_type_ref. - (input_expr_operand): Get the types correct for + (input_expr_operand): Get the types correct for vector-cst. Get SSA_NAME_DEF_STMT correct for return_exprs. - + 2007-11-13 Doug Kwan * lto-read.c (input_widest_uint_uleb128): New function. @@ -5407,7 +5408,7 @@ DW_AT_static_link and DW_AT_specification. Return the specification if present. (lto_read_base_type_DIE): Handle DW_ATE_complex_float. - + 2007-11-13 Nathan Froyd * lto-lang.c: Include target.h. @@ -5423,7 +5424,7 @@ * lto-read.c (input_expr_operand): Added code to properly handle index filed. Added new RANGE_EXPR case. - + 2007-11-11 Kenneth Zadeck * lto-read.c (ADD_FUNC_FLAG): Deleted macro. @@ -5484,14 +5485,14 @@ (struct lto_file_struct): Declare. (lto_file_vtable): Use it instead of lto_file. -2007-11-06 Alon Dayan - Kenneth Zadeck +2007-11-06 Alon Dayan + Kenneth Zadeck * lto-read.c (process_flags, lto_static_init_local): read flags of VAR_DECL and FUNCTION_DECL of size>1. change global array num_flags_for_code to flags_length_for_code. (set_line_info): Make decls work in USE_MAPPED_LOCATION mode. - + 2007-11-05 Nathan Froyd * lto.c (lto_read_structure_union_class_type_DIE): Use proper record @@ -5537,10 +5538,10 @@ * lto-read.c (data_in): Added type_decls and current_col fields. (string_slot): New type to hold canonized file name. - (hash_string_slot_node, eq_string_slot_node, canon_file_name, + (hash_string_slot_node, eq_string_slot_node, canon_file_name, input_line_info, set_line_info, clear_line_info): New functions. (file_name_hash_table): New hash table. - (input_local_var, input_labels, input_local_vars_index, + (input_local_var, input_labels, input_local_vars_index, input_local_var, input_local_vars, input_ssa_names): Reorganized parameters. (input_uleb128): Changed type of byte var. (input_expr_operand): Large number of changes to get line numbers @@ -5554,7 +5555,6 @@ (lto_read_body): Added code to get TYPE_DECLS read and to change parameters to the calls above that had their parms reorganized. - 2007-10-29 Nathan Froyd * lto.h (lto_resolve_typedecl_ref): Declare. @@ -5576,7 +5576,7 @@ * lto-read.c (input_expr_operand): Give label_values the proper context and provide switch statements with a default type. - + 2007-10-23 Nathan Froyd * lto-read.c (lto_read_body): Move call to init_ssa_operands... @@ -5610,7 +5610,7 @@ (input_ssa_names): Now calls input_tree_flags. (lto_read_body): Now sets cfun. (lto_read_function_body): Now sets current_function_pointer. - + 2007-10-19 Nathan Froyd * lto.c (lto_read_variable_formal_parameter_constant_DIE): Check @@ -5685,8 +5685,7 @@ (input_expr_operand): Make asm operands use input_tree_list. (input_local_var): Now uses input_tree_list. (lto_read_body): Change placement for setting context of debug_labels. - - + 2007-10-16 Kenneth Zadeck * lto-read.c (input_real): Output debugging in proper order. @@ -5698,7 +5697,7 @@ written. (dump_debug_stream): Also print char in hex. (debug_out_fun): Fix signed unsigned mismatch. - + 2007-10-10 Nathan Froyd * lto.c (lto_read_form): Handle DW_AT_MIPS_linkage_name and @@ -5736,7 +5735,7 @@ 2007-09-11 Kenneth Zadeck * lto-read.c (input_expr_operand): Added type for STRING_CST. - + 2007-09-10 Nathan Froyd * lto-read.c (lto_read): Set the type of the newly created CALL_EXPR. @@ -5770,33 +5769,32 @@ * lto-read.c (fun_in): Renamed to data_in. (input_expr_operand, input_local_var, input_string_internal, - input_string, input_real, input_list, get_label_decl, + input_string, input_real, input_list, get_label_decl, get_type_ref, input_expr_operand, input_globals, input_labels, - input_local_vars_index, input_local_var, input_local_vars, + input_local_vars_index, input_local_var, input_local_vars, input_cfg, input_phi, input_ssa_names, input_bb, ): Renamed fun_in to data_in. (input_constructor): New function. (lto_read_function_body): Renamed to lto_read_body and generalized to handle both functions and constructors. (lto_read_function_body, lto_read_var_init): New function. - - + 2007-08-28 Kenneth Zadeck * lto-read.c (input_expr_operand): Assert that there really is a FUNCTION_DECL. (input_globals): Removed checks on 0 section. - + 2007-08-28 Kenneth Zadeck * lto-read.c (fun_in): Added local_decls_index and - local_decls_index_d. + local_decls_index_d. (input_expr_operand): Changed inputting of PARM_DECLs and VAR_DECLs. (input_globals): Enabled code to handle FIELD_DECLs. (input_local_vars_index, input_local_vars): New function. (input_local_var): Changed to allow locals to be input randomly. (lto_read_function_body): Added code to input the local_decls_index and to free various structures. - + 2007-08-17 Jim Blandy * lto.c (lto_read_variable_formal_parameter_constant_DIE): Remove @@ -5827,7 +5825,7 @@ * lto.c (lto_read_form): Complete attr_classes table. (DWARF2_form_data): Doc fix. - + 2007-08-05 Mark Mitchell * lto.h (lto_file_vtable): Remove read_var_init. Add map_var_init @@ -5846,7 +5844,7 @@ * lto-read.c (lto_read_function_body): Moved declaration of fn outside of ifdef. - + 2007-08-01 Kenneth Zadeck * lto-read.c (input_uleb128, input_string_internal, input_real, @@ -5855,7 +5853,7 @@ input_expr_operand, input_local_vars, input_cfg, input_phi, input_ssa_names, input_bb, input_function): Added semicolons. - + 2007-07-31 Kenneth Zadeck * lto-read.c (input_globals): Remove debugging. @@ -5870,8 +5868,8 @@ (input_ssa_names): Initialize SSA_NAME_DEF_STMT to empty stmt. (input_flags): New function. * lto-lang.c (lto_init): Changed state of in_lto_p. - - + + 2007-07-24 Mark Mitchell * lto-tree.h (lto_varargs_cookie): Remove. @@ -5920,9 +5918,9 @@ (input_function): Now builds both the cfg and ssa_names table. (lto_read_function_body): Processes new header fields to construct streams for the ssa_names and cfg and their debugging. - * lto/lto-lang.c (lto_init): Set in_lto_p. - - + * lto-lang.c (lto_init): Set in_lto_p. + + 2007-06-28 Mark Mitchell * lto.h (lto_file_vtable): Add read_var_init. @@ -5949,11 +5947,11 @@ * lto-read (make_new_block): Initialize the stmt_list. (lto_static_init_local): Add debugging for missing codes. - + 2007-06-26 Mark Mitchell * lto.c (lto_read_subroutine_type_subprogram_DIE): Handle - unprototyped functions. + unprototyped functions. 2007-06-23 Mark Mitchell @@ -5965,20 +5963,19 @@ * lto-symbtab.c: Build function types out of TREE_LISTs. * lto-elf.c (): Check for HAVE_LIBELF_H. - + * Make-lang.in (LTO_OBJS): Depend on attribs.o. - + 2007-06-21 Kenneth Zadeck - * lto/lto-tree.h (lang_decl, lang_type, language_function): Added + * lto-tree.h (lang_decl, lang_type, language_function): Added dummy since ggc does not like empty structs. - * lto/lto-elf.c (libelf.h): Changed to libelf/libelf.h. - * lto/lto-read.c (ADD_CLASS_FLAG, ADD_EXPR_FLAG): Changed + * lto-elf.c (libelf.h): Changed to libelf/libelf.h. + * lto-read.c (ADD_CLASS_FLAG, ADD_EXPR_FLAG): Changed expr->common to expr->base. (make_new_block): Moved stmt_list to proper place. - -2007-03-14 Robert Kennedy +2007-03-14 Robert Kennedy Eliminate use of lang_hooks.set_decl_assembler_name from LTO * lto.c (lto_read_subroutine_type_subprogram_DIE) Get DECL @@ -6091,7 +6088,7 @@ (lto_read_form): Change first argument to lto_info_fd *. Add FORM_CONTEXT argument. Handle DW_FORM_ref_addr. - (lto_read_tag_DIE): Change first argument to lto_info_fd *. + (lto_read_tag_DIE): Change first argument to lto_info_fd *. (LTO_BEGIN_READ_ATTRS_UNCHECKED): Save old context. Swap contexts if necessary for form. (LTO_BEGIN_READ_ATTRS): Cast fd to right type for @@ -6114,7 +6111,7 @@ * lto.h (DWARF2_CompUnit): New structure. (lto_info_fd): Ditto. (lto_file): Change debug_info to be an lto_info_fd. - + 2006-06-25 Mark Mitchell * lto.c (toplev.h): Include it. @@ -6173,7 +6170,7 @@ (lto_file): Use new types. (lto_file_close): Declare. * lto-lang.c (lto_init): Always use unit-at-a-time mode. - + 2006-06-18 Mark Mitchell * lto.h: New file. @@ -6183,7 +6180,7 @@ (lto.h): Likewise. (lto_init): New function. (lto_write_globals): Remove. - (LANG_HOOKS_WRITE_GLOBALS): Define to lhd_do_nothing. + (LANG_HOOKS_WRITE_GLOBALS): Define to lhd_do_nothing. (LANG_HOOKS_INIT): Define. (LANG_HOOKS_PARSE_FILE): Likewise. * Make-lang.in (LTO_OBJS): Add lto.o and lto-elf.o. Index: po/ChangeLog =================================================================== --- po/ChangeLog (revision 274249) +++ po/ChangeLog (revision 274250) @@ -1580,7 +1580,7 @@ 2010-01-11 Joseph Myers Shujing Zhao - + PR translation/42467 * exgettext: Keep the text before tab character in the option help string at *.opt file. @@ -3630,7 +3630,7 @@ notice and this notice are preserved. 2010-01-11 Joseph Myers Shujing Zhao - + PR translation/42467 * exgettext: Keep the text before tab character in the option help string at *.opt file. Jakub