1. 27 Sep, 2013 16 commits
  2. 26 Sep, 2013 16 commits
    • regex_error.h: Remove _S_error_last to follow the standard. · d4e12601
      2013-09-26  Tim Shen  <timshen91@gmail.com>
      
      	* regex_error.h: Remove _S_error_last to follow the standard.
      	* regex_scanner.tcc:
      	(_Scanner<_FwdIter>::_M_scan_in_brace): Change error_brace to
      	error_badbrace.
      	(_Scanner<>::_M_eat_escape_posix): Extended doesn't support
      	back-reference.
      	* testsuite/28_regex/algorithms/regex_match/ecma/char/53622.cc:
      	Move here from ../../extended.
      	* testsuite/28_regex/algorithms/regex_match/ecma/char/57173.cc:
      	Likewise.
      
      From-SVN: r202958
      Tim Shen committed
    • re PR fortran/58113 (gfortran.dg/round_4.f90 FAILs) · 13b670ac
      2013-09-26  Bernd Edlinger  <bernd.edlinger@hotmail.de>
      
              PR fortran/58113
              * gfortran.dg/round_4.f90: Check for rounding support.
      
      From-SVN: r202954
      Bernd Edlinger committed
    • tree-ssa.h (walk_use_def_chains_fn, [...]): Delete. · 84f48495
      2013-09-26  Florian Weimer  <fw@deneb.enyo.de>
      
      	* tree-ssa.h (walk_use_def_chains_fn, walk_use_def_chains): Delete.
      	* tree-ssa.c (walk_use_def_chains_1, walk_use_def_chains): Delete.
      	* doc/tree-ssa.texi (Walking use-def chains): Delete.
      
      From-SVN: r202951
      Florian Weimer committed
    • tree-into-ssa.c (rewrite_into_ssa): Make more SSA names to anonymous. · 74fc8b8a
      2013-09-26  Richard Biener  <rguenther@suse.de>
      
      	* tree-into-ssa.c (rewrite_into_ssa): Make more SSA names
      	to anonymous.
      
      From-SVN: r202949
      Richard Biener committed
    • alias.h (component_uses_parent_alias_set): Rename to ... · b4ada065
      2013-09-26  Richard Biener  <rguenther@suse.de>
      
      	* alias.h (component_uses_parent_alias_set): Rename to ...
      	(component_uses_parent_alias_set_from): ... this.
      	* alias.c (component_uses_parent_alias_set): Rename to ...
      	(component_uses_parent_alias_set_from): ... this and return
      	the desired parent.
      	(reference_alias_ptr_type_1): Use the result from
      	component_uses_parent_alias_set_from instead of stripping
      	components one at a time.
      	* emit-rtl.c (set_mem_attributes_minus_bitpos): Adjust.
      
      From-SVN: r202948
      Richard Biener committed
    • Fix PR58513 for -fPIC · 1aab6678
      gcc/testsuite/
      
      	* g++.dg/vect/pr58513.cc (op): Make static.
      
      From-SVN: r202947
      James Greenhalgh committed
    • tree-ssa-live.h (find_replaceable_exprs, [...]): Move prototypes to... · 78bca40d
      
      2013-09-26  Andrew MacLeod  <amacleod@redhat.com>
      
      	* tree-ssa-live.h (find_replaceable_exprs, dump_replaceable_exprs): Move
      	prototypes to...
      	* tree-ssa-ter.h: New File.  Move prototypes here.
      	* tree-flow.h (stmt_is_replaceable_p): Remove prototype.
      	* tree-outof-ssa.h: New. Rename ssaexpand.h, include tree-ssa-ter.h.
      	* tree-outof-ssa.c (ssa_is_replaceable_p): New.  Refactor common bits
      	from is_replaceable_p. 
      	* tree-ssa-ter.c (is_replaceable_p, stmt_is_replaceable_p): Delete.
      	(ter_is_replaceable_p): New.  Use new refactored ssa_is_replaceable_p.
      	(process_replaceable): Use ter_is_replaceable_p.
      	(find_replaceable_in_bb): Use ter_is_replaceable_p.
      	* expr.c (stmt_is_replaceable_p): Relocate from tree-ssa-ter.c.  Use
      	newly refactored ssa_is_replaceable_p.
      	* cfgexpand.c: Include tree-outof-ssa.h.
      	* ssaexpand.h: Delete.
      
      From-SVN: r202946
      Andrew MacLeod committed
    • gimple.c (gimple_replace_lhs): Move to tree-ssa.c and rename. · ff2a63a7
      
      2013-09-26  Andrew MacLeod <amacleod@redhat.com>
      
      	* gimple.c (gimple_replace_lhs): Move to tree-ssa.c and rename.
      	(struct count_ptr_d, count_ptr_derefs, count_uses_and_derefs): Move to
      	tree-ssa.c
      	(create_gimple_tmp): Delete.
      	(get_expr_type, build_assign, build_type_cast): Move to...
      	* gimple-builder.c: New File.
      	(get_expr_type): Relocate from gimple.c.
      	(build_assign, build_type_cast): Change to only create ssanames.
      	* gimple.h: Move prototypes to...
      	* gimple-builder.h: New File. Here.
      	* tree-ssa.h: And here.
      	* tree-ssa.c (struct count_ptr_d, count_ptr_derefs,
      	count_uses_and_derefs): Relocate from gimple.c.
      	(gimple_replace_ssa_lhs): Renamed gimple_replace_ssa from gimple.c
      	* tree-ssa-reassoc.c (repropagate_negates): Use gimple_replace_ssa_lhs.
      	* tree-ssa-math-opts (execute_cse_reciprocals): Use
      	gimple_replace_ssa_lhs.
      	* asan.c: Include gimple-builder.h.
      	* Makefile.in: Add gimple-builder.o.
      
      From-SVN: r202945
      Andrew MacLeod committed
    • tree-ssa-live.c (var_map_base_init): Handle SSA names with DECL_IGNORED_P base… · a2544177
      tree-ssa-live.c (var_map_base_init): Handle SSA names with DECL_IGNORED_P base VAR_DECLs like anonymous SSA names.
      
      2013-09-26  Richard Biener  <rguenther@suse.de>
      
      	* tree-ssa-live.c (var_map_base_init): Handle SSA names with
      	DECL_IGNORED_P base VAR_DECLs like anonymous SSA names.
      	(loe_visit_block): Use gcc_checking_assert.
      	* tree-ssa-coalesce.c (create_outofssa_var_map): Use
      	gimple_assign_ssa_name_copy_p.
      	(gimple_can_coalesce_p): Adjust according to the var_map_base_init
      	change.
      
      	* gcc.dg/tree-ssa/coalesce-2.c: New testcase.
      
      From-SVN: r202944
      Richard Biener committed
    • t-rs6000 (rs6000.o): Remove. · 6d1ca9a0
              * config/rs6000/t-rs6000 (rs6000.o): Remove.
              (rs6000-c.o): Use COMPILE and POSTCOMPILE.
      
      From-SVN: r202943
      David Edelsohn committed
    • re PR tree-optimization/58539 (ICE with segfault at -O3 with -g enabled on x86_64-linux-gnu) · 46e950db
      2013-09-26  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/58539
      	* tree-vect-loop.c (vect_create_epilog_for_reduction): Honor
      	the fact that debug statements are not taking part in loop-closed
      	SSA construction.
      
      	* gcc.dg/torture/pr58539.c: New testcase.
      
      From-SVN: r202942
      Richard Biener committed
    • msp430.c (msp430_expand_epilogue): Fix compile time warning message. · 40ada30a
      	* config/msp430/msp430.c (msp430_expand_epilogue): Fix compile
      	time warning message.
      	(msp430_print_operand_raw): Delete unused letter parameter.
      	(TARGET_PRINT_OPERAND_ADDRESS): Define.
      	(msp430_print_operand_address): New function.
      	(msp430_print_operand): Move address printing code from here to
      	new function.
      	* config/msp430/msp430.md (movsipsi2): Add comment in generated
      	assembler.
      	(zero_extendpsisi2): Likewise.
      	(extendpsisi2): New pattern.
      	(andneghi3): New pattern.
      
      From-SVN: r202941
      Nick Clifton committed
    • aarch64.opt (mlra): New option. · 38e8f663
      2013-09-26  Yvan Roux  <yvan.roux@linaro.org>
      
      	* config/aarch64/aarch64.opt (mlra): New option.
      	* config/aarch64/aarch64.c (aarch64_lra_p): New function.
      	(TARGET_LRA_P): Define.
      
      From-SVN: r202940
      Yvan Roux committed
    • * expr.c (expand_assignment): Remove obsolete comment. · 4167e8d4
      From-SVN: r202938
      Eric Botcazou committed
    • tree-flow.h (thread_through_all_blocks): Prototype moved into tree-ssa-threadupdate.h. · 5254eac4
      	* tree-flow.h (thread_through_all_blocks): Prototype moved into
      	tree-ssa-threadupdate.h.
      	(register_jump_thread): Similarly.
      	* tree-ssa-threadupdate.h: New header file.
      	* tree-ssa-dom.c: Include tree-ssa-threadupdate.h.
      	* tree-vrp.c: Likewise.
      	* tree-ssa-threadedge.c: Include tree-ssa-threadupdate.h.
      	(thread_around_empty_blocks): Change type of path vector argument to
      	an edge,type pair from just an edge.  Initialize both elements when
      	appending to a jump threading path.  Tweak references to elements
      	appropriately.
      	(thread_across_edge): Similarly.  Release memory for the elements
      	as needed.
      	* tree-ssa-threadupdate.c: Include tree-ssa-threadupdate.h.
      	(dump_jump_thread_path): New function broken out from
      	register_jump_thread.
      	(register_jump_thread): Use dump_jump_thread_path.  Change type of
      	path vector entries.  Search the path for NULL edges and dump
      	the path if one is found.  Tweak the conversion of path to 3-edge
      	form to use the block copy type information embedded in the path.
      
      	* gcc.dg/tree-ssa/ssa-dom-thread-3.c: Update expected output.
      
      From-SVN: r202933
      Jeff Law committed
    • Daily bump. · 9adc2b3c
      From-SVN: r202931
      GCC Administrator committed
  3. 25 Sep, 2013 8 commits
    • re PR libstdc++/58338 (Add noexcept to functions with a narrow contract) · 34e6625a
      2013-09-25  Marc Glisse  <marc.glisse@inria.fr>
      
      	PR libstdc++/58338
      	* include/bits/forward_list.h (_Fwd_list_node_base::_M_transfer_after):
      	Mark as noexcept.
      	(_Fwd_list_iterator) [_Fwd_list_iterator, operator*, operator->,
      	operator++, operator==, operator!=, _M_next]: Likewise.
      	(_Fwd_list_const_iterator) [_Fwd_list_const_iterator, operator*,
      	operator->, operator++, operator==, operator!=, _M_next]: Likewise.
      	(operator==(const _Fwd_list_iterator&, const _Fwd_list_const_iterator&),
      	operator!=(const _Fwd_list_iterator&, const _Fwd_list_const_iterator&)):
      	Likewise.
      	* include/bits/hashtable_policy.h (_Hash_node_base::_Hash_node_base,
      	_Hash_node::_M_next, _Node_iterator_base::_Node_iterator_base,
      	_Node_iterator_base::_M_incr, operator==(const _Node_iterator_base&,
      	const _Node_iterator_base&), operator!=(const _Node_iterator_base&,
      	const _Node_iterator_base&)): Likewise.
      	(_Node_iterator) [_Node_iterator, operator*, operator->, operator++]:
      	Likewise.
      	(_Node_const_iterator) [_Node_const_iterator, operator*, operator->,
      	operator++]: Likewise.
      	* include/debug/safe_iterator.h (_Safe_iterator) [_Safe_iterator,
      	operator=, operator*, operator->, operator++, operator--, operator[],
      	operator+=, operator+, operator-=, operator-, base, operator _Iterator]:
      	Likewise.
      	(operator==(const _Safe_iterator&, const _Safe_iterator&),
      	operator!=(const _Safe_iterator&, const _Safe_iterator&),
      	operator<(const _Safe_iterator&, const _Safe_iterator&),
      	operator<=(const _Safe_iterator&, const _Safe_iterator&),
      	operator>(const _Safe_iterator&, const _Safe_iterator&),
      	operator>=(const _Safe_iterator&, const _Safe_iterator&),
      	operator-(const _Safe_iterator&, const _Safe_iterator&),
      	operator+(difference_type, const _Safe_iterator&)): Likewise.
      	* include/profile/iterator_tracker.h (__iterator_tracker)
      	[__iterator_tracker, base, operator _Iterator, operator->, operator++,
      	operator--, operator=, operator*, operator[], operator+=, operator+,
      	operator-=, operator-]: Likewise.
      	(operator==(const __iterator_tracker&, const __iterator_tracker&),
      	operator!=(const __iterator_tracker&, const __iterator_tracker&),
      	operator<(const __iterator_tracker&, const __iterator_tracker&),
      	operator<=(const __iterator_tracker&, const __iterator_tracker&),
      	operator>(const __iterator_tracker&, const __iterator_tracker&),
      	operator>=(const __iterator_tracker&, const __iterator_tracker&),
      	operator-(const __iterator_tracker&, const __iterator_tracker&),
      	operator+(difference_type, const __iterator_tracker&)): Likewise.
      
      From-SVN: r202924
      Marc Glisse committed
    • re PR fortran/58436 ([OOP] ICE (segfault) in generate_finalization_wrapper for CLASS(*)) · 7017a7a9
      2013-09-25  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/58436
              * class.c (generate_finalization_wrapper): Handle CLASS(*).
      
      2013-09-25  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/58436
              * gfortran.dg/finalize_21.f90: New.
      
      From-SVN: r202923
      Tobias Burnus committed
    • re PR fortran/57697 ([OOP] Segfault with defined assignment for components… · 71e482dc
      re PR fortran/57697 ([OOP] Segfault with defined assignment for components during intrinsic assignment)
      
      2013-09-25  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/57697
              PR fortran/58469
              * resolve.c (generate_component_assignments): Avoid double free
              at runtime and freeing a still-being used expr.
      
      2013-09-25  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/57697
              PR fortran/58469
              * gfortran.dg/defined_assignment_8.f90: New.
              * gfortran.dg/defined_assignment_9.f90: New.
      
      From-SVN: r202922
      Tobias Burnus committed
    • Updating my mail ID. · 2272ddac
      From-SVN: r202921
      Jayant Sonar committed
    • Fix issue with libvtv testsuite being run (and failing) · 56fc7835
      when GCC was not configured with --enable-vtable-verify.
      
      From-SVN: r202918
      Caroline Tice committed
    • lra.c (update_inc_notes): Remove all REG_DEAD and REG_UNUSED notes. · 20f114a3
      2013-09-25  Yvan Roux  <yvan.roux@linaro.org>
      
      	* lra.c (update_inc_notes): Remove all REG_DEAD and REG_UNUSED notes.
      
      From-SVN: r202915
      Yvan Roux committed
    • rtlanal.c (lsb_bitfield_op_p): New predicate for bitfield operations from the… · 3936bafc
      rtlanal.c (lsb_bitfield_op_p): New predicate for bitfield operations from the least significant bit.
      
      2013-09-25  Yvan Roux  <yvan.roux@linaro.org>
      	    Vladimir Makarov  <vmakarov@redhat.com>
      
      	* rtlanal.c (lsb_bitfield_op_p): New predicate for bitfield operations
      	from the least significant bit.
      	(strip_address_mutations): Add bitfield operations handling.
      	(must_be_index_p): Add shifting and rotate operations handling.
      	(set_address_base): Use must_be_base_p predicate.
      	(set_address_index):Use must_be_index_p predicate.
      
      
      Co-Authored-By: Vladimir Makarov <vmakarov@redhat.com>
      
      From-SVN: r202914
      Yvan Roux committed
    • i386.c (ix86_avx256_split_vector_move_misalign): Use new names. · b86f6e9e
      	* config/i386/i386.c (ix86_avx256_split_vector_move_misalign):
      	Use new names.
      	(ix86_expand_vector_move_misalign): Support new unaligned load and
      	stores and use new names.
      	(CODE_FOR_sse2_storedqu): Rename to ...
      	(CODE_FOR_sse2_storedquv16qi): ... this.
      	(CODE_FOR_sse2_loaddqu): Rename to ...
      	(CODE_FOR_sse2_loaddquv16qi): ... this.
      	(CODE_FOR_avx_loaddqu256): Rename to ...
      	(CODE_FOR_avx_loaddquv32qi): ... this.
      	(CODE_FOR_avx_storedqu256): Rename to ...
      	(CODE_FOR_avx_storedquv32qi): ... this.
      	* config/i386/i386.md (fpint_logic): New.
      	* config/i386/sse.md (VMOVE): Extend for AVX512.
      	(VF): Ditto.
      	(VF_128_256): New.
      	(VF_512): Ditto.
      	(VI_UNALIGNED_LOADSTORE): Ditto.
      	(sse2_avx_avx512f): Ditto.
      	(sse2_avx2): Extend for AVX512.
      	(sse4_1_avx2): Ditto.
      	(avx2_avx512f): New.
      	(sse): Extend for AVX512.
      	(sse2): Ditto.
      	(sse4_1): Ditto.
      	(avxsizesuffix): Ditto.
      	(sseintvecmode): Ditto.
      	(ssePSmode): Ditto.
      	(<sse>_loadu<ssemodesuffix><avxsizesuffix>): Ditto.
      	(<sse>_storeu<ssemodesuffix><avxsizesuffix>): Ditto.
      	(<sse2>_loaddqu<avxsizesuffix>): Extend for AVX512 and rename to ...
      	(<sse2_avx_avx512f>_loaddqu<mode>): ... this.
      	(<sse2>_storedqu<avxsizesuffix>): Extend for AVX512 and rename to ...
      	(<sse2_avx_avx512f>_storedqu<mode): ... this.
      	(<sse>_movnt<mode>): Replace constraint "x" with "v".
      	(STORENT_MODE): Extend for AVX512.
      	(*absneg<mode>2): Replace constraint "x" with "v".
      	(*mul<mode>3): Ditto.
      	(*ieee_smin<mode>3): Ditto.
      	(*ieee_smax<mode>3): Ditto.
      	(avx_cmp<mode>3): Replace VF with VF_128_256.
      	(*<sse>_maskcmp<mode>3_comm): Ditto.
      	(<sse>_maskcmp<mode>3): Ditto.
      	(<sse>_andnot<mode>3): Extend for AVX512.
      	(<code><mode>3, anylogic): Replace VF with VF_128_256.
      	(<code><mode>3, fpint_logic): New.
      	(*<code><mode>3): Extend for AVX512.
      	(avx512flogicsuff): New.
      	(avx512f_<logic><mode>): Ditto.
      	(<sse>_movmsk<ssemodesuffix><avxsizesuffix>): Replace VF with
      	VF_128_256.
      	(<sse4_1>_blend<ssemodesuffix><avxsizesuffix>): Ditto.
      	(<sse4_1>_blendv<ssemodesuffix><avxsizesuffix>): Ditto.
      	(<sse4_1>_dp<ssemodesuffix><avxsizesuffix>): Ditto.
      	(avx_vtest<ssemodesuffix><avxsizesuffix>): Ditto.
      	(<sse4_1>_round<ssemodesuffix><avxsizesuffix>): Ditto.
      	(xop_vpermil2<mode>3): Ditto.
      	(*avx_vpermilp<mode>): Extend for AVX512 and rename to ...
      	(*<sse2_avx_avx512f>_vpermilp<mode>): ... this.
      	(avx_vpermilvar<mode>3): Extend for AVX512 and rename to ...
      	(<sse2_avx_avx512f>_vpermilvar<mode>3): ... this.
      
      
      Co-Authored-By: Andrey Turetskiy <andrey.turetskiy@intel.com>
      Co-Authored-By: Anna Tikhonova <anna.tikhonova@intel.com>
      Co-Authored-By: Ilya Tocar <ilya.tocar@intel.com>
      Co-Authored-By: Ilya Verbin <ilya.verbin@intel.com>
      Co-Authored-By: Kirill Yukhin <kirill.yukhin@intel.com>
      Co-Authored-By: Maxim Kuznetsov <maxim.kuznetsov@intel.com>
      Co-Authored-By: Michael Zolotukhin <michael.v.zolotukhin@intel.com>
      Co-Authored-By: Sergey Lega <sergey.s.lega@intel.com>
      
      From-SVN: r202913
      Alexander Ivchenko committed