1. 21 May, 2019 12 commits
    • Add missing "" for dg-require-ifunc. · 3b0657dc
      2019-05-21  Martin Liska  <mliska@suse.cz>
      
      	* gcc.target/i386/pr90500-1.c: Add missing '""'.
      	* gcc.target/i386/pr90500-2.c: Likewise.
      
      From-SVN: r271462
      Martin Liska committed
    • Don't split non-critical edges in crited · d8bbf1d9
      gcc/ChangeLog:
      
              * tree-cfg.h (split_critical_edges): Add for_edge_insertion_p
      	parameter with default value false to declaration.
              (split_edges_for_insertion): New inline function.  Wrapper for
      	split_critical_edges with for_edge_insertion_p = true.
              * tree-cfg.c (split_critical_edges): Don't split non-critical
      	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.
      	(pass_data_sink_code): Update function name in the comment.
      
      From-SVN: r271461
      Vladislav Ivanishin committed
    • tree-ssa-uninit: suppress more spurious warnings · 0f8e84c6
      	* tree-ssa-uninit.c (value_sat_pred_p): This new function is a wrapper
              around is_value_included_in that knows how to handle BIT_AND_EXPR.
              (is_pred_expr_subset_of): Use the new function.  Handle more cases where
              code1 == EQ_EXPR and where code1 == BIT_AND_EXPR and thus fix some false
              positives.
      
      testsuite/
              * gcc.dg/uninit-28-gimple.c: New test.
              * gcc.dg/uninit-29-gimple.c: New test.
              * gcc.dg/uninit-30-gimple.c: New test.
              * gcc.dg/uninit-31-gimple.c: New test.
      
      From-SVN: r271460
      Vladislav Ivanishin committed
    • contrib/mklog: Open files in text mode · 36902ed6
      Due to the python 3 conversion, files should be opened in text mode,
      matching stdin/stdout.
      
      2019-05-21  Janne Blomqvist  <jb@gcc.gnu.org>
      
      	* mklog: Open files in text mode.
      
      From-SVN: r271459
      Janne Blomqvist committed
    • Enable -O2 for pr90263.c test. · 9c4ab6fa
      2019-05-21  Martin Liska  <mliska@suse.cz>
      
      	* gcc.dg/pr90263.c: Add -O2.
      
      From-SVN: r271458
      Martin Liska committed
    • c-ada-spec.h (enum cpp_operation): Add IS_ASSIGNMENT_OPERATOR. · 419ba5b9
      c-family/
      	* c-ada-spec.h (enum cpp_operation): Add IS_ASSIGNMENT_OPERATOR.
      	* c-ada-spec.c (print_assignment_operator): New function.
      	(dump_ada_declaration) <FUNCTION_DECL>: Call it do dump explicit copy
      	assignment operators declared as methods and filter out the others.
      cp/
      	* decl2.c (cpp_check) <IS_ASSIGNMENT_OPERATOR>: New case.
      
      From-SVN: r271457
      Eric Botcazou committed
    • Convert contrib/mklog script to Python 3 · eaa6a39d
      Upstream will drop support for Python 2.x on January 1, 2020.  This
      patch converts the contrib/mklog script to Python 3.  The process for
      the conversion was as follows.
      
      - Use the futurize tool (https://python-future.org ) to apply the
        print_with_import, except, and dict transformations.
      
      - Remove the "from __future__ import print_function".
      
      - Change the shebang line to search for python3 in the environment.
      
      - Modify the run() function to return a str instead of bytes.
      
      - Update the copyright year.
      
      contrib/ChangeLog:
      
      2019-05-21  Janne Blomqvist  <jb@gcc.gnu.org>
      
              * mklog: Convert to Python 3.
      
      From-SVN: r271456
      Janne Blomqvist committed
    • fix diagnostic quoting/spelling in rs6000 · cb7ac91b
      2019-05-21  Martin Liska  <mliska@suse.cz>
      
      	* config/rs6000/driver-rs6000.c (elf_platform): Do not use
      	an extra newline.
      	* config/rs6000/rs6000-c.c (rs6000_pragma_longcal): Wrap pragma in %<%>.
      	(altivec_resolve_overloaded_builtin): Likewise for vec_lvsl and
      	vec_lvsr.
      	* config/rs6000/rs6000.c (rs6000_option_override_internal):
      	Quote a C type.
      	(rs6000_function_arg): Likewise.
      	(rs6000_expand_set_fpscr_drn_builtin): Remove trailing dot.
      	(rs6000_expand_ternop_builtin): Use interval syntax.
      	(get_element_number): Likewise.
      	(altivec_expand_builtin): Likewise.
      	(rs6000_get_function_versions_dispatcher): Quote target_clones.
      
      Fix test-suite.
      2019-05-21  Martin Liska  <mliska@suse.cz>
      
      	* gcc.target/powerpc/ppc64-abi-warn-1.c: Wrap a type.
      	* gcc.target/powerpc/pr80315-1.c: Use new interval format.
      	* gcc.target/powerpc/pr80315-2.c: Likewise.
      	* gcc.target/powerpc/pr80315-3.c: Likewise.
      	* gcc.target/powerpc/pr80315-4.c: Likewise.
      	* gcc.target/powerpc/warn-lvsl-lvsr.c: Wrap builtin names.
      
      From-SVN: r271455
      Martin Liska committed
    • Move a test-case (PR testsuite/90551). · 601071c8
      2019-05-21  Martin Liska  <mliska@suse.cz>
      
      	PR testsuite/90551
      	* pr90263.c: Move from gcc.c-torture/compile
      	into gcc.dg.
      
      From-SVN: r271454
      Martin Liska committed
    • tbb-backend effective target should check ability to link TBB · 83837311
      	    PR libstdc++/90252
      	    * testsuite/lib/libstdc++.exp (check_effective_target_tbb-backend):
      	    Changed v3_target_compile check from preprocess to executable.
      	    Added "-ltbb" to v3_target_compile flags.
      
      From-SVN: r271451
      Thomas Rodgers committed
    • Check TBB version in tbb-backed effective target check · d748c543
            * testsuite/lib/libstdc++.exp (check_effective_target_tbb-backend):
            Add check for Thread Building Blocks 2018 or later.
      
      From-SVN: r271450
      Thomas Rodgers committed
    • Daily bump. · 469528f2
      From-SVN: r271449
      GCC Administrator committed
  2. 20 May, 2019 28 commits