aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2019-04-15[NDS32] nds32*-*-linux* target using init_array/finit_array for ctor/dtor.Monk Chiang2-0/+5
gcc/ * config.gcc (nds32*-*-linux*): Set gcc_cv_initfini_array to yes. From-SVN: r270362
2019-04-15[NDS32] Rewrite PIC/TLS patterns.Monk Chiang5-23/+87
gcc/ * config/nds32/nds32-md-auxiliary.c (nds32_legitimize_pic_address): Use new PIC pattern. (nds32_legitimize_tls_address): Use new TLS pattern. (nds32_output_symrel): New. * config/nds32/nds32-protos.h (nds32_output_symrel): Declare. (nds32_alloc_relax_group_id): Ditto. * config/nds32/nds32-relax-opt.c (nds32_alloc_relax_group_id): New. (nds32_group_insns): Use nds32_alloc_relax_group_id instead of use relax_group_id. (nds32_group_tls_insn): Ditto. (nds32_group_float_insns): Ditto. * config/nds32/nds32.md (tls_le): New. (sym_got): Ditto. Co-Authored-By: Kito Cheng <kito.cheng@gmail.com> Co-Authored-By: Shiva Chen <shiva0217@gmail.com> From-SVN: r270361
2019-04-15re PR tree-optimization/90020 (-O2 -Os x86-64 wrong code generated for GNU ↵Dominique d'Humieres2-0/+7
Emacs) 2019-04-15 Dominique d'Humieres <dominiq@gcc.gnu.org> PR tree-optimization/90020 * gcc.dg/torture/pr90020.c: Add linker options for darwin. From-SVN: r270360
2019-04-15[NDS32] Provide one valid nds32 assembly instruction to check assembler ↵Chung-Ju Wu3-2/+7
debugging options and features. gcc/ * configure: Add nds32 target for dwarf2 debug_line checking. * configure.ac: Regenerated. From-SVN: r270359
2019-04-15Daily bump.GCC Administrator1-1/+1
From-SVN: r270358
2019-04-14re PR lto/89358 (Combining -std=c++14 and -std=c++17 objects gives ODR warnings)Jan Hubicka5-2/+50
PR lto/89358 * g++.dg/lto/pr89358_0.C: New testcase. * g++.dg/lto/pr89358_1.C: New testcase. * ipa-devirt.c (skip_in_fields_list_p): New. (odr_types_equivalent_p): Use it. From-SVN: r270355
2019-04-14re PR fortran/85448 (Report binding label clash with a global identifyer)Thomas Koenig3-0/+42
2019-04-14 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/85448 * gfortran.dg/bind_c_usage_33.f90: New test and... * gfortran.dg/bind_c_usage_33_c.c: Additional source. From-SVN: r270354
2019-04-14re PR fortran/89843 (CFI_section delivers incorrect result descriptor)Paul Thomas18-129/+619
2019-04-14 Paul Thomas <pault@gcc.gnu.org> PR fortran/89843 * trans-decl.c (gfc_get_symbol_decl): Assumed shape and assumed rank dummies of bind C procs require deferred initialization. (convert_CFI_desc): New procedure to convert incoming CFI descriptors to gfc types and back again. (gfc_trans_deferred_vars): Call it. * trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): Null the CFI descriptor pointer. Free the descriptor in all cases. PR fortran/89846 * expr.c (is_CFI_desc): New function. (is_subref_array): Tidy up by referencing the symbol directly. * gfortran.h : Prototype for is_CFI_desc. * trans_array.c (get_CFI_desc): New function. (gfc_get_array_span, gfc_conv_scalarized_array_ref, gfc_conv_array_ref): Use it. * trans.c (get_array_span): Extract the span from descriptors that are indirect references. PR fortran/90022 * trans-decl.c (gfc_get_symbol_decl): Make sure that the se expression is a pointer type before converting it to the symbol backend_decl type. * trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): Eliminate temporary creation for intent(in). 2019-04-14 Paul Thomas <pault@gcc.gnu.org> PR fortran/89843 * gfortran.dg/ISO_Fortran_binding_4.f90: Modify the value of x in ctg. Test the conversion of the descriptor types in the main program. * gfortran.dg/ISO_Fortran_binding_10.f90: New test. * gfortran.dg/ISO_Fortran_binding_10.c: Called by it. PR fortran/89846 * gfortran.dg/ISO_Fortran_binding_11.f90: New test. * gfortran.dg/ISO_Fortran_binding_11.c: Called by it. PR fortran/90022 * gfortran.dg/ISO_Fortran_binding_1.c: Correct the indexing for the computation of 'ans'. Also, change the expected results for CFI_is_contiguous to comply with standard. * gfortran.dg/ISO_Fortran_binding_1.f90: Correct the expected results for CFI_is_contiguous to comply with standard. * gfortran.dg/ISO_Fortran_binding_9.f90: New test. * gfortran.dg/ISO_Fortran_binding_9.c: Called by it. 2019-04-14 Paul Thomas <pault@gcc.gnu.org> PR fortran/89843 * runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc): Only return immediately if the source pointer is null. Bring forward the extraction of the gfc type. Extract the kind so that the element size can be correctly computed for sections and components of derived type arrays. Remove the free of the CFI descriptor since this is now done in trans-expr.c. (gfc_desc_to_cfi_desc): Only allocate the CFI descriptor if it is not null. (CFI_section): Normalise the difference between the upper and lower bounds by the stride to correctly calculate the extents of the section. PR fortran/89846 * runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc): Use the stride measure for the gfc span if it is not a multiple of the element length. Otherwise use the element length. PR fortran/90022 * runtime/ISO_Fortran_binding.c (CFI_is_contiguous) : Return 1 for true and 0 otherwise to comply with the standard. Correct the contiguity check for rank 3 and greater by using the stride measure of the lower dimension rather than the element length. From-SVN: r270353
2019-04-14PR d/87799 Fix D build on windows hostsJohannes Pfau2-0/+10
PR d/87799 * d-system.h (_mkdir): Forward _mkdir on MinGW to mkdir in system.h. * configure.ac: Remove d from unsupported languages on mingw and cygwin. * configure: Regenerate. From-SVN: r270349
2019-04-14Daily bump.GCC Administrator1-1/+1
From-SVN: r270344
2019-04-13* gcc.pot: Regenerate.Jakub Jelinek1-4/+9
From-SVN: r270340
2019-04-13re PR target/89093 (C++ exception handling clobbers d8 VFP register)Jakub Jelinek4-6/+24
PR target/89093 * config/arm/arm.c (arm_valid_target_attribute_rec): Use strcmp instead of strncmp when checking for thumb and arm. Formatting fixes. * gcc.target/arm/pr89093.c: New test. From-SVN: r270339
2019-04-13re PR fortran/79842 (i18n: subword translation in "Can't use the same %smodule")Dominique d'Humieres2-2/+11
2019-04-13 Dominique d'Humieres <dominiq@gcc.gnu.org> PR fortran/79842 * module.c (gfc_use_module): use complete sentences. From-SVN: r270338
2019-04-13* gcc.pot: Regenerate.Jakub Jelinek2-6995/+7051
From-SVN: r270337
2019-04-13compiler: improve type handling for string concat ops on constantsIan Lance Taylor3-8/+34
Resolve a small problem with concatenation of string constants: in a string concat X + Y where X has named type and Y has abstract string type, insure that the result has X's type, and disable folding if the both sides have a concrete type that does not match. Fixes golang/go#31412. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/171797 From-SVN: r270336
2019-04-13Daily bump.GCC Administrator1-1/+1
From-SVN: r270335
2019-04-12Commit a change missed in r270326:Martin Sebor1-20/+63
gcc/c-family/ChangeLog: PR c/88383 PR c/89288 PR c/89798 PR c/89797 * c-attribs.c (type_valid_for_vector_size): Detect excessively large sizes. (validate_attribute): Handle DECLs and expressions. (has_attribute): Handle types referenced by expressions. Avoid considering array attributes in ARRAY_REF expressions . From-SVN: r270331
2019-04-12re PR c/89933 (ICE in merge_decls, at c/c-decl.c:2517)Jakub Jelinek6-14/+44
PR c/89933 c/ * c-decl.c (merge_decls): When newdecl's type is its main variant, don't try to remove it from the variant list, but instead assert it has no variants. cp/ * decl.c (duplicate_decls): When newdecl's type is its main variant, don't try to remove it from the variant list, but instead assert it has no variants. testsuite/ * c-c++-common/pr89933.c: New test. From-SVN: r270329
2019-04-12libphobos: Add target-zlib to top-level configureIain Buclaw2-0/+16
Removes the building of zlib from within libphobos, using instead the libz_convenience.a library. ChangeLog: 2019-04-12 Iain Buclaw <ibuclaw@gdcproject.org> * configure.ac: Add target-zlib to target_libraries. * configure: Regenerate. gcc/ChangeLog: 2019-04-12 Iain Buclaw <ibuclaw@gdcproject.org> * doc/install.texi: Document --with-target-system-zlib. libphobos/ChangeLog: 2019-04-12 Iain Buclaw <ibuclaw@gdcproject.org> * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_ZLIB): Use libz_convenience.a if not using system zlib. * Makefile.in: Regenerate. * configure: Regenerate. * libdruntime/Makefile.in: Regenerate. * src/Makefile.am: Remove ZLIB_CSOURCES and AM_CFLAGS. * src/Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. From-SVN: r270328
2019-04-12extend.texi (__builtin_has_attribute): Add a clarifying note.Martin Sebor1-2/+5
gcc/ChangeLog: * doc/extend.texi (__builtin_has_attribute): Add a clarifying note. From-SVN: r270327
2019-04-12PR c/88383 - ICE calling __builtin_has_attribute on a referenceMartin Sebor13-19/+692
PR c/88383 - ICE calling __builtin_has_attribute on a reference PR c/89288 - ICE in tree_code_size, at tree.c:865 PR c/89798 - excessive vector_size silently accepted and truncated PR c/89797 - ICE on a vector_size (1LU << 33) int variable gcc/ChangeLog: PR c/89797 * targhooks.c (default_vector_alignment): Avoid assuming argument fits in SHWI. * tree.h (TYPE_VECTOR_SUBPARTS): Avoid sign overflow in a shift expression. * doc/extend.texi (__builtin_has_attribute): Add a clarifying note. gcc/c-family/ChangeLog: PR c/88383 PR c/89288 PR c/89798 PR c/89797 * c-attribs.c (type_valid_for_vector_size): Detect excessively large sizes. (validate_attribute): Handle DECLs and expressions. (has_attribute): Handle types referenced by expressions. Avoid considering array attributes in ARRAY_REF expressions . gcc/cp/ChangeLog: PR c/88383 PR c/89288 * parser.c (cp_parser_has_attribute_expression): Handle assignment expressions. gcc/testsuite/ChangeLog: PR c/88383 PR c/89288 PR c/89798 PR c/89797 * c-c++-common/attributes-1.c: Adjust. * c-c++-common/builtin-has-attribute-6.c: New test. * c-c++-common/builtin-has-attribute-7.c: New test. * c-c++-common/builtin-has-attribute-4.c: Adjust expectations. * c-c++-common/builtin-has-attribute-6.c: New test. * c-c++-common/pr71574.c: Adjust. * gcc.dg/pr25559.c: Adjust. * gcc.dg/attr-vector_size.c: New test. From-SVN: r270326
2019-04-12Avoid ICE on pmf{} in template.Jason Merrill3-0/+26
Now that we return the original CONSTRUCTOR from finish_compound_literal, the call to null_member_pointer_value_p in tsubst_copy_and_build was getting confused because the CONSTRUCTOR was still empty rather than a valid PMF value. * call.c (null_member_pointer_value_p): Handle an empty CONSTRUCTOR of PMF type. From-SVN: r270324
2019-04-12re PR rtl-optimization/89965 (wrong code with -O -mtune=nano-x2 ↵Jakub Jelinek4-2/+102
-fcaller-saves -fexpensive-optimizations -fno-tree-dce -fno-tree-ter) PR rtl-optimization/89965 * dce.c: Include rtl-iter.h. (struct check_argument_load_data): New type. (check_argument_load): New function. (find_call_stack_args): Check for loads from stack slots still tracked in sp_bytes and punt if any is found. * gcc.target/i386/pr89965.c: New test. From-SVN: r270323
2019-04-12* config/mips/loongson-mmiintrin.h: Fix up #error message.Jakub Jelinek2-2/+6
From-SVN: r270322
2019-04-12re PR translation/90041 (Command line option without proper quoting in ↵Jakub Jelinek4-4/+13
translation message) PR translation/90041 * exgettext: Print MissingArgError, UnknownError or Warn *.opt argument using error or warning instead of _ to mark it as gcc-internal-format. * c.opt (-fhandle-exceptions): Use %< and %> around option names in the Warn diagnostics. From-SVN: r270321
2019-04-12PR c++/87603 - constexpr functions are no longer noexcept.Marek Polacek11-36/+61
* constexpr.c (is_sub_constant_expr): Remove unused function. * cp-tree.h (is_sub_constant_expr): Remove declaration. * except.c (check_noexcept_r): Don't consider a call to a constexpr function noexcept. * g++.dg/cpp0x/constexpr-noexcept.C: Adjust the expected result. * g++.dg/cpp0x/constexpr-noexcept3.C: Likewise. * g++.dg/cpp0x/constexpr-noexcept4.C: Likewise. * g++.dg/cpp0x/constexpr-noexcept8.C: New test. * g++.dg/cpp0x/inh-ctor32.C: Remove dg-message. * g++.dg/cpp1y/constexpr-noexcept1.C: New test. From-SVN: r270320
2019-04-12except.c (build_noexcept_spec): Use build_converted_constant_bool_expr ↵Marek Polacek6-8/+17
instead of perform_implicit_conversion_flags. * except.c (build_noexcept_spec): Use build_converted_constant_bool_expr instead of perform_implicit_conversion_flags. * g++.dg/cpp0x/noexcept30.C: Tweak dg-error. * g++.dg/cpp0x/pr86397-1.C: Likewise. * g++.dg/cpp0x/pr86397-2.C: Likewise. From-SVN: r270319
2019-04-12invoke.texi (max-lto-streaming-paralellism): New --param.Jan Hubicka1-0/+3
* doc/invoke.texi (max-lto-streaming-paralellism): New --param. From-SVN: r270318
2019-04-12params.def (PARAM_MAX_LTO_STREAMING_PARALLELISM): New parameter.Jan Hubicka4-14/+57
* params.def (PARAM_MAX_LTO_STREAMING_PARALLELISM): New parameter. * lto.c (do_stream_out): rename to ... (stream_out): ... this one; move original code to ... (stream_out_partitions_1, stream_out_partitions): ... these new functions. (lto_wpa_write_files): Honnor lto_parallelism From-SVN: r270317
2019-04-12[testsuite][arm] Update warning prune regexMatthew Malcomson3-2/+7
r269586 changed the format of some warning messages. Each switch in the warning message is now surrounded by single quotes. This commit updates the regex's in arm.exp dejagnu files to match the new format and remove the extra 20+ FAILs on excess errors that are introduced on certain variations (e.g. arm-eabi-aem/-marm/-march=armv7-a/-mfpu=vfpv3-d16/-mfloat-abi=softfp). Regtested arm.exp with cross-compiler arm-none-eabi gcc/testsuite/ChangeLog: 2019-04-12 Matthew Malcomson <matthew.malcomson@arm.com> * g++.target/arm/arm.exp: Change format of default prune regex. * gcc.target/arm/arm.exp: Change format of default prune regex. From-SVN: r270316
2019-04-12Handle multiple 'default' in target attribute (PR middle-end/89970).Martin Liska6-15/+52
2019-04-12 Martin Liska <mliska@suse.cz> PR middle-end/89970 * multiple_target.c (create_dispatcher_calls): Wrap ifunc in error message. (separate_attrs): Handle multiple 'default's. (expand_target_clones): Rework error handling code. 2019-04-12 Martin Liska <mliska@suse.cz> PR middle-end/89970 * gcc.target/i386/mvc15.c: New test. * gcc.target/i386/mvc3.c: Quote target in error pattern. * gcc.target/i386/mvc4.c: Remove duplicit 'default'. From-SVN: r270314
2019-04-12re PR target/87532 (bad results from vec_extract(unsigned char, foo) ↵Kelvin Nilsen7-20/+36
dependent upon function inline) gcc/ChangeLog: 2019-04-12 Kelvin Nilsen <kelvin@gcc.gnu.org> PR target/87532 * config/rs6000/rs6000.c (rs6000_split_vec_extract_var): Use inner mode of vector rather than mode of destination for move instruction. * config/rs6000/vsx.md (*vsx_extract_<mode>_<VS_scalar>mode_var): Use QI inner mode with V16QI vector mode. gcc/testsuite/ChangeLog: 2019-04-12 Kelvin Nilsen <kelvin@gcc.gnu.org> PR target/87532 * gcc.target/powerpc/fold-vec-extract-char.p8.c: Adjust expected instruction counts. * gcc.target/powerpc/fold-vec-extract-int.p8.c: Likewise. * gcc.target/powerpc/fold-vec-extract-short.p8.c: Likewise. From-SVN: r270313
2019-04-12* de.po, sv.po: Update.Jakub Jelinek3-1280/+690
From-SVN: r270309
2019-04-12re PR target/52726 (Composed error message will not get translated)Jakub Jelinek2-1/+7
PR target/52726 * config/tilepro/tilepro.c (tilepro_print_operand): Use just "invalid %%t operand" in output_operand_lossage message. From-SVN: r270308
2019-04-12S/390: Fix a problem with the bswap vector patternAndreas Krebbel4-46/+105
arch13 introduced instructions to perform vector element-wise byte swaps on the way from or to memory. For a byte swap between vector registers the vector permute instruction is required which needs a permute pattern to be loaded into a vector register first. With the current implementation there is a potential problem when the decision for the reg-reg variant is made very late. This patch is supposed to fix that. With the patch the required permute pattern is generated already in the expander and attached to the bswap pattern as USE operand. The predicate in the insn_and_split pattern accepts it although the permute constant as such is not a valid constant. For the reg-reg variant only the vector register constraint is used for the permute constant forcing LRA to a) push the constant into literal pool and b) load the literal pool constant into a vector register. gcc/ChangeLog: 2019-04-12 Andreas Krebbel <krebbel@linux.ibm.com> * config/s390/predicates.md (permute_pattern_operand): New predicate. * config/s390/vector.md ("*vec_splats_bswap_vec<mode>"): Add USE operand for the permute pattern. ("*vec_perm<mode>"): New insn definition. ("bswap<mode>"): Generate the permute pattern operand in the expander and perform the operand reloads for pre arch13 level already. ("*bswap<mode>_emu"): Rename to ... ("*bswap<mode>"): ... this. And make the splitter vxe2 only. * config/s390/vx-builtins.md ("*vec_insert_and_zero_bswap<mode>"): Add the USE operand for the permute pattern. ("*vec_set_bswap_vec<mode>"): Likewise. From-SVN: r270306
2019-04-12re PR c/89946 (ICE in assemble_start_function, at varasm.c:1871)Jakub Jelinek6-17/+52
PR c/89946 * varasm.c (assemble_start_function): Don't use tree_fits_uhwi_p and gcc_unreachable if it fails, just call tree_to_uhwi which verifies that too. Test TREE_CHAIN instead of list_length > 1. Start warning message with a lower-case letter. Formatting fixes. c-family/ * c-attribs.c (handle_patchable_function_entry_attribute): Add function comment. Warn if arguments of the attribute are not positive integer constants. testsuite/ * c-c++-common/pr89946.c: New test. From-SVN: r270305
2019-04-12re PR rtl-optimization/90026 (ICE: verify_flow_info failed (error: missing ↵Jakub Jelinek4-10/+47
barrier after block 2)) PR rtl-optimization/90026 * cfgcleanup.c (try_optimize_cfg): When removing empty bb with no successors, look for BARRIERs inside of the whole BB_FOOTER chain rather than just at the start of it. If e->src BB_FOOTER is not NULL in cfglayout mode, use emit_barrier_after_bb. * g++.dg/opt/pr90026.C: New test. From-SVN: r270304
2019-04-12d: Add -fbuilding-libphobos-tests optionIain Buclaw5-8/+122
Currently, the druntime and phobos unittests are compiled as a separate check program, then ran by the libphobos.unittest/unittest.exp script. As PR d/89255 notes, this process lacks proper multilib handling. As a first step, a new internal option that instructs the compiler to put the reference to all unittest functions in another symbol has been added. This will allow each module to be compiled separately as a standalone program using dg-runtest without running into collisions in the D runtime module registry. gcc/d/ChangeLog: 2019-04-12 Iain Buclaw <ibuclaw@gdcproject.org> * d-tree.h (DECL_IN_UNITTEST_CONDITION_P): Define. * decl.cc (DeclVisitor): Add in_version_unittest_ field. (DeclVisitor::visit(ConditionalDeclaration)): New override. (DeclVisitor::visit(FuncDeclaration)): Set DECL_IN_UNITTEST_CONDITION_P. * lang.opt (-fbuilding-libphobos-tests): Add option. * modules.cc (current_testing_module): New static variable. (build_module_tree): Generate second moduleinfo symbol to hold reference to unittests if flag_building_libphobos_tests. (register_module_decl): Check DECL_IN_UNITTEST_CONDITION_P to decide which moduleinfo the decl should be registered against. From-SVN: r270301
2019-04-12d/dmd: Merge upstream dmd c185f9df1Iain Buclaw2-1/+3
Adds new virtual isVersionCondition, this is so that in the code generation pass, a ConditionDeclaration's condition can be identified without requiring a Visitor function. Reviewed-on: https://github.com/dlang/dmd/pull/9591 From-SVN: r270300
2019-04-12Daily bump.GCC Administrator1-1/+1
From-SVN: r270299
2019-04-11d/dmd: Merge upstream dmd d7ed327edIain Buclaw3-3/+12
Fixes ICE when accessing empty array in CTFE. Reviewed-on: https://github.com/dlang/dmd/pull/9563 From-SVN: r270294
2019-04-11re PR translation/89939 (messages for translation must not contain embedded ↵Thomas Koenig2-29/+43
macro parameters) 2019-04-11 Thomas Koenig <tkoenig@gcc.gnu.org> PR translation/89939 * frontend-passes.c (B_ERROR): Delete macro. (C_ERROR): Delete macro. (B_ERROR_1): New macro. (C_ERROR_1): New macro. (C_ERROR_2): New macro. (inline_matmul_assign): Use new macros. (call_external_blas): Likewise. From-SVN: r270292
2019-04-11re PR rtl-optimization/87763 (aarch64 target testcases fail after r265398)Steve Ellcey2-2/+8
2018-04-11 Steve Ellcey <sellcey@marvell.com> PR rtl-optimization/87763 * gcc.target/aarch64/combine_bfxil.c: Change some bfxil checks to bfi. From-SVN: r270289
2019-04-11re PR rtl-optimization/87763 (aarch64 target testcases fail after r265398)Steve Ellcey2-1/+20
2018-04-11 Steve Ellcey <sellcey@marvell.com> PR rtl-optimization/87763 * config/aarch64/aarch64.md (*aarch64_bfi<GPI:mode>4_noshift_alt): New Instruction. From-SVN: r270288
2019-04-11[doc] Note variable shadowing at max macro using statement expressionTom de Vries2-2/+29
When suggesting to rewrite the unsafe (with respect to multiple evaluation of arguments) macro definition: ... #define max(a,b) ((a) > (b) ? (a) : (b)) ... into the safe macro definition: ... #define maxint(a,b) \ ({int _a = (a), _b = (b); _a > _b ? _a : _b; }) ... mention the variable shadowing problem for: ... #define maxint3(a, b, c) \ ({int _a = (a), _b = (b), _c = (c); maxint (maxint (_a, _b), _c); }) ... 2019-04-11 Tom de Vries <tdevries@suse.de> * doc/extend.texi (@node Statement Exprs): Note variable shadowing at max macro using statement expression. From-SVN: r270287
2019-04-11re PR translation/90035 (Non-translatable C++ parser diagnostics)Jakub Jelinek3-20/+38
PR translation/90035 * parser.h (struct cp_parser): Add type_definition_forbidden_message_arg member. * parser.c (cp_debug_parser): Print it. (cp_parser_check_type_definition): Pass parser->type_definition_forbidden_message_arg as second argument to error. (cp_parser_has_attribute_expression, cp_parser_sizeof_operand): Set parser->type_definition_forbidden_message_arg and use G_() with %qs for parser->type_definition_forbidden_message instead of building untranslatable message using concat. From-SVN: r270286
2019-04-11xcoffout.h (xcoff_private_rodata_section_name): Declare.David Edelsohn4-4/+16
* xcoffout.h (xcoff_private_rodata_section_name): Declare. * xcoffout.c (xcoff_private_rodata_section_name): Define. * config/rs6000/rs6000.c (rs6000_xcoff_asm_init_sections): Create read_only_private_data_section using xcoff_private_rodata_section_name. (rs6000_xcoff_file_start): Generate xcoff_private_rodata_section_name. From-SVN: r270284
2019-04-11[aarch64] PR90016 - aarch64: reference to undeclared N in help for command ↵Christophe Lyon2-2/+7
line option 2019-04-11 Christophe Lyon <christophe.lyon@linaro.org> PR target/90016 * config/aarch64/aarch64.opt (msve-vector-bits): Add missing final '.'. From-SVN: r270280
2019-04-11re PR rtl-optimization/89965 (wrong code with -O -mtune=nano-x2 ↵Jakub Jelinek2-135/+75
-fcaller-saves -fexpensive-optimizations -fno-tree-dce -fno-tree-ter) PR rtl-optimization/89965 * dce.c (sp_based_mem_offset): New function. (find_call_stack_args): Use sp_based_mem_offset. From-SVN: r270278
2019-04-11Clarify documentation for -flive-patchingJonathan Wakely2-16/+21
* doc/invoke.texi (Optimize Options): Clarify -flive-patching docs. From-SVN: r270276