1. 04 Jul, 2012 4 commits
  2. 03 Jul, 2012 25 commits
  3. 02 Jul, 2012 11 commits
    • re PR target/53568 (SH Target: Add support for bswap built-ins) · 0f676cfe
      	PR target/53568
      	* gcc.target/sh/pr53568-1.c: New.
      
      From-SVN: r189181
      Oleg Endo committed
    • re PR target/51244 ([SH] Inefficient conditional branch and code around T bit) · f031c344
      	PR target/51244
      	* config/sh/predicates.md (t_reg_operand, negt_reg_operand): New
      	predicates.
      	* config/sh/sh-protos.h (get_t_reg_rtx): New prototype.
      	* config/sh/sh.c (get_t_reg_rtx): New function.  Use it when invoking
      	gen_branch_true and gen_branch_false.
      	* config/sh/sh.md: Use get_t_reg_rtx when invoking gen_branch_true and
      	gen_branch_false.
      	(branch_true, branch_false): Use t_reg_operand predicate.
      	(*branch_true, *branch_false): Delete.
      	(movt): Use t_reg_operand predicate.
      	(*negnegt): Use negt_reg_operand predicate and fold little and big
      	endian variants.
      	(*movtt): Use t_reg_operand and fold little and big endian variants.
      	(*movt_qi): Delete.
      
      	PR target/51244
      	* gcc.target/sh/pr51244-1.c: Check that movt insn is not generated.
      
      From-SVN: r189177
      Oleg Endo committed
    • re PR c++/53821 ([c++11] multiple definitions of lambda) · 73a15695
      	PR c++/53821
      	* semantics.c (maybe_add_lambda_conv_op): Don't set
      	DECL_INTERFACE_KNOWN.
      
      From-SVN: r189175
      Jason Merrill committed
    • re PR c++/53524 (Bogus enum comparison warning) · 8d0d1915
      	PR c++/53524
      gcc/cp/
      	* call.c (build_conditional_expr_1): Don't warn about comparison of
      	two enumerators before their enumeration is complete.
      	(build_new_op_1): Call decay_conversion before warn_logical_operator.
      	* decl.c (build_enumerator): Set DECL_CONTEXT of an enumerator to
      	its enumeration.
      	* decl2.c (mark_used): Call used_types_insert for enums.
      	* semantics.c (finish_id_expression): Don't decay CONST_DECL.
      	(finish_member_declaration): Don't change DECL_CONTEXT of enumerators.
      	* class.c (check_field_decls): Don't change DECL_CONTEXT of enums.
      	* typeck.c (convert_for_assignment): Don't decay CONST_DECL.
      	(build_class_member_access_expr): Look through unscoped enums.
      	* search.c (context_for_name_lookup): Look through unscoped enums.
      	* pt.c (tsubst_copy_and_build): Don't decay CONST_DECL.
      	(tsubst_copy): Use DECL_CONTEXT to find the enumeration.
      	* tree.c (decl_linkage): Likewise.
      	* cvt.c (ocp_convert): Check decayed expr for enum range warning.
      gcc/c-family/
      	* c-common.c (get_priority): Call default_conversion.
      
      From-SVN: r189174
      Jason Merrill committed
    • stmt.c (emit_case_bit_tests): Remove. · 531b10fc
      gcc/
      	* stmt.c (emit_case_bit_tests): Remove.
      	(expand_case): Remove expand_switch_using_bit_tests_p code.
      	* tree-switch-conversion.c (hoist_edge_and_branch_if_true): New.
      	(MAX_CASE_BIT_TESTS): Moved from stmt.c to here.
      	(lshift_cheap_p): Likewise.
      	(expand_switch_using_bit_tests_p): Likewise.
      	(struct case_bit_test): Likewise.
      	(case_bit_test_cmp): Likewise.
      	(emit_case_bit_tests): New implementation for GIMPLE.
      	(gen_inbound_check): Do not release post-dominator info here.
      	(process_switch): Reorder code.  Expand as bit tests if it
      	looks like a win.
      	(do_switchconv): Release post-dominator info here if something
      	changed.
      	(struct gimple_opt_pass): Verify more.
      	* tree.h (expand_switch_using_bit_tests_p): Remove prototype.
      
      testsuite/
      	* gcc.dg/tree-ssa/pr36881.c: Fix test case to not expand as bit tests.
      
      From-SVN: r189173
      Steven Bosscher committed
    • fix typo in previous commit · 8153b03d
      From-SVN: r189167
      Janis Johnson committed
    • MAINTAINERS (Various Mainterers): Add myself as testsuite maintainer. · 1116de1a
      	* MAINTAINERS (Various Mainterers): Add myself as testsuite
      	maintainer.
      
      From-SVN: r189166
      Janis Johnson committed
    • re PR middle-end/38474 (compile time explosion in dataflow_set_preserve_mem_locs at -O3) · 4e03d849
      2012-07-02  Martin Jambor  <mjambor@suse.cz>
      
      	PR middle-end/38474
      	* ipa-prop.c (compute_known_type_jump_func): Put BINFO check before a
      	dynamic type change check.
      
      From-SVN: r189163
      Martin Jambor committed
    • be.po, [...]: Update. · b60e9a88
      	* be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, id.po, ja.po,
      	nl.po, ru.po, sr.po, sv.po, tr.po, vi.po, zh_CN.po, zh_TW.po:
      	Update.
      
      From-SVN: r189160
      Joseph Myers committed
    • isl.m4 (_ISL_CHECK_CT_PROG): Omit main function header/footer. · 8247e8b2
      2012-07-02  Richard Guenther  <rguenther@suse.de>
      
      	config/
      	* isl.m4 (_ISL_CHECK_CT_PROG): Omit main function header/footer.
      	Fix version test. 
      
      	* configure: Regenerated.
      
      From-SVN: r189159
      Richard Guenther committed
    • isl.m4: New file. · 4dacb1ad
      2012-07-02  Richard Guenther  <rguenther@suse.de>
      	Michael Matz  <matz@suse.de>
      	Tobias Grosser <tobias@grosser.es>
      	Sebastian Pop <sebpop@gmail.com>
      
      	* isl.m4: New file.
      
      From-SVN: r189157
      Richard Biener committed