1. 14 Sep, 2012 32 commits
  2. 13 Sep, 2012 8 commits
    • Bi-endian support for moxie · f636ba14
      From-SVN: r191285
      Anthony Green committed
    • re PR c++/53210 (warning for data member initialized with itself should be in -Wall) · 0ccb505d
      2012-09-13  Paolo Carlini  <paolo.carlini@oracle.com>
      	    Manuel López-Ibáñez  <manu@gcc.gnu.org>
      
      	PR c++/53210
      	* doc/invoke.texi ([Winit-self]): Document as enabled by -Wall
      	in C++.
      
      /c-family
      2012-09-13  Paolo Carlini  <paolo.carlini@oracle.com>
      	    Manuel López-Ibáñez  <manu@gcc.gnu.org>
      
      	PR c++/53210
      	* c.opt ([Winit-self]): Enabled by -Wall in C++.
      
      /cp
      2012-09-13  Paolo Carlini  <paolo.carlini@oracle.com>
      	    Manuel López-Ibáñez  <manu@gcc.gnu.org>
      
      	PR c++/53210
      	* init.c (perform_member_init): Use OPT_Winit_self instead of
      	OPT_Wuninitialized.
      
      /testsuite
      2012-09-13  Paolo Carlini  <paolo.carlini@oracle.com>
      	    Manuel López-Ibáñez  <manu@gcc.gnu.org>
      
      	PR c++/53210
      	* g++.dg/warn/Winit-self.C: New.
      
      Co-Authored-By: Manuel López-Ibáñez <manu@gcc.gnu.org>
      
      From-SVN: r191284
      Paolo Carlini committed
    • predicates.md (input_operand): Do not consider TImode constants as 1-instruction integer constants. · 03c432bd
      	* config/sparc/predicates.md (input_operand): Do not consider TImode
      	constants as 1-instruction integer constants.
      	Use register_or_zero_operand instead of register_operand and tidy up.
      	* config/sparc/sparc.md (movti): New expander.
      	(movti_insn_sp64): New instruction.
      	(movti_insn_sp64_hq): Likewise.
      	(TImode splitters): New splitters.
      	* config/sparc/sparc.c (sparc_expand_move) <TImode>: New case.
      	(sparc_legitimate_address_p): Return 0 for REG+REG in TImode.
      
      	* config/sparc/sparc-protos.h (arith_double_4096_operand): Delete.
      	(arith_4096_operand): Likewise.
      	(zero_operand): Likewise.
      	(fp_zero_operand): Likewise.
      	(reg_or_0_operand): Likewise.
      
      From-SVN: r191283
      Eric Botcazou committed
    • typeck.c (build_indirect_ref, [...]): Remove uses of ATTRIBUTE_UNUSED on the parameters. · 12308bc6
      2012-09-13  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* typeck.c (build_indirect_ref, build_function_call,
      	build_function_call_vec, build_binary_op, build_unary_op,
      	build_compound_expr, build_c_cast, build_modify_expr): Remove
      	uses of ATTRIBUTE_UNUSED on the parameters.
      	* class.c (set_linkage_according_to_type, resort_type_method_vec,
      	dfs_find_final_overrider_post, empty_base_at_nonzero_offset_p):
      	Likewise.
      	* decl.c (local_variable_p_walkfn): Likewise.
      	* except.c (wrap_cleanups_r, check_noexcept_r): Likewise.
      	* error.c (find_typenames_r): Likewise.
      	* tree.c (verify_stmt_tree_r, bot_replace,
      	handle_java_interface_attribute, handle_com_interface_attribute,
      	handle_init_priority_attribute, c_register_addr_space): Likewise.
      	* cp-gimplify.c (cxx_omp_clause_default_ctor): Likewise.
      	* cp-lang.c (objcp_tsubst_copy_and_build): Likewise.
      	* pt.c (unify_success, unify_invalid, instantiation_dependent_r):
      	Likewise.
      	* semantics.c (dfs_calculate_bases_pre): Likewise.
      	* decl2.c (fix_temporary_vars_context_r, clear_decl_external):
      	Likewise.
      	* parser.c (cp_lexer_token_at, cp_parser_omp_clause_mergeable,
      	cp_parser_omp_clause_nowait, cp_parser_omp_clause_ordered,
      	cp_parser_omp_clause_untied): Likewise.
      	* mangle.c (write_unnamed_type_name,
      	discriminator_for_string_literal): Likewise.
      	* search.c (dfs_accessible_post, dfs_debug_mark): Likewise.
      	* lex.c (handle_pragma_vtable, handle_pragma_unit,
      	handle_pragma_interface, handle_pragma_implementation,
      	handle_pragma_java_exceptions): Likewise.
      
      From-SVN: r191281
      Paolo Carlini committed
    • re PR c/54559 (, ICE in gimplify_expr, at gimplify.c:7592) · 9feb29df
      	PR c/54559
      	* c-typeck.c (c_finish_return): Do convert to BOOLEAN_TYPE or
      	COMPLEX_TYPE with in_late_binary_op set temporarily to true.
      
      	* gcc.c-torture/compile/pr54559.c: New test.
      
      From-SVN: r191270
      Jakub Jelinek committed
    • configure.ac (CXXFLAGS): Remove -O2 when not bootstrapping. · 8bf4ee34
      	* configure.ac (CXXFLAGS): Remove -O2 when not bootstrapping.
      	* configure: Regenerated.
      
      From-SVN: r191267
      Jakub Jelinek committed
    • re PR c++/53839 ([C++11] internal compiler error: in adjust_temp_type, at cp/semantics.c:6391) · 9c7de5c6
      	PR c++/53839
      	* semantics.c (cxx_eval_indirect_ref): If we aren't looking for an
      	address, make sure the value is constant.
      
      From-SVN: r191263
      Jason Merrill committed
    • re PR c++/54511 (internal compiler error: in make_decl_rtl, at varasm.c:1147) · afcf5b8e
      	PR c++/54511
      	* pt.c (tsubst_decl) [VAR_DECL]: Handle DECL_ANON_UNION_VAR_P.
      
      From-SVN: r191262
      Jason Merrill committed