Skip to content
Snippets Groups Projects
  1. May 29, 2020
    • H.J. Lu's avatar
      Avoid nested save_CFLAGS and save_LDFLAGS · 9051b548
      H.J. Lu authored
      Avoid nested save_CFLAGS and save_LDFLAGS by replacing save_CFLAGS and
      save_LDFLAGS with cet_save_CFLAGS and cet_save_LDFLAGS in cet.m4.
      
      config/
      
      	PR bootstrap/95413
      	* cet.m4: Replace save_CFLAGS and save_LDFLAGS with
      	cet_save_CFLAGS and cet_save_LDFLAGS.
      
      gcc/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libatomic/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libbacktrace/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libcc1/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libcpp/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libdecnumber/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libgcc/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libgfortran/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libgomp/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libiberty/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libitm/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libobjc/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libphobos/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libquadmath/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libsanitizer/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libssp/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libstdc++-v3/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libvtv/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      lto-plugin/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      zlib/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      9051b548
    • Harald Anlauf's avatar
      PR fortran/95090 - ICE: identifier overflow · 7deca8c0
      Harald Anlauf authored
      The initial fix for this PR uncovered several latent issues with further
      too small string buffers which showed up only when testing on i686.
      Provide sufficiently large temporaries.
      
      2020-05-29  Harald Anlauf  <anlauf@gmx.de>
      
      gcc/fortran/
      	PR fortran/95090
      	* class.c (get_unique_type_string): Enlarge temporary for
      	name-mangling.  Use strncpy to prevent buffer overrun.
      	(get_unique_hashed_string): Enlarge temporary.
      	(gfc_hash_value): Enlarge temporary for name-mangling.
      7deca8c0
    • Jakub Jelinek's avatar
      libgfortran: Export forgotten _gfortran_{,m,s}findloc{0,1}_c10 [PR95390] · 316fe6b4
      Jakub Jelinek authored
      I have noticed we don't export these 6 symbols and thus the testcase
      below fails to link.
      
      2020-05-29  Jakub Jelinek  <jakub@redhat.com>
      
      	PR libfortran/95390
      	* gfortran.dg/findloc_8.f90: New test.
      
      	* Makefile.am (i_findloc0_c): Add findloc0_i10.c.
      	(i_findloc1_c): Add findloc1_i10.c.
      	* gfortran.map (GFORTRAN_10.2): New symbol version, export
      	_gfortran_{,m,s}findloc{0,1}_c10 symbols.
      	* Makefile.in: Regenerated.
      	* generated/findloc0_c10.c: Generated.
      	* generated/findloc1_c10.c: Generated.
      316fe6b4
    • Marek Polacek's avatar
      c++: Fix bogus -Wparentheses warning [PR95344] · 1f32d529
      Marek Polacek authored
      Since r267272, which added location wrappers, cp_fold loses
      TREE_NO_WARNING on a MODIFY_EXPR that finish_parenthesized_expr set, and
      that results in a bogus -Wparentheses warning.
      
      I.e., previously we had "b = 1" but now we have "VIEW_CONVERT_EXPR<bool>(b) = 1"
      and cp_fold_maybe_rvalue folds away the location wrapper and so we do
      2718             x = fold_build2_loc (loc, code, TREE_TYPE (x), op0, op1);
      in cp_fold and the flag is lost.
      
      	PR c++/95344
      	* cp-gimplify.c (cp_fold) <case MODIFY_EXPR>: Don't set
      	TREE_THIS_VOLATILE here.
      	(cp_fold): Set it here along with TREE_NO_WARNING.
      
      	* c-c++-common/Wparentheses-2.c: New test.
      1f32d529
    • Jason Merrill's avatar
      c++: vptr ubsan and derived class [PR95311]. · 8e915901
      Jason Merrill authored
      We weren't able to find OBJ_TYPE_REF_OBJECT walking through
      OBJ_TYPE_REF_EXPR because we had folded away the ADDR_EXPR.
      
      gcc/cp/ChangeLog:
      
      	PR c++/95311
      	PR c++/95221
      	* class.c (build_vfn_ref): Don't fold the INDIRECT_REF.
      
      gcc/testsuite/ChangeLog:
      
      	PR c++/95311
      	* g++.dg/ubsan/vptr-16.C: New test.
      8e915901
    • Iain Buclaw's avatar
      contrib: Remove rs6000-ibm-aix5.3.0 from config-list.mk · 83c34c44
      Iain Buclaw authored
      contrib/ChangeLog:
      
      	* config-list.mk (LIST): Remove rs6000-ibm-aix5.3.0.
      83c34c44
    • Martin Liska's avatar
      Error for missing change description in git_commit.py. · b9ca913b
      Martin Liska authored
      contrib/ChangeLog:
      
      	* gcc-changelog/git_commit.py: Find empty change descriptions.
      	* gcc-changelog/test_email.py: New test.
      	* gcc-changelog/test_patches.txt: New patch that tests that.
      b9ca913b
    • Martin Liska's avatar
      bugzilla-close-candidate.py: Fix sorting of branches. · 5e54b01f
      Martin Liska authored
      Pushed to master.
      
      maintainer-scripts/ChangeLog:
      
      	* bugzilla-close-candidate.py: Fix sorting of branches.
      5e54b01f
    • Martin Liska's avatar
      Fix parsing of SVN commits in PRs. · bd4291a1
      Martin Liska authored
      Tested and pushed to master.
      
      maintainer-scripts/ChangeLog:
      
      	* bugzilla-close-candidate.py: Fix parsing of SVN revisions.
      	Fix skipping of PRs that contain Can be closed message.
      bd4291a1
    • Patrick Palka's avatar
      c++: lambdas inside constraints [PR92652] · 020d86db
      Patrick Palka authored
      When parsing a constraint-expression, a requires-clause or a
      requires-expression, we temporarily increment processing_template_decl
      so that we always obtain template trees which we could later reduce via
      substitution even when not inside a template.
      
      But incrementing processing_template_decl when we're already inside a
      template has the unintended side effect of shifting up the template
      parameter levels of a lambda defined inside one of these constructs,
      which leads to confusion later during substitution into the lambda.
      
      This patch fixes this issue by incrementing processing_template_decl
      during parsing of these constructs only if it is 0.
      
      Passes 'make check-c++', and also tested by building cmcstl2, does this
      look OK to commit after a full bootstrap/regtest?
      
      gcc/cp/ChangeLog:
      
      	PR c++/92652
      	PR c++/93698
      	PR c++/94128
      	* parser.c (cp_parser_requires_clause_expression): Temporarily
      	increment processing_template_decl only if it is 0.
      	(cp_parser_constraint_expression): Likewise.
      	(cp_parser_requires_expression): Likewise.
      
      gcc/testsuite/ChangeLog:
      
      	PR c++/92652
      	PR c++/93698
      	PR c++/94128
      	* g++.dg/cpp2a/concepts-lambda8.C: New test.
      	* g++.dg/cpp2a/concepts-lambda9.C: New test.
      	* g++.dg/cpp2a/concepts-lambda10.C: New test.
      020d86db
    • Patrick Palka's avatar
      c++: constexpr ctor with RANGE_EXPR index [PR95241] · e069285c
      Patrick Palka authored
      In the testcase below, the CONSTRUCTOR for 'field' contains a RANGE_EXPR
      index:
      
        {{aggr_init_expr<...>, [1...2]={.off=1}}}
      
      but get_or_insert_ctor_field isn't prepared to handle looking up a
      RANGE_EXPR index.
      
      This patch adds limited support to get_or_insert_ctor_field for looking
      up a RANGE_EXPR index.  The limited scope of this patch should make it
      more suitable for backporting, and more extensive support would be
      needed only to handle self-modifying CONSTRUCTORs that contain a
      RANGE_EXPR index, but I haven't yet been able to come up with a testcase
      that actually creates such a CONSTRUCTOR.
      
      gcc/cp/ChangeLog:
      
      	PR c++/95241
      	* constexpr.c (get_or_insert_ctor_field): Add limited support
      	for RANGE_EXPR index lookups.
      
      gcc/testsuite/ChangeLog:
      
      	PR c++/95241
      	* g++.dg/cpp0x/constexpr-array25.C: New test.
      e069285c
    • Martin Liska's avatar
      Port bugzilla-close-candidate script to git. · c92716b2
      Martin Liska authored
      maintainer-scripts/ChangeLog:
      
      	* bugzilla-close-candidate.py: Support both SVN and GIT messages
      	in PRs. Remove need of usage of the bugzilla API key.
      c92716b2
    • Andrew Stubbs's avatar
      amdgcn: Fix VCC early clobber · 961c2aac
      Andrew Stubbs authored
      gcc/ChangeLog:
      
      2020-05-28  Andrew Stubbs  <ams@codesourcery.com>
      
      	* config/gcn/gcn-valu.md (add<mode>3_vcc_zext_dup): Add early clobber.
      	(add<mode>3_vcc_zext_dup_exec): Likewise.
      	(add<mode>3_vcc_zext_dup2): Likewise.
      	(add<mode>3_vcc_zext_dup2_exec): Likewise.
      961c2aac
    • François Dumont's avatar
      libstdc++: Review unordered_map insert_or_assign/try_emplace (PR 95079) · 7688e5e8
      François Dumont authored
      Those methods are making a double lookup in case of insertion, they can
      perform only one.
      
      	PR libstdc++/95079
      	* include/bits/hashtable_policy.h (_Insert_base<>::try_emplace): New.
      	* include/bits/unordered_map.h (unordered_map<>::try_emplace): Adapt.
      	(unordered_map<>::insert_or_assign): Adapt.
      7688e5e8
    • Richard Biener's avatar
      tree-optimization/95272 - add SLP_TREE_REPRESENTATIVE · c735929a
      Richard Biener authored
      This adds SLP_TREE_REPRESENTATIVE - a representative stmt-info that
      is used by SLP analysis and code generation.  This avoids the need
      for the hack in vect_slp_rearrange_stmts which previously avoided
      to re-arrange stmts that might not have been isomorphic because
      of operand swapping.  It also plays nice with future directions of SLP
      and for the forseeable future is easier than replicating more and
      more info in the SLP node as long as non-SLP is in-tree.
      
      2020-05-29  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/95272
      	* tree-vectorizer.h (_slp_tree::representative): Add.
      	(SLP_TREE_REPRESENTATIVE): Likewise.
      	* tree-vect-loop.c (vectorizable_reduction): Adjust SLP
      	node gathering.
      	(vectorizable_live_operation): Use the representative to
      	attach the reduction info to.
      	* tree-vect-slp.c (_slp_tree::_slp_tree): Initialize
      	SLP_TREE_REPRESENTATIVE.
      	(vect_create_new_slp_node): Likewise.
      	(slp_copy_subtree): Copy it.
      	(vect_slp_rearrange_stmts): Re-arrange even COND_EXPR stmts.
      	(vect_slp_analyze_node_operations_1): Pass the representative
      	to vect_analyze_stmt.
      	(vect_schedule_slp_instance): Pass the representative to
      	vect_transform_stmt.
      
      	* gcc.dg/vect/pr95272.c: New testcase.
      c735929a
    • Richard Biener's avatar
      tree-optimization/95356 - more vectorizable_shift massaging · ddf90b72
      Richard Biener authored
      The previous fix clashed with the rewrite to emit SLP invariants
      during the SLP walk.  Thus the following adjusts the SLP tree
      hacking vectorizable_shift does appropriately.
      
      Still resisting the attempt of a rewrite of vectorizable_shift ...
      
      2020-05-29  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/95356
      	* tree-vect-stmts.c (vectorizable_shift): Do in-place SLP
      	node hacking during analysis.
      ddf90b72
    • Jan Hubicka's avatar
      Fix streamer desynchornization caused by streamer debugging patch · 11041c31
      Jan Hubicka authored
      it turns out I lost one hunk in the patch disabling extra streaming
      which causes streamer to go out of sync in the case non-trivial scc
      containing the node being streamed appears in local stream (which seems
      quite rare since it does not happen during bootstrap).
      
      2020-05-29  Jan Hubicka  <hubicka@ucw.cz>
      
      	PR lto/95362
      	* lto-streamer-out.c (lto_output_tree): Disable redundant streaming.
      11041c31
    • Martin Liska's avatar
      Remove references to SVN in libsanitizer. · 6bee5ffd
      Martin Liska authored
      Simple documentation update based on usage of GIT by both
      LLVM and GCC.
      
      libsanitizer/ChangeLog:
      
      	* HOWTO_MERGE: Do not mention not existing argument.
      	* README.gcc: Update LLVM repository location.
      6bee5ffd
    • Martin Liska's avatar
      Fix various limitations of git-backport.py. · 24663f1f
      Martin Liska authored
      I've just tested the script and I'm going to install the patch
      to all active branches.
      
      contrib/ChangeLog:
      
      	* git-backport.py: The script did 'git co HEAD~' when
      	there was no modified ChangeLog file in a successful
      	git cherry pick.
      	Run cherry-pick --continue without editor.
      24663f1f
    • Richard Biener's avatar
      tree-optimization/95403 - guard vect_init_vector_1 against NULL stmt_info · 233ecb5e
      Richard Biener authored
      2020-05-29  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/95403
      	* tree-vect-stmts.c (vect_init_vector_1): Guard against NULL
      	stmt_vinfo.
      
      	* gfortran.dg/vect/pr95403.f: New testcase.
      233ecb5e
    • Jakub Jelinek's avatar
      openmp: One omp_resolve_declare_variant followup · 3d0675f3
      Jakub Jelinek authored
      As noticed by Arseny, I got the condition when to call the add removal hook
      wrong wrong.  Fixed thusly.
      
      2020-05-28  Jakub Jelinek  <jakub@redhat.com>
      
      	PR middle-end/95315
      	* omp-general.c (omp_resolve_declare_variant): Fix up addition of
      	declare variant cgraph node removal callback.
      
      	* gcc.dg/gomp/pr95315-2.c: New test.
      3d0675f3
    • Jakub Jelinek's avatar
      expander: Optimize store_expr from STRING_CST [PR95052] · 43a4fc09
      Jakub Jelinek authored
      In the following testcase, store_expr of e.g. 97 bytes long string literal
      into 1MB long array is implemented by copying the 97 bytes from .rodata
      section, followed by clearing the remaining bytes.  But, as the STRING_CST
      has type char[1024*1024], we actually allocate whole 1MB in .rodata section
      for it, even when we only use the first 97 bytes from that.
      
      The following patch tweaks it so that if we are going to initialize only the
      small part from it, we don't emit all the zeros that we never use after it.
      
      2020-05-29  Jakub Jelinek  <jakub@redhat.com>
      
      	PR middle-end/95052
      	* expr.c (store_expr): If expr_size is constant and significantly
      	larger than TREE_STRING_LENGTH, set temp to just the
      	TREE_STRING_LENGTH portion of the STRING_CST.
      
      	* gcc.target/i386/pr95052.c: New test.
      43a4fc09
    • Richard Biener's avatar
      tree-optimization/95393 - fold MIN/MAX_EXPR generated by phiopt · 07852a81
      Richard Biener authored
      This makes sure to fold generated stmts so they do not survive
      until RTL expansion and cause awkward code generation.
      
      2020-05-29  Richard Biener <rguenther@suse.de>
      
      	PR tree-optimization/95393
      	* tree-ssa-phiopt.c (minmax_replacement): Use gimple_build
      	to build the min/max expression so we simplify cases like
      	MAX(0, s) immediately.
      
      	* gcc.dg/tree-ssa/phi-opt-21.c: New testcase.
      	* g++.dg/vect/slp-pr87105.cc: Adjust.
      07852a81
    • Joe Ramsay's avatar
      aarch64: add support for unpacked EOR, ORR and AND · 6802b5ba
      Joe Ramsay authored
      Extended patterns for these instructions to support unpacked vectors.
      BIC will have to wait, as there is not currently support for unpacked
      NOT.
      
      2020-05-29  Joe Ramsay  <joe.ramsay@arm.com>
      
      gcc/
      	* config/aarch64/aarch64-sve.md (<LOGICAL:optab><mode>3): Add support
      	for unpacked EOR, ORR, AND.
      
      gcc/testsuite/
      	* gcc.target/aarch64/sve/load_const_offset_2.c: Force using packed
      	vectors.
      	* gcc.target/aarch64/sve/logical_unpacked_and_1.c: New test.
      	* gcc.target/aarch64/sve/logical_unpacked_and_2.c: New test.
      	* gcc.target/aarch64/sve/logical_unpacked_and_3.c: New test.
      	* gcc.target/aarch64/sve/logical_unpacked_and_4.c: New test.
      	* gcc.target/aarch64/sve/logical_unpacked_and_5.c: New test.
      	* gcc.target/aarch64/sve/logical_unpacked_and_6.c: New test.
      	* gcc.target/aarch64/sve/logical_unpacked_and_7.c: New test.
      	* gcc.target/aarch64/sve/logical_unpacked_eor_1.c: New test.
      	* gcc.target/aarch64/sve/logical_unpacked_eor_2.c: New test.
      	* gcc.target/aarch64/sve/logical_unpacked_eor_3.c: New test.
      	* gcc.target/aarch64/sve/logical_unpacked_eor_4.c: New test.
      	* gcc.target/aarch64/sve/logical_unpacked_eor_5.c: New test.
      	* gcc.target/aarch64/sve/logical_unpacked_eor_6.c: New test.
      	* gcc.target/aarch64/sve/logical_unpacked_eor_7.c: New test.
      	* gcc.target/aarch64/sve/logical_unpacked_orr_1.c: New test.
      	* gcc.target/aarch64/sve/logical_unpacked_orr_2.c: New test.
      	* gcc.target/aarch64/sve/logical_unpacked_orr_3.c: New test.
      	* gcc.target/aarch64/sve/logical_unpacked_orr_4.c: New test.
      	* gcc.target/aarch64/sve/logical_unpacked_orr_5.c: New test.
      	* gcc.target/aarch64/sve/logical_unpacked_orr_6.c: New test.
      	* gcc.target/aarch64/sve/logical_unpacked_orr_7.c: New test.
      	* gcc.target/aarch64/sve/scatter_store_6.c: Force using packed vectors.
      	* gcc.target/aarch64/sve/scatter_store_7.c: Force using packed vectors.
      	* gcc.target/aarch64/sve/strided_load_3.c: Force using packed vectors.
      	* gcc.target/aarch64/sve/strided_store_3.c: Force using packed vectors.
      	* gcc.target/aarch64/sve/unpack_signed_1.c: Force using packed vectors.
      6802b5ba
    • Martin Liska's avatar
      git_commit: fix duplicite email address. · 697eab1b
      Martin Liska authored
      The patch is about to handle situations like seen
      in 3ea6977d.
      
      contrib/ChangeLog:
      
      	* gcc-changelog/git_commit.py: Properly
      	handle duplicite authors.
      	* gcc-changelog/test_email.py: New test.
      	* gcc-changelog/test_patches.txt: New patch.
      697eab1b
    • GCC Administrator's avatar
      Daily bump. · 53ffb43a
      GCC Administrator authored
      53ffb43a
  2. May 28, 2020
    • Jakub Jelinek's avatar
      c++: Try to complete decomp types [PR95328] · 3d8d5ddb
      Jakub Jelinek authored
      Two years ago Paolo has added the
        else if (processing_template_decl && !COMPLETE_TYPE_P (type))
          pedwarn (...);
      lines into cp_finish_decomp.  For type dependent decl we punt much earlier,
      but even for types which aren't type dependent COMPLETE_TYPE_P might be
      false as this testcase shows, so this patch tries to complete_type first
      (the reason for writing it that way is that it is then followed by another
      else if and if complete_type returns error_mark_node, we shouldn't report
      anything, as a bug should have been reported already.
      
      2020-05-28  Jakub Jelinek  <jakub@redhat.com>
      
      	PR c++/95328
      	* decl.c (cp_finish_decomp): Call complete_type before checking
      	COMPLETE_TYPE_P.
      
      	* g++.dg/cpp1z/decomp53.C: New test.
      3d8d5ddb
    • Harald Anlauf's avatar
      PR fortran/95373 - ICE in build_reference_type, at tree.c:7942 · 5c715e6a
      Harald Anlauf authored
      The use of KIND, LEN, RE, and IM inquiry references for applicable intrinsic
      types is valid only for suffienctly new Fortran standards.  Add appropriate
      check.
      
      2020-05-28  Harald Anlauf  <anlauf@gmx.de>
      
      gcc/fortran/
      	PR fortran/95373
      	* primary.c (is_inquiry_ref): Check validity of inquiry
      	references against selected Fortran standard.
      
      gcc/testsuite/
      	PR fortran/95373
      	* gfortran.dg/pr95373_1.f90: New test.
      	* gfortran.dg/pr95373_2.f90: New test.
      5c715e6a
    • Harald Anlauf's avatar
      PR fortran/95104 - Segfault on a legal WAIT statement · 6ce3d791
      Harald Anlauf authored
      The initial commit for this PR uncovered a latent issue with unit locking
      in the Fortran run-time library.  Add check for valid unit.
      
      2020-05-28  Harald Anlauf  <anlauf@gmx.de>
      
      libgfortran/
      	PR libfortran/95104
      	* io/unit.c (unlock_unit): Guard by check for NULL pointer.
      6ce3d791
    • Jason Merrill's avatar
      c++: Immediately deduce auto member [PR94926]. · 7b599b9f
      Jason Merrill authored
      In r9-297 I was trying to be more flexible and treat static data members of
      class templates more like variable templates, where the type need not be
      determined until the variable is instantiated, but I suppose that in a class
      the types of all the non-template members need to be determined at the time
      of class instantiation.
      
      gcc/cp/ChangeLog:
      
      	PR c++/94926
      	* decl.c (cp_finish_decl): Revert r9-297 change.
      	(check_static_variable_definition): Likewise.
      	* constexpr.c (ensure_literal_type_for_constexpr_object): Likewise.
      	* pt.c (instantiate_decl): Return early on type error.
      
      gcc/testsuite/ChangeLog:
      
      	* g++.dg/cpp1z/pr86648.C: Expect error.
      	* g++.dg/cpp1z/static2.C: Expect error.
      	* g++.dg/cpp0x/nsdmi16.C: New test.
      7b599b9f
    • Nicolás Bértolo's avatar
      jit: port libgccjit to Windows · c83027f3
      Nicolás Bértolo authored
      2020-05-28  Nicolas Bértolo  <nicolasbertolo@gmail.com>
      
      /ChangeLog:
      	* configure.ac: Don't require --enable-host-shared when building
      	for Mingw.
      	* configure: Regenerate.
      
      2020-05-28  Nicolas Bértolo  <nicolasbertolo@gmail.com>
      
      gcc/ChangeLog:
      	* Makefile.in: don't look for libiberty in the "pic" subdirectory
      	when building for Mingw. Add dependency on xgcc with the proper
      	extension.
      
      2020-05-28  Nicolas Bértolo  <nicolasbertolo@gmail.com>
      
      gcc/c/ChangeLog:
      	* Make-lang.in: Remove extra slash.
      
      2020-05-28  Nicolas Bértolo  <nicolasbertolo@gmail.com>
      
      gcc/jit/ChangeLog:
      	* Make-lang.in: Remove extra slash. Build libgccjit.dll and its
      	import library in Windows.
      	* config-lang.in: Update comment about --enable-host-shared.
      	* jit-w32.h: New file.
      	* jit-w32.c: New file.
      	(print_last_error): New function that prints the error
      	string corresponding to GetLastError().
      	(get_TOKEN_USER_current_user): Helper function used for getting
      	the SID belonging to the current user.
      	(create_directory_for_current_user): Helper function to create
      	a directory with permissions such that only the current user can
      	access it.
      	(win_mkdtemp): Create a temporary directory using Windows APIs.
      	* jit-playback.c: Do not chmod files in Windows. Use LoadLibrary,
      	FreeLibrary and GetProcAddress instead of libdl.
      	* jit-result.h, jit-result.c: Introduce result::handle_t to
      	abstract over the types used for dynamic library handles.
      	* jit-tempdir.c: Do not use mkdtemp() in Windows, use
      	win_mkdtemp().
      c83027f3
    • Jeff Law's avatar
      Finish prior patch · ccf4e86d
      Jeff Law authored
      	* config/h8300/logical.md (bclrhi_msx): Remove pattern.
      ccf4e86d
    • Jeff Law's avatar
      Fix incorrect code generation with bit insns on H8/SX. · f04f2fcd
      Jeff Law authored
      	* config/h8300/logical.md (HImode H8/SX bit-and splitter): Don't
      	make a nonzero adjustment to the memory offset.
      	(b<ior,xor>hi_msx): Turn into a splitter.
      f04f2fcd
    • Eric Botcazou's avatar
      Fix off-by-one error in previous commit · 2815558a
      Eric Botcazou authored
      The bitregion_end field points to the next bit after the region.
      
      gcc/ChangeLog
      	* gimple-ssa-store-merging.c (merged_store_group::can_be_merged_into):
      	Fix off-by-one error.
      2815558a
    • Marek Polacek's avatar
      c++: Fix initlist-array12.C · 4833c1ad
      Marek Polacek authored
      	* g++.dg/cpp0x/initlist-array12.C: Fix the definition of
      	initializer_list for ilp32 target.
      4833c1ad
    • Marek Polacek's avatar
      c++: Fix tmplattr10.C · 1b1932a4
      Marek Polacek authored
      This test uses C++11 features so should only run in c++11.
      
      	* g++.dg/ext/tmplattr10.C: Only run in c++11.
      1b1932a4
    • H.J. Lu's avatar
      Revert "Add missing ChangeLog entry for r11-694" · 125e0ff3
      H.J. Lu authored
      This reverts commit 7e58fe0e.
      125e0ff3
    • H.J. Lu's avatar
      Add missing ChangeLog entry for r11-694 · 7e58fe0e
      H.J. Lu authored
      7e58fe0e
    • H.J. Lu's avatar
      gcc.dg/builtin-bswap-10.c: Check "! int128" · 4d80ebea
      H.J. Lu authored
      Check "! int128" instead of ilp32 since ILP32 targets can support int128.
      
      gcc/testsuite/
      
      	* gcc.dg/builtin-bswap-10.c: Check "! int128" instead of ilp32
      4d80ebea
    • Mark Eggleston's avatar
      Fortran : "type is( real(kind(1.)) )" spurious syntax error PR94397 · 3ea6977d
      Mark Eggleston authored
      Based on a patch in the comments of the PR. That patch fixed this
      problem but caused the test cases for PR93484 to fail. It has been
      changed to reduce initialisation expressions if the expression is
      not EXPR_VARIABLE and not EXPR_CONSTANT.
      
      2020-05-28  Steven G. Kargl  <kargl@gcc.gnu.org>
      	    Mark Eggleston  <markeggleston@gcc.gnu.org>
      
      gcc/fortran/
      
      	PR fortran/94397
      	* match.c (gfc_match_type_spec): New variable ok initialised
      	to true. Set ok with the return value of gfc_reduce_init_expr
      	called only if the expression is not EXPR_CONSTANT and is not
      	EXPR_VARIABLE. Add !ok to the check for type not being integer
      	or the rank being greater than zero.
      
      2020-05-28  Mark Eggleston  <markeggleston@gcc.gnu.org>
      
      gcc/testsuite/
      
      	PR fortran/94397
      	* gfortran.dg/pr94397.F90: New test.
      3ea6977d
Loading