1. 16 Apr, 2012 4 commits
  2. 15 Apr, 2012 7 commits
  3. 14 Apr, 2012 11 commits
    • re PR libstdc++/52699 (infinite loop generated with -O0) · f84ca6e7
      2012-04-14  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/52699
      	* include/bits/random.tcc (independent_bits_engine<>::operator()())
      	Avoid various overflows; use common_type on result_type and
      	_RandomNumberEngine::result_type; avoid floating point computations;
      	other smaller tweaks.
      
      	* include/bits/random.tcc (uniform_int_distribution<>::operator())
      	Use common_type; assume _UniformRandomNumberGenerator::result_type
      	unsigned; tidy.
      
      	* include/bits/stl_algobase.h (__lg(unsigned), __lg(unsigned long),
      	__lg(unsigned long long)): Add.
      
      From-SVN: r186456
      Paolo Carlini committed
    • * config/i386/sse.md: Fix whitespace and formatting. · 608dccd7
      From-SVN: r186455
      Uros Bizjak committed
    • sse.md (ssse3_plusminus): New code iterator. · 8861ba4d
      2012-04-14  Uros Bizjak  <ubizjak@gmail.com>
      
      	* config/i386/sse.md (ssse3_plusminus): New code iterator.
      	(avx2_ph<plusminus_mnemonic>wv16hi3): Macroize insn from
      	avx2_ph{add,adds,sub,subs}wv16hi3 using ssse3_plusminus code iterator.
      	(ssse3_ph<plusminus_mnemonic>wv8hi3): Macroize insn from
      	ssse3_ph{add,adds,sub,subs}wv8hi3 using ssse3_plusminus code iterator.
      	(ssse3_ph<plusminus_mnemonic>wv4hi3): Macroize insn from
      	ssse3_ph{add,adds,sub,subs}wv4hi3 using ssse3_plusminus code iterator.
      
      	(avx2_ph<plusminus_mnemonic>dv8si3): Macroize insn from
      	avx2_ph{add,adds,sub,subs}dv8si3 using plusminus code iterator.
      	(ssse3_ph<plusminus_mnemonic>dv4si3): Macroize insn from
      	ssse3_ph{add,adds,sub,subs}dv4si3 using plusminus code iterator.
      	(ssse3_ph<plusminus_mnemonic>dv2si3): Macroize insn from
      	ssse3_ph{add,adds,sub,subs}dv2si3 using plusminus code iterator.
      
      	(xop_plus): New code iterator.
      	(macs): New code attribute.
      	(macds): Ditto.
      	(xop_p<macs><ssemodesuffix><ssemodesuffix>): Macroize insn from
      	xop_pmacs{,s}{ww,dd} using xop_plus code iterator and VI24_128 mode
      	iterator.
      	(xop_p<macs>dql): Macroize insn from xop_pmacs{,s}dql using
      	xop_plus code iterator.
      	(xop_p<macs>dqh): Macroize insn from xop_pmacs{,s}dqh using
      	xop_plus code iterator.
      	(xop_p<macs>wd): Macroize insn from xop_pmacs{,s}wd using
      	xop_plus code iterator.
      	(xop_p<madcs>wd): Macroize insn from xop_pmadcs{,s}wd using
      	xop_plus code iterator.
      
      	(xop_phadd<u>bw): Macroize insn from xop_phadd{,u}bw usign
      	any_extend code iterator.
      	(xop_phadd<u>bd): Macroize insn from xop_phadd{,u}bd usign
      	any_extend code iterator.
      	(xop_phadd<u>bq): Macroize insn from xop_phadd{,u}bq usign
      	any_extend code iterator.
      	(xop_phadd<u>wd): Macroize insn from xop_phadd{,u}wd usign
      	any_extend code iterator.
      	(xop_phadd<u>wq): Macroize insn from xop_phadd{,u}wq usign
      	any_extend code iterator.
      	(xop_phadd<u>dq): Macroize insn from xop_phadd{,u}dq usign
      	any_extend code iterator.
      
      From-SVN: r186454
      Uros Bizjak committed
    • re PR libstdc++/52839 (double free or corruption running tr1/.../default_weaktoshared.exe) · 531b2c7b
      	PR libstdc++/52839
      	* acinclude.m4 (_GLIBCXX_ATOMIC_BUILTINS): Do not depend on
      	glibcxx_cv_atomic_long_long.
      	* configure: Regenerate.
      
      From-SVN: r186453
      Alan Modra committed
    • superblock.c: New test. · 01e3d28c
      2012-04-14  Tom de Vries  <tom@codesourcery.com>
      
      	* gcc.dg/superblock.c: New test.
      
      From-SVN: r186452
      Tom de Vries committed
    • cfgcleanup.c (try_optimize_cfg): Replace call to delete_insn_chain by call to delete_insn. · 03fbe718
      2012-04-14  Tom de Vries  <tom@codesourcery.com>
      
      	* cfgcleanup.c (try_optimize_cfg): Replace call to delete_insn_chain by
      	call to delete_insn.  Remove code to reorder BASIC_BLOCK note and
      	DELETED_LABEL note, and move it to ...
      	* cfgrtl.c (delete_insn): ... here.  Change return type to void.
      	(delete_insn_and_edges): Likewise.
      	(delete_insn_chain): Handle new return type of delete_insn.  Delete
      	chain backwards rather than forwards.
      	* rtl.h (delete_insn, delete_insn_and_edges): Change return type to
      	void.
      	* cfglayout.c (fixup_reorder_chain): Delete unused label.
      
      From-SVN: r186451
      Tom de Vries committed
    • cgraph.h: Update copyrights; · 960bfb69
      
      	* cgraph.h: Update copyrights;
      	(symtab_node): Turn to union typedef.
      	(symtab_node_base): New structure.
      	(symtab_type): Add SYMTAB_SYMBOL tag.
      	* cgraph.c: Update references to fields
      	(cgraph_hash, assembler_name_hash): Turn into symtab_node.
      	(cgraph_local_info): Remove lto_file_data
      	and externally_visible.
      	(cgraph_node): Remove decl; same_comdat_group list;
      	aux; ref_list; order; address_taken; reachable_from_other_parittion,
      	in_other_partition; resolution.
      	(varpool_node): Remove decl; same_comdat_group;
      	ref_list; lto_file_data; aux; order; resolution; externally_visible;
      	used_from_other_partition; in_other_partition.
      	(symtab_node_def); New union.
      	(cgraph, varpool): Update.
      	(varpool_first_static_initializer, varpool_next_static_initializer,
      	cgraph_only_called_directly_or_aliased_p,
      	varpool_can_remove_if_no_refs, varpool_can_remove_if_no_refs,
      	varpool_all_refs_explicit_p, cgraph_alias_aliased_node,
      	varpool_alias_aliased_node, cgraph_edge_recursive_p): Update
      	field references.
      	* cgraph.c: Likewise.
      	* cgraphbuild.c: Likewise.
      	* lto-symtab.c: Likewise.
      	* c-gimplify.c: Likewise.
      	* value-prof.c: Likewise.
      	* tree.c: Likewise.
      	* ipa-cp.c: Likewise.
      	* tree-emutls.c: Likewise.
      	* ipa-inline-transform.c: Likwise.
      	* ipa-reference.c: Likewise.
      	* cgraphunit.c: Likewise.
      	* ipa-ref.c: Likewise.
      	* lto-cgraph.c: Likewise.
      	* ipa-ref-inline.h: Likewise.
      	* ipa-pure-const.c: Likewise.
      	* lto-streamer-out.c: Likewise.
      	* ipa-utils.c: Likewise.
      	* ipa-inline.c: Likewise.
      	* matrix-reorg.c: Likewise.
      	* tree-eh.c: Likewise.
      	* tree-vectorizer.c: Likewise.
      	* ipa-split.c: Likewise.
      	* ipa.c: Likewise.
      	* trans-mem.c: Likewise.
      	* ipa-inline-analysis.c: Likewise.
      	* gimplify.c: Likewise.
      	* cfgexpand.c: Likewise.
      	* tree-sra.c: Likewise.
      	* ipa-prop.c: Likewise.
      	* varasm.c: Likewise.
      	* tree-nested.c: Likewise.
      	* tree-inline.c: Likewise.
      	* tree-profile.c: Likewise.
      	* tree-ssa-structalias.c: Likewise.
      	* passes.c: Likewise.
      	* varpool.c: Likewise.
      
      	* tree.c: Update field referenced for new cgraph/varpool layout.
      	* decl2.c: Likewise.
      
      	* gcc-interface/trans.c (finalize_nrv): Update field referenced for new
      	cgraph/varpool layout.
      
      	* lto.c: Update field referenced for new cgraph/varpool layout.
      	* lto-partition.c: Likewise.
      
      From-SVN: r186450
      Jan Hubicka committed
    • pr51879-12.c: New test. · 30d1ab75
      2012-04-14  Tom de Vries  <tom@codesourcery.com>
      
      	* gcc.dg/pr51879-12.c: New test.
      
      From-SVN: r186448
      Tom de Vries committed
    • tree-ssa-tail-merge.c (stmt_local_def): New function, factored out of… · b2b2f160
      tree-ssa-tail-merge.c (stmt_local_def): New function, factored out of same_succ_hash, with local_def inlined.
      
      2012-04-14  Tom de Vries  <tom@codesourcery.com>
      
      	* tree-ssa-tail-merge.c (stmt_local_def): New function, factored out of
      	same_succ_hash, with local_def inlined.  Use SINGLE_SSA_DEF_OPERAND.
      	Use FOR_EACH_IMM_USE_FAST instead of FOR_EACH_IMM_USE_STMT.  Remove use
      	of find_edge.
      	(gsi_advance_fw_nondebug_nonlocal): New function.
      	(local_def): Removed function.
      	(same_succ_hash): Use stmt_local_def.
      	(same_succ_equal): Use gsi_advance_fw_nondebug_nonlocal.
      	(gsi_advance_bw_nondebug_nonlocal): Use stmt_local_def.
      
      From-SVN: r186447
      Tom de Vries committed
    • 51083.cc: Move... · 6a9218cc
      2012-04-13  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* testsuite/26_numerics/cmath/51083.cc: Move...
      	* testsuite/26_numerics/headers/cmath/51083.cc: ... here.
      
      From-SVN: r186445
      Paolo Carlini committed
    • Daily bump. · 939fdefd
      From-SVN: r186444
      GCC Administrator committed
  4. 13 Apr, 2012 18 commits