1. 07 May, 2014 10 commits
    • configure.ac: Always set need_64bit_hwint to yes. · f543058d
      2014-05-07  Richard Biener  <rguenther@suse.de>
      
      	libcpp/
      	* configure.ac: Always set need_64bit_hwint to yes.
      	* configure: Regenerated.
      
      	* config.gcc: Always set need_64bit_hwint to yes.
      
      From-SVN: r210149
      Richard Biener committed
    • Add execution + assembler tests of AArch64 TRN Intrinsics. · 9008b1d1
      	* gcc.target/aarch64/simd/vtrnf32_1.c: New file.
      	* gcc.target/aarch64/simd/vtrnf32.x: New file.
      	* gcc.target/aarch64/simd/vtrnp16_1.c: New file.
      	* gcc.target/aarch64/simd/vtrnp16.x: New file.
      	* gcc.target/aarch64/simd/vtrnp8_1.c: New file.
      	* gcc.target/aarch64/simd/vtrnp8.x: New file.
      	* gcc.target/aarch64/simd/vtrnqf32_1.c: New file.
      	* gcc.target/aarch64/simd/vtrnqf32.x: New file.
      	* gcc.target/aarch64/simd/vtrnqp16_1.c: New file.
      	* gcc.target/aarch64/simd/vtrnqp16.x: New file.
      	* gcc.target/aarch64/simd/vtrnqp8_1.c: New file.
      	* gcc.target/aarch64/simd/vtrnqp8.x: New file.
      	* gcc.target/aarch64/simd/vtrnqs16_1.c: New file.
      	* gcc.target/aarch64/simd/vtrnqs16.x: New file.
      	* gcc.target/aarch64/simd/vtrnqs32_1.c: New file.
      	* gcc.target/aarch64/simd/vtrnqs32.x: New file.
      	* gcc.target/aarch64/simd/vtrnqs8_1.c: New file.
      	* gcc.target/aarch64/simd/vtrnqs8.x: New file.
      	* gcc.target/aarch64/simd/vtrnqu16_1.c: New file.
      	* gcc.target/aarch64/simd/vtrnqu16.x: New file.
      	* gcc.target/aarch64/simd/vtrnqu32_1.c: New file.
      	* gcc.target/aarch64/simd/vtrnqu32.x: New file.
      	* gcc.target/aarch64/simd/vtrnqu8_1.c: New file.
      	* gcc.target/aarch64/simd/vtrnqu8.x: New file.
      	* gcc.target/aarch64/simd/vtrns16_1.c: New file.
      	* gcc.target/aarch64/simd/vtrns16.x: New file.
      	* gcc.target/aarch64/simd/vtrns32_1.c: New file.
      	* gcc.target/aarch64/simd/vtrns32.x: New file.
      	* gcc.target/aarch64/simd/vtrns8_1.c: New file.
      	* gcc.target/aarch64/simd/vtrns8.x: New file.
      	* gcc.target/aarch64/simd/vtrnu16_1.c: New file.
      	* gcc.target/aarch64/simd/vtrnu16.x: New file.
      	* gcc.target/aarch64/simd/vtrnu32_1.c: New file.
      	* gcc.target/aarch64/simd/vtrnu32.x: New file.
      	* gcc.target/aarch64/simd/vtrnu8_1.c: New file.
      	* gcc.target/aarch64/simd/vtrnu8.x: New file.
      
      From-SVN: r210148
      Alan Lawrence committed
    • re PR tree-optimization/57864 (ICE in bitmap_set_replace_value, at tree-ssa-pre.c:862) · 9c13483b
      2014-05-07  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/57864
      	* gcc.dg/torture/pr57864.c: New testcase.
      
      From-SVN: r210142
      Richard Biener committed
    • re PR c++/60999 (ICE when static_cast from constexpr in specialization of template-class) · faeb5f91
      /cp
      2014-05-06  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/60999
      	* pt.c (maybe_begin_member_template_processing): Use
      	uses_template_parms.
      
      /testsuite
      2014-05-06  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/60999
      	* g++.dg/cpp0x/nsdmi-template9.C: New.
      	* g++.dg/cpp0x/nsdmi-template10.C: Likewise.
      
      From-SVN: r210140
      Paolo Carlini committed
    • Fix date in ChangeLog. · 153df826
      From-SVN: r210138
      Chung-Ju Wu committed
    • nds32.h (HONOR_REG_ALLOC_ORDER): Have it in favor of using optimize_size. · 96092404
      	* config/nds32/nds32.h (HONOR_REG_ALLOC_ORDER): Have it in favor
      	of using optimize_size.
      
      From-SVN: r210137
      Chung-Ju Wu committed
    • re PR libfortran/61049 (NIST test FM906 fails) · 157a50f9
      2014-05-06  Jerry DeLisle  <jvdelisle@gcc.gnu>
      
      	PR libfortran/61049
      	* gfortran.dg/list_read_13.f: New test.
      
      From-SVN: r210135
      Jerry DeLisle committed
    • re PR libfortran/61049 (NIST test FM906 fails) · 02227563
      2014-05-06  Jerry DeLisle  <jvdelisle@gcc.gnu>
      
      	PR libfortran/61049
      	* io/list_read.c (list_formatted_read_scalar): Use eat_separator
      	and delete extraneous code.
      
      From-SVN: r210134
      Jerry DeLisle committed
    • Makefile.in: Regenerate. · f03d1bb9
      2014-05-06  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/Makefile.in: Regenerate.
      
      From-SVN: r210133
      Paolo Carlini committed
    • Daily bump. · 850cb6ad
      From-SVN: r210132
      GCC Administrator committed
  2. 06 May, 2014 20 commits
    • * wide-int.h (wi::int_traits <HOST_WIDE_INT>): Always define. · ca66f89b
      From-SVN: r210128
      Mike Stump committed
    • re PR c++/60999 (ICE when static_cast from constexpr in specialization of template-class) · 895a5cc0
      /cp
      2014-05-06  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/60999
      	* pt.c (maybe_begin_member_template_processing): Use
      	uses_template_parms.
      
      /testsuite
      2014-05-06  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/60999
      	* g++.dg/cpp0x/nsdmi-template9.C: New.
      	* g++.dg/cpp0x/nsdmi-template10.C: Likewise.
      
      From-SVN: r210126
      Paolo Carlini committed
    • * config/i386/sse.md (*mov<mode>_internal) · 659c0e68
      	(*<sse>_loadu<ssemodesuffix><avxsizesuffix><mask_name>)
      	(*<sse2_avx_avx512f>_loaddqu<mode><mask_name>)
      	(<sse>_andnot<mode>3, <code><mode>3, *andnot<mode>3)
      	(*<code><mode>3, *andnot<mode>3<mask_name>)
      	(<mask_codefor><code><mode>3<mask_name>): Only consider
      	TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL for modes of size 16.
      
      From-SVN: r210124
      Joseph Myers committed
    • macros.h [...]: Add parameter to pass the 2 instances to check allocator equality. · 15ee1a77
      2014-05-06  François Dumont  <fdumont@gcc.gnu.org>
      
      	* include/debug/macros.h [__glibcxx_check_equal_allocs]: Add
      	parameter to pass the 2 instances to check allocator equality.
      	* include/debug/safe_container.h: New, define _Safe_container<>.
      	* include/Makefile.am: Add previous.
      	* include/debug/deque (std::__debug::deque<>): Inherit
      	_Safe_container<>. Use default implementation for all special
      	functions.
      	* include/debug/forward_list (std::__debug::forward_list<>):
      	Likewise.
      	* include/debug/list (std::__debug::list<>): Likewise.
      	* include/debug/map.h (std::__debug::map<>): Likewise.
      	* include/debug/multimap.h (std::__debug::multimap<>): Likewise.
      	* include/debug/set.h (std::__debug::set<>): Likewise.
      	* include/debug/multiset.h (std::__debug::multiset<>): Likewise.
      	* include/debug/string (std::__debug::basic_string<>): Likewise.
      	* include/debug/unordered_map
      	(std::__debug::unordered_map<>): Likewise.
      	(std::__debug::unordered_multimap<>): Likewise.
      	* include/debug/unordered_set
      	(std::__debug::unordered_set<>): Likewise.
      	(std::__debug::unordered_multiset<>): Likewise.
      	* include/debug/vector (std::__debug::vector<>): Likewise.
      	* include/debug/safe_base.h (_Safe_sequence_base()): Add
      	noexcept.
      	(_Safe_sequence_base(_Safe_sequence_base&&): Remove.
      	(~_Safe_sequence_base()): Add noexcept.
      	* include/debug/safe_sequence.h
      	(std::__debug::_Safe_node_sequence<>): New.
      	* include/debug/safe_unordered_base.h
      	(_Safe_unordered_container_base()): Add noexcept.
      	(~_Safe_unordered_container_base()): Likewise.
      	(_M_swap(_Safe_unordered_container_base&)): Likewise.
      	* include/debug/safe_unordered_container.h:
      	(_Safe_unordered_container<>::_M_invalidate_locals()): New.
      	(_Safe_unordered_container<>::_M_invalidate_all()): New.
      	* src/c++11/debug.cc: Limit includes, adapt methods noexcept
      	qualifications.
      	* testsuite/util/debug/checks.h (check_construct1): Just implement
      	an invalid constructor invocation  and no other operations
      	potentially not supported by some types of container.
      	(check_construct2): Likewise.
      	(check_construct3): Likewise.
      	* testsuite/23_containers/forward_list/allocator/move.cc: Add
      	check on iterators to make sure they are correctly moved in debug
      	mode.
      	* testsuite/23_containers/forward_list/allocator/move_assign.cc:
      	Likewise.
      	* testsuite/23_containers/map/allocator/move.cc: Likewise.
      	* testsuite/23_containers/map/allocator/move_assign.cc: Likewise.
      	* testsuite/23_containers/multimap/allocator/move.cc: Likewise.
      	* testsuite/23_containers/multimap/allocator/move_assign.cc:
      	Likewise.
      	* testsuite/23_containers/multiset/allocator/move.cc: Likewise.
      	* testsuite/23_containers/multiset/allocator/move_assign.cc:
      	Likewise.
      	* testsuite/23_containers/set/allocator/move.cc: Likewise.
      	* testsuite/23_containers/set/allocator/move_assign.cc: Likewise.
      	* testsuite/23_containers/unordered_map/allocator/move.cc:
      	Likewise.
      	* testsuite/23_containers/unordered_map/allocator/move_assign.cc:
      	Likewise.
      	* testsuite/23_containers/unordered_multimap/allocator/move.cc:
      	Likewise.
      	* testsuite/23_containers/unordered_multimap/allocator/move_assign.cc:
      	Likewise.
      	* testsuite/23_containers/unordered_multiset/allocator/move.cc:
      	Likewise.
      	* testsuite/23_containers/unordered_multiset/allocator/move_assign.cc:
      	Likewise.
      	* testsuite/23_containers/unordered_set/allocator/move.cc:
      	Likewise.
      	* testsuite/23_containers/unordered_set/allocator/move_assign.cc:
      	Likewise.
      	* testsuite/23_containers/forward_list/debug/construct1_neg.cc:
      	New.
      	* testsuite/23_containers/forward_list/debug/construct2_neg.cc:
      	New.
      	* testsuite/23_containers/forward_list/debug/construct3_neg.cc:
      	New.
      	* testsuite/23_containers/forward_list/debug/construct4_neg.cc:
      	New.
      	* testsuite/23_containers/forward_list/debug/move_assign_neg.cc:
      	New.
      	* testsuite/23_containers/forward_list/debug/move_neg.cc: New.
      	* testsuite/23_containers/map/debug/construct5_neg.cc: New.
      	* testsuite/23_containers/map/debug/move_assign_neg.cc: New.
      	* testsuite/23_containers/map/debug/move_neg.cc: New.
      	* testsuite/23_containers/multimap/debug/construct5_neg.cc: New.
      	* testsuite/23_containers/multimap/debug/move_assign_neg.cc: New.
      	* testsuite/23_containers/multimap/debug/move_neg.cc: New.
      	* testsuite/23_containers/multiset/debug/construct5_neg.cc: New.
      	* testsuite/23_containers/multiset/debug/move_assign_neg.cc: New.
      	* testsuite/23_containers/multiset/debug/move_neg.cc: New.
      	* testsuite/23_containers/set/debug/construct5_neg.cc: New.
      	* testsuite/23_containers/set/debug/move_assign_neg.cc: New.
      	* testsuite/23_containers/set/debug/move_neg.cc: New.
      	* testsuite/23_containers/unordered_map/debug/construct5_neg.cc:
      	New.
      	* testsuite/23_containers/unordered_map/debug/move_assign_neg.cc:
      	New.
      	* testsuite/23_containers/unordered_map/debug/move_neg.cc: New.
      	* testsuite/23_containers/unordered_multimap/debug/construct5_neg.cc:
      	New.
      	* testsuite/23_containers/unordered_multimap/debug/move_assign_neg.cc:
      	New.
      	* testsuite/23_containers/unordered_multimap/debug/move_neg.cc:
      	New.
      	* testsuite/23_containers/unordered_multiset/debug/construct5_neg.cc:
      	New.
      	* testsuite/23_containers/unordered_multiset/debug/move_assign_neg.cc:
      	New.
      	* testsuite/23_containers/unordered_multiset/debug/move_neg.cc:
      	New.
      	* testsuite/23_containers/unordered_set/debug/construct5_neg.cc:
      	New.
      	* testsuite/23_containers/unordered_set/debug/move_assign_neg.cc:
      	New.
      	* testsuite/23_containers/unordered_set/debug/move_neg.cc: New.
      	* testsuite/23_containers/vector/debug/move_neg.cc: New.
      
      From-SVN: r210123
      François Dumont committed
    • compiler: Use backend interface for expressions. · 6f7e0b57
      	* go-gcc.cc (Gcc_backend::nil_pointer_expression): New method.
      	(Gcc_backend::boolean_constant_expression): New method.
      	(Gcc_backend::zero_expression): Use this->make_expression rather
      	than tree_to_expr.
      	(Gcc_backend::var_expression): Likewise.
      	(Gcc_backend::integer_constant_expression): Likewise.
      	(Gcc_backend::float_constant_expression): Likewise.
      	(Gcc_backend::complex_constant_expression): Likewise.
      	(Gcc_backend::struct_field_expression): Likewise.
      	(tree_to_type, tree_to_expr, tree_to_stat): Remove functions.
      	(tree_to_function, tree_to_block): Remove functions.
      	(type_to_tree, expr_to_tree, stat_to_tree): Remove functions.
      	(block_to_tree, var_to_tree, function_to_tree): Remove functions.
      
      From-SVN: r210122
      Chris Manghane committed
    • revert: lra-constraints.c (valid_address_p): Move earlier in file. · 3379b71f
      gcc/
      	Revert:
      	2014-05-03  Richard Sandiford  <rdsandiford@googlemail.com>
      
      	* lra-constraints.c (valid_address_p): Move earlier in file.
      	Add a constraint argument to the address_info version.
      	(satisfies_memory_constraint_p): New function.
      	(satisfies_address_constraint_p): Likewise.
      	(process_alt_operands, curr_insn_transform): Use them.
      	(process_address): Pass the constraint to valid_address_p when
      	checking address operands.
      
      From-SVN: r210121
      Richard Sandiford committed
    • lto-cgraph.c (compute_ltrans_boundary): Make node variables local to their respective blocks. · 224dbc07
      gcc/
      	* lto-cgraph.c (compute_ltrans_boundary): Make node variables local
      	to their respective blocks.  Fix inadvertent use of "node".
      
      From-SVN: r210120
      Richard Sandiford committed
    • boehm.c (mark_reference_fields): Don't update the mask when setting pointer_after_end. · ebe9df67
      gcc/java/
      	* boehm.c (mark_reference_fields): Don't update the mask when
      	setting pointer_after_end.
      
      From-SVN: r210119
      Richard Sandiford committed
    • emit-rtl.c (init_derived_machine_modes): New functionm, split out from... · aa3a12d6
      gcc/
      	* emit-rtl.c (init_derived_machine_modes): New functionm, split
      	out from...
      	(init_emit_once): ...here.
      	* rtl.h (init_derived_machine_modes): Declare.
      	* toplev.c (do_compile): Call it even if no_backend.
      
      From-SVN: r210118
      Richard Sandiford committed
    • Update ChangeLogs for wide-int work. · 1d60af08
      Co-Authored-By: Kyrylo Tkachov <kyrylo.tkachov@arm.com>
      Co-Authored-By: Mike Stump <mikestump@comcast.net>
      Co-Authored-By: Richard Sandiford <rdsandiford@googlemail.com>
      
      From-SVN: r210116
      Kenneth Zadeck committed
    • Merge in wide-int. · 807e902e
      From-SVN: r210113
      Kenneth Zadeck committed
    • compiler: Store flags for division checks in Gogo object instead of using global variables. · 6122336c
      	* go-c.h (go_create_gogo): Update declaration to add
      	check_divide_zero and check_divide_overflow parameters.
      	* go-lang.c (go_langhook_init): Pass new arguments to
      	go_create_gogo.
      
      From-SVN: r210109
      Chris Manghane committed
    • avr.c (avr_can_eliminate): Mark unused argument. · 3134fb19
      2014-05-06  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
      
      	* config/avr/avr.c (avr_can_eliminate): Mark unused argument.
      
      From-SVN: r210108
      Jan-Benedict Glaw committed
    • tree-pass.h (TODO_verify_ssa, [...]): Remove. · 3bea341f
      2014-05-06  Richard Biener  <rguenther@suse.de>
      
      	* tree-pass.h (TODO_verify_ssa, TODO_verify_flow,
      	TODO_verify_stmts, TODO_verify_rtl_sharing): Remove.
      	(TODO_verify_all): Adjust.
      	* asan.c: Remove references to TODO_verify_ssa, TODO_verify_flow,
      	TODO_verify_stmts and TODO_verify_rtl_sharing.
      	* bb-reorder.c: Likewise.
      	* cfgexpand.c: Likewise.
      	* cprop.c: Likewise.
      	* cse.c: Likewise.
      	* function.c: Likewise.
      	* fwprop.c: Likewise.
      	* gcse.c: Likewise.
      	* gimple-ssa-isolate-paths.c: Likewise.
      	* gimple-ssa-strength-reduction.c: Likewise.
      	* ipa-split.c: Likewise.
      	* loop-init.c: Likewise.
      	* loop-unroll.c: Likewise.
      	* lower-subreg.c: Likewise.
      	* modulo-sched.c: Likewise.
      	* postreload-gcse.c: Likewise.
      	* predict.c: Likewise.
      	* recog.c: Likewise.
      	* sched-rgn.c: Likewise.
      	* store-motion.c: Likewise.
      	* tracer.c: Likewise.
      	* trans-mem.c: Likewise.
      	* tree-call-cdce.c: Likewise.
      	* tree-cfg.c: Likewise.
      	* tree-cfgcleanup.c: Likewise.
      	* tree-complex.c: Likewise.
      	* tree-eh.c: Likewise.
      	* tree-emutls.c: Likewise.
      	* tree-if-conv.c: Likewise.
      	* tree-into-ssa.c: Likewise.
      	* tree-loop-distribution.c: Likewise.
      	* tree-object-size.c: Likewise.
      	* tree-parloops.c: Likewise.
      	* tree-pass.h: Likewise.
      	* tree-sra.c: Likewise.
      	* tree-ssa-ccp.c: Likewise.
      	* tree-ssa-copy.c: Likewise.
      	* tree-ssa-copyrename.c: Likewise.
      	* tree-ssa-dce.c: Likewise.
      	* tree-ssa-dom.c: Likewise.
      	* tree-ssa-dse.c: Likewise.
      	* tree-ssa-forwprop.c: Likewise.
      	* tree-ssa-ifcombine.c: Likewise.
      	* tree-ssa-loop-ch.c: Likewise.
      	* tree-ssa-loop-ivcanon.c: Likewise.
      	* tree-ssa-loop.c: Likewise.
      	* tree-ssa-math-opts.c: Likewise.
      	* tree-ssa-phiopt.c: Likewise.
      	* tree-ssa-phiprop.c: Likewise.
      	* tree-ssa-pre.c: Likewise.
      	* tree-ssa-reassoc.c: Likewise.
      	* tree-ssa-sink.c: Likewise.
      	* tree-ssa-strlen.c: Likewise.
      	* tree-ssa-tail-merge.c: Likewise.
      	* tree-ssa-uncprop.c: Likewise.
      	* tree-switch-conversion.c: Likewise.
      	* tree-tailcall.c: Likewise.
      	* tree-vect-generic.c: Likewise.
      	* tree-vectorizer.c: Likewise.
      	* tree-vrp.c: Likewise.
      	* tsan.c: Likewise.
      	* var-tracking.c: Likewise.
      	* bt-load.c: Likewise.
      	* cfgcleanup.c: Likewise.
      	* combine-stack-adj.c: Likewise.
      	* combine.c: Likewise.
      	* compare-elim.c: Likewise.
      	* config/epiphany/resolve-sw-modes.c: Likewise.
      	* config/i386/i386.c: Likewise.
      	* config/mips/mips.c: Likewise.
      	* config/s390/s390.c: Likewise.
      	* config/sh/sh_treg_combine.cc: Likewise.
      	* config/sparc/sparc.c: Likewise.
      	* dce.c: Likewise.
      	* dse.c: Likewise.
      	* final.c: Likewise.
      	* ifcvt.c: Likewise.
      	* mode-switching.c: Likewise.
      	* passes.c: Likewise.
      	* postreload.c: Likewise.
      	* ree.c: Likewise.
      	* reg-stack.c: Likewise.
      	* regcprop.c: Likewise.
      	* regrename.c: Likewise.
      	* web.c: Likewise.
      
      From-SVN: r210106
      Richard Biener committed
    • c-opts.c (c_common_post_options): For -freestanding... · b15458be
      2014-05-06  Richard Biener  <rguenther@suse.de>
      
      	c-family/
      	* c-opts.c (c_common_post_options): For -freestanding,
      	-fno-hosted and -fno-builtin disable pattern recognition
      	if not enabled explicitely.
      
      From-SVN: r210100
      Richard Biener committed
    • re PR debug/61070 (debug_bitmap writes to stdout) · 3d224d46
      2014-05-06  Richard Biener  <rguenther@suse.de>
      
      	PR middle-end/61070
      	* bitmap.c (debug_bitmap): Dump to stderr, not stdout.
      	* tree-ssa-structalias.c (dump_solution_for_var): Likewise.
      
      From-SVN: r210098
      Richard Biener committed
    • compiler: Fix bug in embedded method handling. · 6f073191
      If the same type was embedded in a struct at different levels,
      only the first embedded instance was considered when building
      the set of all methods.  A second instance was ignored, even
      if it was at a higher level and should therefore override the
      first instance.
      
      Test case is bug485.go in master repository.
      
      From-SVN: r210096
      Ian Lance Taylor committed
    • compiler: Use backend interface for array length. · 0c2b1bb7
      From-SVN: r210093
      Ian Lance Taylor committed
    • Daily bump. · 9239c1b4
      From-SVN: r210092
      GCC Administrator committed
    • compiler: Use backend interface for slice construction. · fb930306
      	* go-gcc.cc (Gcc_backend::implicit_variable): Rename from
      	gc_root_variable.  Add name and is_constant parameters.
      
      From-SVN: r210088
      Chris Manghane committed
  3. 05 May, 2014 10 commits