1. 30 May, 2017 20 commits
  2. 29 May, 2017 16 commits
    • gcc: xtensa: fix unused parameter warning · eced9b48
      2017-05-28  Max Filippov  <jcmvbkbc@gmail.com>
      gcc/
      	* config/xtensa/xtensa.c (xtensa_initial_elimination_offset):
      	Mark 'to' argument with ATTRIBUTE_UNUSED.
      
      From-SVN: r248587
      Max Filippov committed
    • gcc: xtensa: fix fprintf format specifiers · 3904010d
      HOST_WIDE_INT may not be long as assumed in print_operand and
      xtensa_emit_call. Use HOST_WIDE_INT_PRINT_DEC/HOST_WIDE_INT_PRINT_HEX
      format strings instead of %ld/0x%lx. This fixes incorrect assembly code
      generation by the compiler running on armhf host.
      
      2017-05-29  Max Filippov  <jcmvbkbc@gmail.com>
      gcc/
      	* config/xtensa/xtensa.c (xtensa_emit_call): Use
      	HOST_WIDE_INT_PRINT_HEX instead of 0x%lx format string.
      	(print_operand): Use HOST_WIDE_INT_PRINT_DEC instead of %ld
      	format string.
      
      From-SVN: r248586
      Max Filippov committed
    • install.texi (Options specification): Restore entry of --enable-sjlj-exceptions. · 4dbe373c
      	* doc/install.texi (Options specification): Restore entry of
      	--enable-sjlj-exceptions.
      
      From-SVN: r248582
      Eric Botcazou committed
    • [libcc1] drop unused field from C++ lang_identifier · b904faa0
      for  gcc/cp/ChangeLog
      
      	* cp-tree.h (lang_identifier): Drop oracle_looked_up, unused.
      
      From-SVN: r248580
      Alexandre Oliva committed
    • PR c++/80891 (#1,#5) · 3d7ff728
      	PR c++/80891 (#1,#5)
      	* cp-tree.h (lookup_maybe_add): Add DEDUPING argument.
      	* name-lookup.c (name_lookup): Add deduping field.
      	(name_lookup::preserve_state, name_lookup::restore_state): Deal
      	with deduping.
      	(name_lookup::add_overload): New.
      	(name_lookup::add_value, name_lookup::add_fns): Call add_overload.
      	(name_lookup::search_adl): Set deduping.  Don't unmark here.
      	* pt.c (most_specialized_instantiation): Revert previous change,
      	Assert not given duplicates.
      	* tree.c (lookup_mark): Just mark the underlying decls.
      	(lookup_maybe_add): Dedup using marked decls.
      
      	PR c++/80891 (#5)
      	* g++.dg/lookup/pr80891-5.C: New.
      
      From-SVN: r248578
      Nathan Sidwell committed
    • re PR fortran/53029 (missed optimization in internal read (without implied-do-loop)) · fd262197
      2017-05-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/53029
      	* list_read.c (list_formatted_read_scala): Set the err return
      	value to the common.flags error values.
      
      	* gfortran.dg/read_5.f90: New test.
      
      From-SVN: r248577
      Jerry DeLisle committed
    • PR c++/80891 (#4) · a5cfa13a
      	PR c++/80891 (#4)
      	* ptree.c (cxx_print_xnode): Show internal OVERLOAD structure.
      	* tree.c (ovl_insert, ovl_iterator_remove_node): Fix copying
      	assert.
      
      	PR c++/80891 (#4)
      	* g++.dg/lookup/pr80891-4.C: New.
      
      From-SVN: r248576
      Nathan Sidwell committed
    • Stat hack representation · 3c9cca88
      	Stat hack representation
      	* name-lookup.c (STAT_HACK_P, STAT_TYPE, STAT_DECL)
      	MAYBE_STAT_DECL, MAYBE_STAT_TYPE): New.
      	(stat_hack): New.
      	(find_namespace_binding): Replace with ...
      	(find_namespace_slot): ... this.
      	(find_namespace_value): New.
      	(name_lookup::search_namespace_only,
      	name_lookup::adl_namespace_only): Adjust.
      	(update_binding): Add SLOT parameter, adjust.
      	(check_local_shadow): Use find_namespace_value.
      	(set_local_extern_decl_linkage): Likewise.
      	(do_pushdecl): Adjust for namespace slot.
      	(push_local_binding): Assert not a namespace binding.
      	(check_for_out_of_scope_variable): Use find_namespace_value.
      	(set_identifier_type_value_with_scope): Likewise.
      	(get_namespace_binding): Likewise.
      	(set_namespace_binding): Delete.
      	(set_global_binding): Directly update the binding.
      	(finish_namespace_using_decl): Likewise.
      	(lookup_type_scope_1): Use find_namespace_slot and update.
      	(do_push_nested_namespace): Use find_namespace_value.
      
      From-SVN: r248574
      Nathan Sidwell committed
    • PR c++/80891 (#1) · e514ab0c
      	PR c++/80891 (#1)
      	* pt.c (most_specialized_instantiation): Cope with duplicate
      	instantiations.
      
      	PR c++/80891 (#1)
      	* g++.dg/lookup/pr80891-1.C: New.
      
      From-SVN: r248573
      Nathan Sidwell committed
    • PR c++/80891 (#3) · 58dec010
      	PR c++/80891 (#3)
      	* cp-tree.h (build_min_nt_call_vec): Declare.
      	* decl.c (build_offset_ref_call_from_tree): Call it.
      	* parser.c (cp_parser_postfix_expression): Likewise.
      	* pt.c (tsubst_copy_and_build): Likewise.
      	* semantics.c (finish_call_expr): Likewise.
      	* tree.c (build_min_nt_loc): Keep unresolved lookups.
      	(build_min): Likewise.
      	(build_min_non_dep): Likewise.
      	(build_min_non_dep_call_vec): Likewise.
      	(build_min_nt_call_vec): New.
      
      	PR c++/80891 (#3)
      	* g++.dg/lookup/pr80891-3.C: New.
      
      From-SVN: r248571
      Nathan Sidwell committed
    • PR c++/80891 (#2) · 724e517a
      	PR c++/80891 (#2)
      	* tree.c (ovl_copy): Adjust assert, copy OVL_LOOKUP.
      	(ovl_used): New.
      	(lookup_keep): Call it.
      
      	PR c++/80891 (#2)
      	* g++.dg/lookup/pr80891-2.C: New.
      
      From-SVN: r248570
      Nathan Sidwell committed
    • check_GNU_style_lib.py: Fix trailing whitespace check · 0a71c876
      2017-05-29  Tom de Vries  <tom@codesourcery.com>
      
      	* check_GNU_style_lib.py (TrailingWhitespaceCheck.check): Assert no
      	trailing eol.
      	(TrailingWhitespaceTest): New unit test.
      	(check_GNU_style_file): Remove eol before checking.
      
      From-SVN: r248556
      Tom de Vries committed
    • check_GNU_style.py: Read stdin if file argument is '-' · 75017bb9
      2017-05-29  Tom de Vries  <tom@codesourcery.com>
      
      	* check_GNU_style_lib.py (check_GNU_style_file): Treat file argument as
      	file handle.  Add and handle file_encoding argument.
      	* check_GNU_style.py (main): Handle '-' file argument.  Call
      	check_GNU_style_file with file handle as argument.
      
      From-SVN: r248555
      Tom de Vries committed
    • check_GNU_style_lib.py: Suggest to install all missing pip3 packages at once · 76baf5ca
      Instead of:
      ...
      $ ./contrib/check_GNU_style.py
      termcolor module is missing (run: pip3 install termcolor)
      $ pip3 install termcolor
      $ ./contrib/check_GNU_style.py
      unidiff module is missing (run: pip3 install unidiff)
      $ pip3 install unidiff
      $
      ...
      
      Do:
      ...
      $ ./contrib/check_GNU_style.py
      termcolor and unidiff modules are missing (run: pip3 install termcolor unidiff)
      $ pip3 install termcolor unidiff
      $
      ...
      
      2017-05-29  Tom de Vries  <tom@codesourcery.com>
      
      	* check_GNU_style_lib.py: Use import_pip3 to import pip3 packages.
      	(import_pip3): New function.
      
      From-SVN: r248554
      Tom de Vries committed
    • re PR fortran/37131 (inline matmul for small matrix sizes) · bbe3927b
      2017-05-29  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/37131
      	* frontend-passes.c (check_conjg_transpose_variable):
      	Add prototype.
      	(has_dimen_vector_ref):  Likewise
      	(matmul_temp_args):  New function. Add prototype.
      	(optimize_namespace):  Call matmul_temp_args.
      
      2017-05-29  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/37131
      	* gfortran.dg/promotion_2.f90: Add -finline-matmul-limit=0 to
      	flags.
      	* gfortran.dg/transpose_optimization_1.f90: Likewise.
      	* gfortran.dg/inline_matmul_17.f90:  New test.
      
      From-SVN: r248553
      Thomas Koenig committed
    • Daily bump. · 3779a0f8
      From-SVN: r248552
      GCC Administrator committed
  3. 28 May, 2017 4 commits