1. 14 Oct, 2009 10 commits
  2. 13 Oct, 2009 19 commits
  3. 12 Oct, 2009 11 commits
    • Rebuild config.in, configure. · bad72d7a
      From-SVN: r152687
      Richard Henderson committed
    • re PR c++/37875 ([c++0x] misinterpreted closing angle bracket in decltype operand) · 478a716a
      	PR c++/37875
      	* parser.c (cp_parser_decltype): Set greater_than_is_operator_p.
      
      From-SVN: r152686
      Jason Merrill committed
    • re PR c++/37766 ([C++0x] ICE with function's default reference template parameter) · 23f392e0
      	PR c++/37766
      	* pt.c (type_unification_real): Call convert_template_argument
      	for function default template arguments.
      	(check_default_tmpl_args): Suggest -std=c++0x when function default
      	template args seen in C++98 mode.
      
      From-SVN: r152685
      Jason Merrill committed
    • * gcc.dg/lto/20090914-2.c: Fix typos in test directives. · 610bf3eb
      From-SVN: r152684
      Janis Johnson committed
    • i386.md (*setcc_<mode>_2): Remove insn pattern. · 4c769036
      	* config/i386/i386.md (*setcc_<mode>_2): Remove insn pattern.
      
      From-SVN: r152683
      Uros Bizjak committed
    • random.h (class linear_congruential_engine, [...]): Do not use simulated concept checks... · 77e3c516
      2009-10-12  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/bits/random.h (class linear_congruential_engine,
      	class mersenne_twister_engine, class subtract_with_carry_engine,
      	class discard_block_engine, class independent_bits_engine,
      	class shuffle_order_engine, class uniform_int_distribution,
      	class binomial_distribution, class geometric_distribution,
      	class negative_binomial_distribution, class poisson_distribution,
      	class discrete_distribution): Do not use simulated concept checks,
      	tidy startic_asserts on argument types and ranges.
      	(class uniform_real_distribution, class normal_distribution,
      	class lognormal_distribution, class gamma_distribution,
      	class chi_squared_distribution, class cauchy_distribution,
      	class fisher_f_distribution, class student_t_distribution,
      	class exponential_distribution, class weibull_distribution,
      	class extreme_value_distribution, class piecewise_linear_distribution,
      	class piecewise_constant_distribution): Add static_assert on
      	template argument type.
      	* include/std/random: Do not include <bits/concept_check.h>.
      	* testsuite/26_numerics/random/discard_block_engine/cons/base_move.cc:
      	Fix.
      	* testsuite/26_numerics/random/discard_block_engine/cons/seed1.cc:
      	Likewise.
      	* testsuite/26_numerics/random/discard_block_engine/cons/seed2.cc:
      	Likewise.
      	* testsuite/26_numerics/random/discard_block_engine/cons/base_copy.cc:
      	Likewise.
      	* testsuite/26_numerics/random/discard_block_engine/cons/default.cc:
      	Likewise.
      	* testsuite/26_numerics/random/discard_block_engine/cons/seed_seq.cc:
      	Likewise.
      	* testsuite/26_numerics/random/discard_block_engine/requirements/
      	typedefs.cc: Likewise.
      	* testsuite/26_numerics/random/discard_block_engine/operators/
      	equal.cc: Likewise.
      	* testsuite/26_numerics/random/discard_block_engine/operators/
      	serialize.cc: Likewise.
      	* testsuite/26_numerics/random/linear_congruential_engine/
      	requirements/non_uint_neg.cc: Tweak.
      
      From-SVN: r152682
      Paolo Carlini committed
    • re PR debug/41343 (sysdeps/ieee754/dbl-64/dosincos.c from glibc causes excessive memory use) · 0ca5af51
      gcc/ChangeLog:
      PR debug/41343
      PR debug/41447
      PR debug/41264
      PR debug/41338
      * tree.def (DEBUG_EXPR_DECL): New.
      * rtl.def (DEBUG_EXPR): New.
      * gengtype.c (adjust_field_rtx_def): Handle it.
      * tree-ssa.c (propagate_var_def_into_debug_stmts): Rename to...
      (insert_debug_temp_for_var_def): ... this.  Drop support for
      moving.  Take iterator for def stmt; insert debug stmt before it.
      Scan early for use count and kind in debug stmts.
      (propagate_defs_into_debug_stmts): Rename to...
      (insert_debug_temps_for_defs): ... this.  Likewise.
      * tree.h (DEBUG_TEMP_UID): New.
      * tree.c (next_debug_decl_uid): New.
      (make_node_stat): Count debug decls separately.
      (copy_node_stat): Likewise.
      * cfgexpand.c (expand_debug_expr): Handle DEBUG_EXPR_DECL.
      * var-tracking.c (dv_is_decl_p): Recognize it.
      (VALUE_RECURSED_INTO): Apply to DEBUG_EXPRs too.
      (track_expr_p): Track expanded DEBUG_EXPR_DECLs.
      (vt_expand_loc_callback): Expand DEBUG_EXPRs.
      (emit_note_insn_var_location): Don't emit notes for DEBUG_EXPR_DECLs.
      * cselib.c (rtx_equal_for_cselib_p): Handle DEBUG_EXPR.
      (cselib_hash_rtx): Likewise.
      (cselib_expand_value_rtx_1): Use callback for DEBUG_EXPR.
      * tree-ssa-operands.c (get_expr_operands): Skip DEBUG_EXPR_DECLs in
      debug bind stmts.
      * emit-rtl.c (verify_rtx_sharing): Handle DEBUG_EXPR and VALUE.
      (copy_rtx_if_shared_1, reset_used_flags, set_used_flags): Likewise.
      * rtl.c (copy_rtx): Likewise.
      (rtx_equal_p_cb, rtx_equal_p): Handle DEBUG_EXPR.
      * print-rtl.c (print_rtx): Likewise.
      * sched-vis.c (print_value): Likewise.
      (print_insn): Handle DEBUG_EXPR_DECL.
      * tree-dump.c (dequeue_and_dump): Likewise.
      * tree-pretty-print.c (dump_decl_name, dump_generic_node): Likewise.
      * gimple-iterator (gsi_replace): Check for same lhs.
      (gsi_remove): Insert debug temps.
      * tree-ssa-loop-im.c (rewrite_reciprocal): Replace with same lhs.
      (move_computations_stmt): Drop explicit propagation into debug stmts.
      (rewrite_bittest): Likewise.  Use gsi_remove for propagation.
      * tree-ssa-reassoc.c (rewrite_expr_tree, linearize_expr): Likewise.
      * tree-ssa-sink.c (statement_sink_location): Likewise.
      * tree-ssa-forwprop (forward_propagate_addr_expr): Likewise.
      * tree-ssanames.c (release_ssa_name): Adjust for rename.
      * tree-flow.h: Likewise.
      * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Don't mark
      debug temps without values.
      (eliminate_unnecessary_stmts): Don't discard just-inserted
      debug stmts.
      gcc/testsuite/ChangeLog:
      PR debug/41343
      PR debug/41447
      PR debug/41264
      PR debug/41338
      * gcc.dg/guality/pr41447-1.c: New.
      * gcc.dg/debug/pr41264-1.c: New.
      * gcc.dg/debug/pr41343-1.c: New.
      
      From-SVN: r152681
      Alexandre Oliva committed
    • re PR target/26515 (peephole2 causes unrecognized insn, zero_extending non-general register) · 2e723874
      	PR target/26515
      	* gcc.dg/torture/pr26515.c: New test.
      
      From-SVN: r152677
      Hans-Peter Nilsson committed
    • re PR target/26515 (peephole2 causes unrecognized insn, zero_extending non-general register) · 365cacbf
      	PR target/26515
      	* config/cris/cris.md (andu): Check that operand 1 is one of the
      	general registers.  Fix typo in head comment.
      
      From-SVN: r152676
      Hans-Peter Nilsson committed
    • fix typo from previous change to ChangeLog · af672ec1
      From-SVN: r152672
      Janis Johnson committed
    • re PR testsuite/41659 (FAIL: gcc.dg/lto/20090914-2 c_lto_20090914-2_0.o assemble, -O0 -fwhopr) · 7b25ea29
      	PR testsuite/41659
      	* gcc.dg/lto/20090914-2.c: Use dg-skip-if to skip test.
      	* lib/lto.exp (lto-get-options-main): Report error for using "target"
      	or "xfail" with dg-lto-dg.
      
      From-SVN: r152671
      Janis Johnson committed