1. 22 Sep, 2014 34 commits
    • charset.c (conversion): Rename to ... · d87fc699
      
      	* charset.c (conversion): Rename to ...
      	(cpp_conversion): ... this one; update.
      	* files.c (file_hash_entry): Rename to ...
      	(cpp_file_hash_entry): ... this one ; update.
      
      From-SVN: r215482
      Jan Hubicka committed
    • tree-ssa-ccp.c (prop_value_d): Rename to ... · 46842bfe
      
      	* tree-ssa-ccp.c (prop_value_d): Rename to ...
      	(ccp_prop_value_t): ... this one to avoid ODR violation; update uses.
      	* ipa-prop.c (struct type_change_info): Rename to ...
      	(prop_type_change_info): ... this; update uses.
      	* ggc-page.c (globals): Rename to ...
      	(static struct ggc_globals): ... this; update uses.
      	* tree-ssa-loop-im.c (mem_ref): Rename to ...
      	(im_mem_ref): ... this; update uses.
      	* ggc-common.c (loc_descriptor): Rename to ...
      	(ggc_loc_descriptor): ... this; update uses.
      	* lra-eliminations.c (elim_table): Rename to ...
      	(lra_elim_table): ... this; update uses.
      	* bitmap.c (output_info): Rename to ...
      	(bitmap_output_info): ... this; update uses.
      	* gcse.c (expr): Rename to ...
      	(gcse_expr) ... this; update uses.
      	(occr): Rename to ...
      	(gcse_occr): .. this; update uses.
      	* tree-ssa-copy.c (prop_value_d): Rename to ...
      	(prop_value_t): ... this.
      	* predict.c (block_info_def): Rename to ...
      	(block_info): ... this; update uses.
      	(edge_info_def): Rename to ...
      	(edge_info): ... this; update uses.
      	* profile.c (bb_info): Rename to ...
      	(bb_profile_info): ... this; update uses.
      	* alloc-pool.c (output_info): Rename to ...
      	(pool_output_info): ... this; update uses.
      	* ipa-cp.c (topo_info): Rename to ..
      	(ipa_topo_info): ... this; update uses.
      	* tree-nrv.c (nrv_data): Rename to ...
      	(nrv_data_t): ... this; update uses.
      	* ipa-split.c (bb_info): Rename to ...
      	(split_bb_info): ... this one.
      	* profile.h (edge_info): Rename to ...
      	(edge_profile_info): ... this one; update uses.
      	* dse.c (bb_info): Rename to ...
      	(dse_bb_info): ... this one; update uses.
      	* cprop.c (occr): Rename to ...
      	(cprop_occr): ... this one; update uses.
      	(expr): Rename to ...
      	(cprop_expr): ... this one; update uses.
      
      From-SVN: r215481
      Jan Hubicka committed
    • tree-ssa-ccp.c (prop_value_d): Rename to ... · 11478306
      
      	* tree-ssa-ccp.c (prop_value_d): Rename to ...
      	(ccp_prop_value_t): ... this one to avoid ODR violation; update uses.
      	* ipa-prop.c (struct type_change_info): Rename to ...
      	(prop_type_change_info): ... this; update uses.
      	* ggc-page.c (globals): Rename to ...
      	(static struct ggc_globals): ... this; update uses.
      	* tree-ssa-loop-im.c (mem_ref): Rename to ...
      	(im_mem_ref): ... this; update uses.
      	* ggc-common.c (loc_descriptor): Rename to ...
      	(ggc_loc_descriptor): ... this; update uses.
      	* lra-eliminations.c (elim_table): Rename to ...
      	(lra_elim_table): ... this; update uses.
      	* bitmap.c (output_info): Rename to ...
      	(bitmap_output_info): ... this; update uses.
      	* gcse.c (expr): Rename to ...
      	(gcse_expr) ... this; update uses.
      	(occr): Rename to ...
      	(gcse_occr): .. this; update uses.
      	* tree-ssa-copy.c (prop_value_d): Rename to ...
      	(prop_value_t): ... this.
      	* predict.c (block_info_def): Rename to ...
      	(block_info): ... this; update uses.
      	(edge_info_def): Rename to ...
      	(edge_info): ... this; update uses.
      	* profile.c (bb_info): Rename to ...
      	(bb_profile_info): ... this; update uses.
      	* alloc-pool.c (output_info): Rename to ...
      	(pool_output_info): ... this; update uses.
      	* ipa-cp.c (topo_info): Rename to ..
      	(ipa_topo_info): ... this; update uses.
      	* tree-nrv.c (nrv_data): Rename to ...
      	(nrv_data_t): ... this; update uses.
      	* ipa-split.c (bb_info): Rename to ...
      	(split_bb_info): ... this one.
      	* profile.h (edge_info): Rename to ...
      	(edge_profile_info): ... this one; update uses.
      	* dse.c (bb_info): Rename to ...
      	(dse_bb_info): ... this one; update uses.
      	* cprop.c (occr): Rename to ...
      	(cprop_occr): ... this one; update uses.
      	(expr): Rename to ...
      	(cprop_expr): ... this one; update uses.
      
      From-SVN: r215480
      Jan Hubicka committed
    • semantics.c (finish_non_static_data_member): In diagnostic, give error at point… · 6863c41a
      semantics.c (finish_non_static_data_member): In diagnostic, give error at point of use and note at point of declaration.
      
      	* semantics.c (finish_non_static_data_member): In diagnostic, give
      	error at point of use and note at point of declaration.
      
      From-SVN: r215479
      Jason Merrill committed
    • re PR c++/63320 (bogus ‘this’ was not captured for this lambda function error) · a546927c
      	PR c++/63320
      	PR c++/60463
      	PR c++/60755
      	* lambda.c (maybe_resolve_dummy, lambda_expr_this_capture): Handle
      	not finding 'this'.
      
      From-SVN: r215478
      Jason Merrill committed
    • re PR c++/62219 ([c++11] Spurious error for lambda in a friend function of a… · 05424ee6
      re PR c++/62219 ([c++11] Spurious error for lambda in a friend function of a class template with a default template parameters)
      
      /cp
      2014-09-22  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/62219
      	* pt.c (check_default_tmpl_args): Check LAMBDA_FUNCTION_P.
      
      /testsuite
      2014-09-22  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/62219
      	* g++.dg/cpp0x/lambda/lambda-template14.C: New.
      
      From-SVN: r215477
      Paolo Carlini committed
    • [Testsuite] Add tests of reductions using whole-vector-shifts (ior) · 69e69c01
      	* gcc.dg/vect/vect-reduc-or_1.c: New test.
      	* gcc.dg/vect/vect-reduc-or_2.c: New test.
      
      From-SVN: r215475
      Alan Lawrence committed
    • Makefile.in (check-parallel-%): Add @. · 2eac0853
      gcc/
      	* Makefile.in (check-parallel-%): Add @.
      libstdc++-v3/
      	* testsuite/Makefile.am (%/site.exp): Add @.
      	(check-DEJAGNU): Likewise.
      	* testsuite/Makefile.in: Regenerate.
      
      From-SVN: r215474
      Jason Merrill committed
    • [Testsuite] Add tests of reductions using whole-vector-shifts (multiplication) · c50c91a9
      	* lib/target-supports.exp (check_effective_target_whole_vector_shift):
      	New.
      
      	* gcc.dg/vect/vect-reduc-mul_1.c: New test.
      	* gcc.dg/vect/vect-reduc-mul_2.c: New test.
      
      From-SVN: r215473
      Alan Lawrence committed
    • decl.c (poplevel): Don't warn about unused vars in template scope. · aed67566
      	* decl.c (poplevel): Don't warn about unused vars in template scope.
      	* error.c (dump_decl): Handle variable templates.
      
      From-SVN: r215472
      Jason Merrill committed
    • [AArch64] Auto-generate the "BUILTIN_" macros for aarch64-builtins.c · f421c516
      gcc/
      
      	* config/aarch64/geniterators.sh: New.
      	* config/aarch64/iterators.md (VDQF_DF): New.
      	* config/aarch64/t-aarch64: Generate aarch64-builtin-iterators.h.
      	* config/aarch64/aarch64-builtins.c (BUILTIN_*) Remove.
      
      From-SVN: r215471
      James Greenhalgh committed
    • Include <bits/uses_allocator.h> in <stack> and <queue>. · 7666d649
      	* include/bits/stl_queue.h: Include missing header.
      	* include/bits/stl_stack.h: Likewise.
      	* testsuite/23_containers/priority_queue/requirements/
      	uses_allocator.cc: New.
      	* testsuite/23_containers/queue/requirements/uses_allocator.cc: New.
      	* testsuite/23_containers/stack/requirements/uses_allocator.cc: New.
      
      From-SVN: r215470
      Jonathan Wakely committed
    • msp430.h (LIB_SPEC): Remove automatic addition of -lnosys when -msim absent. · 0acc6765
      	* config/msp430/msp430.h (LIB_SPEC): Remove automatic addition of
      	-lnosys when -msim absent.
      
      From-SVN: r215469
      Peter A. Bigot committed
    • status_cxx2011.xml: Update C++11 status. · bd0a790a
      	* doc/xml/manual/status_cxx2011.xml: Update C++11 status.
      	* doc/xml/manual/status_cxx2014.xml: Update TS status.
      	* doc/html/manual/status.html: Regenerate.
      
      From-SVN: r215468
      Jonathan Wakely committed
    • mutex (try_lock): Do not swallow exceptions. · 726d3136
      	* include/std/mutex (try_lock): Do not swallow exceptions.
      	* testsuite/30_threads/try_lock/4.cc: Fix test.
      
      From-SVN: r215467
      Jonathan Wakely committed
    • Fix ChangeLog date in my last commit. · ed26fe9e
      From-SVN: r215466
      Jonathan Wakely committed
    • Workaround following [PATCH] Pul all constants last in tree_swap_operands_p · c71abde7
      https://gcc.gnu.org/ml/gcc-patches/2014-09/msg01509.html
      gcc/:
              * fold-const.c (tree_swap_operands_p): Strip only sign-preserving NOPs.
      
      From-SVN: r215465
      Alan Lawrence committed
    • Make streams movable and swappable. · 9b817548
      	PR libstdc++/54316
      	PR libstdc++/53626
      	* config/abi/pre/gnu.ver: Add new exports.
      	* config/io/basic_file_stdio.h (__basic_file): Support moving and
      	swapping.
      	* include/bits/basic_ios.h (basic_ios::move, basic_ios::swap):
      	Likewise.
      	* include/bits/ios_base.h (ios_base::_M_move, ios_base::_M_swap):
      	Likewise.
      	* include/bits/fstream.tcc (basic_filebuf): Likewise.
      	* include/bits/move.h (__exchange): Define for C++11 mode.
      	* include/ext/stdio_filebuf.h (stdio_filebuf): Support moving and
      	swapping.
      	* include/ext/stdio_sync_filebuf.h (stdio_sync_filebuf): Likewise.
      	* include/std/fstream (basic_filebuf, basic_ifstream, basic_ofstream,
      	basic_fstream): Likewise.
      	* include/std/ios: Remove whitespace.
      	* include/std/istream (basic_istream, basic_iostream): Support moving
      	and swapping.
      	* include/std/ostream (basic_ostream): Likewise.
      	* include/std/sstream (basic_stringbuf, basic_istringstream,
      	basic_ostringstream, basic_stringstream): Likewise.
      	* include/std/streambuf (basic_streambuf): Do not default copy
      	constructor and assignment on first declaration.
      	* include/std/utility (exchange): Forward to __exchange.
      	* testsuite/27_io/basic_filebuf/cons/char/copy_neg.cc: New.
      	* src/c++11/Makefile.am: Add stream-related files.
      	* src/c++11/Makefile.in: Regenerate.
      	* src/c++11/ext11-inst.cc (stdio_filebuf, stdio_sync_filebuf):
      	New file for explicit instantiation definitions.
      	* src/c++11/ios.cc: Move from src/c++98 to here.
      	(ios_base::_M_move, ios_base::_M_swap): Define.
      	* src/c++11/ios-inst.cc: Move from src/c++98 to here.
      	* src/c++11/iostream-inst.cc: Likewise.
      	* src/c++11/istream-inst.cc: Likewise.
      	* src/c++11/ostream-inst.cc: Likewise.
      	* src/c++11/sstream-inst.cc: Likewise.
      	* src/c++11/streambuf-inst.cc: Likewise.
      	* src/c++98/Makefile.am: Remove stream-related files.
      	* src/c++98/Makefile.in: Regenerate.
      	* src/c++98/ext-inst.cc (stdio_filebuf): Remove explicit
      	instantiations.
      	* src/c++98/misc-inst.cc (stdio_sync_filebuf): Likewise.
      	* src/c++98/ios-inst.cc: Move to src/c++11/.
      	* src/c++98/ios.cc: Move to src/c++11/.
      	* src/c++98/iostream-inst.cc: Likewise.
      	* src/c++98/istream-inst.cc: Likewise.
      	* src/c++98/ostream-inst.cc: Likewise.
      	* src/c++98/sstream-inst.cc: Likewise.
      	* src/c++98/streambuf-inst.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/cons/char/copy_neg.cc: New.
      	* testsuite/27_io/basic_fstream/cons/move.cc: New.
      	* testsuite/27_io/basic_fstream/assign/1.cc: New.
      	* testsuite/27_io/basic_ifstream/cons/move.cc: New.
      	* testsuite/27_io/basic_ifstream/assign/1.cc: New.
      	* testsuite/27_io/basic_istringstream/assign/1.cc: New.
      	* testsuite/27_io/basic_istringstream/cons/move.cc: New.
      	* testsuite/27_io/basic_ofstream/cons/move.cc: New.
      	* testsuite/27_io/basic_ofstream/assign/1.cc: New.
      	* testsuite/27_io/basic_ostringstream/assign/1.cc: New.
      	* testsuite/27_io/basic_ostringstream/cons/move.cc: New.
      	* testsuite/27_io/basic_stringstream/assign/1.cc: New.
      	* testsuite/27_io/basic_stringstream/cons/move.cc: New.
      
      From-SVN: r215463
      Jonathan Wakely committed
    • Add --inline option to contrib/mklog · 38278d8a
      2014-09-22  Tom de Vries  <tom@codesourcery.com>
      
      	* mklog: Add --inline option.
      
      From-SVN: r215462
      Tom de Vries committed
    • gimplify.c (gimplify_init_constructor): Do not leave non-GIMPLE vector constructors around. · 931002b2
      2014-09-22  Richard Biener  <rguenther@suse.de>
      
      	* gimplify.c (gimplify_init_constructor): Do not leave
      	non-GIMPLE vector constructors around.
      	* tree-cfg.c (verify_gimple_assign_single): Verify that
      	CONSTRUCTORs have gimple elements.
      
      From-SVN: r215461
      Richard Biener committed
    • re PR target/63312 (FAIL: gcc.dg/torture/float128-exact-underflow.c -O0 execution test) · 1a849e50
      	PR target/63312
      	* config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
      	New macros.
      
      From-SVN: r215458
      Joseph Myers committed
    • re PR debug/63328 (c-c++-common/gomp/pr60823-3.c test fails with -fcompare-debug) · 932b6d61
      	PR debug/63328
      	* omp-low.c (ipa_simd_modify_stmt_ops): For debug stmts
      	insert a debug source bind stmt setting DEBUG_EXPR_DECL
      	instead of a normal gimple assignment stmt.
      
      	* c-c++-common/gomp/pr63328.c: New test.
      
      From-SVN: r215454
      Jakub Jelinek committed
    • [Patch bfin] Fixup use of constraints in define_split · 1091cf49
      gcc/
      
      	* config/bfin/bfin.md: Fix use of constraints in define_split.
      
      From-SVN: r215453
      James Greenhalgh committed
    • resolve.c (resolve_fl_procedure): Remove duplicated lines. · 77fee9d8
      2014-09-21  Dominique d'Humieres <dominiq@lps.ens.fr>
      
      	* resolve.c (resolve_fl_procedure): Remove duplicated lines.
      
      From-SVN: r215452
      Dominique d'Humieres committed
    • PR lto/63270 - new test · 6e5dedda
      	* g++.dg/lto/pr63270_0.C: New test.
      	* g++.dg/lto/pr63270_1.C: New test.
      
      From-SVN: r215451
      Martin Liska committed
    • i386.c (ix86_cannot_change_mode_class): Remove GET_MODE_SIZE (to) < GET_MODE_SIZE (from) test. · c2095627
      gcc/
      	* config/i386/i386.c (ix86_cannot_change_mode_class): Remove
      	GET_MODE_SIZE (to) < GET_MODE_SIZE (from) test.
      
      From-SVN: r215450
      Richard Sandiford committed
    • hard-reg-set.h: Include hash-table.h. · 6969eb0d
      gcc/
      	* hard-reg-set.h: Include hash-table.h.
      	(target_hard_regs): Add a finalize method and a x_simplifiable_subregs
      	field.
      	* target-globals.c (target_globals::~target_globals): Call
      	hard_regs->finalize.
      	* rtl.h (subreg_shape): New structure.
      	(shape_of_subreg): New function.
      	(simplifiable_subregs): Declare.
      	* reginfo.c (simplifiable_subreg): New structure.
      	(simplifiable_subregs_hasher): Likewise.
      	(simplifiable_subregs): New function.
      	(invalid_mode_changes): Delete.
      	(alid_mode_changes, valid_mode_changes_obstack): New variables.
      	(record_subregs_of_mode): Remove subregs_of_mode parameter.
      	Record valid mode changes in valid_mode_changes.
      	(find_subregs_of_mode): Remove subregs_of_mode parameter.
      	Update calls to record_subregs_of_mode.
      	(init_subregs_of_mode): Remove invalid_mode_changes and bitmap
      	handling.  Initialize new variables.  Update call to
      	find_subregs_of_mode.
      	(invalid_mode_change_p): Check new variables instead of
      	invalid_mode_changes.
      	(finish_subregs_of_mode): Finalize new variables instead of
      	invalid_mode_changes.
      	(target_hard_regs::finalize): New function.
      	* ira-costs.c (print_allocno_costs): Call invalid_mode_change_p
      	even when CLASS_CANNOT_CHANGE_MODE is undefined.
      
      From-SVN: r215449
      Richard Sandiford committed
    • combine.c (subst): Use simplify_subreg_regno rather than REG_CANNOT_CHANGE_MODE_P to detect... · 7af3b946
      gcc/
      	* combine.c (subst): Use simplify_subreg_regno rather than
      	REG_CANNOT_CHANGE_MODE_P to detect invalid mode changes.
      
      From-SVN: r215448
      Richard Sandiford committed
    • rtl.h (subreg_info): Expand commentary · 0cb07998
      gcc/
      	* rtl.h (subreg_info): Expand commentary
      	* rtlanal.c (subreg_get_info): Likewise.
      
      From-SVN: r215447
      Richard Sandiford committed
    • gcc/ · 853d50d3
      	* hard-reg-set.h (COPY_HARD_REG_SET, COMPL_HARD_REG_SET)
      	(AND_HARD_REG_SET, AND_COMPL_HARD_REG_SET, IOR_HARD_REG_SET)
      	(IOR_COMPL_HARD_REG_SET): Allow the "from" set to be constant.
      
      From-SVN: r215446
      Richard Sandiford committed
    • decl.c (gnat_to_gnu_entity): Adjust comment. · 53f3f4e3
      	* gcc-interface/decl.c (gnat_to_gnu_entity): Adjust comment.
      	* gcc-interface/utils.c (gnat_write_global_declarations): Fix typo.
      
      From-SVN: r215445
      Eric Botcazou committed
    • arm.c: #include "tm-constrs.h" · aecd88f7
      2014-09-22  Zhenqiang Chen  <zhenqiang.chen@arm.com>
      
      	* config/arm/arm.c: #include "tm-constrs.h"
      	(thumb1_size_rtx_costs): Adjust rtx costs.
      
      From-SVN: r215444
      Zhenqiang Chen committed
    • crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS override USE_PT_GNU_EH_FRAME. · 598a1586
      	* crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
      	override USE_PT_GNU_EH_FRAME.
      	[__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
      	check USE_EH_FRAME_REGISTRY_ALWAYS against
      	__LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
      	* Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
      	variable for substituted force_explicit_eh_registry.
      	(CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
      	* configure.ac (explicit-exception-frame-registration):
      	New AC_ARG_ENABLE.
      	* configure: Regenerate.
      
      From-SVN: r215443
      Hans-Peter Nilsson committed
    • Daily bump. · 794eb939
      From-SVN: r215442
      GCC Administrator committed
  2. 21 Sep, 2014 6 commits