1. 28 Mar, 2013 15 commits
    • name-lookup.c (pushdecl_maybe_friend_1): Use nonlambda_method_basetype and… · c561e952
      name-lookup.c (pushdecl_maybe_friend_1): Use nonlambda_method_basetype and current_nonlambda_class_type.
      
      	* name-lookup.c (pushdecl_maybe_friend_1): Use
      	nonlambda_method_basetype and current_nonlambda_class_type.
      
      From-SVN: r197210
      Jason Merrill committed
    • re PR c++/56728 (ICE using constexpr initialization and arrays) · 477e1843
      	PR c++/56728
      	* semantics.c (potential_constant_expression_1) [NOP_EXPR]: Reject
      	conversion from integer to pointer.
      	(cxx_eval_constant_expression): Likewise.
      	(cxx_eval_indirect_ref): Use the folded operand if we still think
      	this might be constant.
      
      From-SVN: r197209
      Jason Merrill committed
    • i386.md (*vec_extract2vdi_1): Merge with *vec_extractv2di_1_rex64. · 9cd347ae
      	* config/i386/i386.md (*vec_extract2vdi_1): Merge with
      	*vec_extractv2di_1_rex64.  Use x64 isa attribute.
      
      From-SVN: r197208
      Uros Bizjak committed
    • aarch64.md (*and<mode>3_compare0): New pattern. · 2a1d1991
      2013-03-28   Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>
      
      	* config/aarch64/aarch64.md (*and<mode>3_compare0): New pattern.
      	(*andsi3_compare0_uxtw): New pattern.
      	(*and_<SHIFT:optab><mode>3_compare0): New pattern.
      	(*and_<SHIFT:optab>si3_compare0_uxtw): New pattern.
      
      From-SVN: r197207
      Naveen H.S committed
    • re PR c++/56725 (extra spaces in error message) · 7abebba7
      /cp
      2013-03-28  Paolo Carlini  <paolo.carlini@oracle.com>
      	    Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
      
      	PR c++/56725
      	* call.c (convert_like_real): Change series of two permerrors
      	to permerror + inform (and likewise for two errors).
      	(build_new_method_call_1): Likewise.
      	* typeck.c (convert_for_initialization): Change additional
      	warning or error to inform.
      
      /testsuite
      2013-03-28  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/56725
      	* g++.dg/conversion/op4.C: Adjust.
      	* g++.dg/cpp0x/rv1n.C: Likewise.
      	* g++.dg/cpp0x/rv2n.C: Likewise.
      	* g++.dg/cpp0x/template_deduction.C: Likewise.
      	* g++.dg/expr/cond8.C: Likewise.
      	* g++.dg/other/error4.C: Likewise.
      	* g++.old-deja/g++.bugs/900514_03.C: Likewise.
      	* g++.old-deja/g++.bugs/900519_02.C: Likewise.
      	* g++.old-deja/g++.bugs/900519_03.C: Likewise.
      	* g++.old-deja/g++.bugs/900520_02.C: Likewise.
      	* g++.old-deja/g++.jason/conversion2.C: Likewise.
      	* g++.old-deja/g++.law/cvt20.C: Likewise.
      	* g++.old-deja/g++.law/cvt8.C: Likewise.
      	* g++.old-deja/g++.law/init8.C: Likewise.
      	* g++.old-deja/g++.mike/net12.C: Likewise.
      	* g++.old-deja/g++.mike/net8.C: Likewise.
      	* g++.old-deja/g++.mike/p2793.C: Likewise.
      	* g++.old-deja/g++.mike/p3836.C: Likewise.
      	* g++.old-deja/g++.mike/p418.C: Likewise.
      	* g++.old-deja/g++.mike/p701.C: Likewise.
      	* g++.old-deja/g++.mike/p807.C: Likewise.
      
      From-SVN: r197206
      Paolo Carlini committed
    • data-streamer-in.c (streamer_read_gcov_count): New function. · 89ab31c1
      
      	* data-streamer-in.c (streamer_read_gcov_count): New function.
      	* gimple-streamer-out.c: Include value-prof.h.
      	(output_gimple_stmt): Output histogram.
      	(output_bb): Use streamer_write_gcov_count.
      	* value-prof.c: Include data-streamer.h
      	(dump_histogram_value): Add HIST_TYPE_MAX.
      	(stream_out_histogram_value): New function.
      	(stream_in_histogram_value): New function.
      	* value-prof.h (enum hist_type): Add HIST_TYPE_MAX.
      	(stream_out_histogram_value, stream_in_histogram_value): Declare.
      	* data-streamer-out.c (streamer_write_gcov_count): New function.
      	(streamer_write_gcov_count_stream): New function.
      	* lto-cgraph.c (lto_output_edge): Update counter streaming.
      	(lto_output_node): Likewise.
      	(input_node, input_edge): Likewise.
      	* lto-streamer-out.c (output_cfg): Update streaming.
      	* lto-streamer-in.c (input_cfg): Likewise.
      	* data-streamer.h (streamer_write_gcov_count,
      	streamer_write_gcov_count_stream, streamer_read_gcov_count): Declare.
      	* gimple-streamer-in.c: Include value-prof.h
      	(input_gimple_stmt): Input histograms.
      	(input_bb): Update profile streaming.
      
      From-SVN: r197205
      Jan Hubicka committed
    • re PR c++/56694 (Internal compiler error when compiling OpenMP code) · 525ec7ee
      2013-03-28  Tejas Belagod  <tejas.belagod@arm.com>
      
      	PR middle-end/56694
      	* g++.dg/torture/pr56694.C: Fix test case to build on bare-metal 
      	targets.
      
      From-SVN: r197201
      Tejas Belagod committed
    • genmodes.c (emit_max_int): New function. · 8697be17
      2013-03-28  Kenneth Zadeck <zadeck@naturalbridge.com>
      
         	* genmodes.c (emit_max_int): New function.
      	(emit_insn_modes_h): Added call to emit_max_function.
      	* doc/rtl.texi (MAX_BITSIZE_MODE_ANY_INT, MAX_BITSIZE_MODE_ANY_MODE): Added doc.	
      	* machmode.def: Fixed comment.
      
      From-SVN: r197200
      Kenneth Zadeck committed
    • combine.c (try_combine): Removed useless assert. · b4c73eed
      2013-03-28  Kenneth Zadeck <zadeck@naturalbridge.com>
      
      	* combine.c (try_combine): Removed useless assert. 
      	* cselib.c (rtx_equal_for_cselib_1): Removed unnecessary parens.
      
      From-SVN: r197198
      Kenneth Zadeck committed
    • cp-tree.h (next_aggr_init_expr_arg): Remove static specifier. · 9173cf24
      	* cp-tree.h (next_aggr_init_expr_arg): Remove static specifier.
      	(first_aggr_init_expr): Likewise.
      	(more_aggr_init_expr_args_p): Likewise.
      	(type_of_this_parm): Likewise.
      	(class_of_this_parm): Likewise.
      	* name-lookup.h (get_global_value_if_present): Likewise.
      	(is_typename_at_global_scope): Likewise.
      
      From-SVN: r197196
      Gabriel Dos Reis committed
    • re PR tree-optimization/56695 (ICE in expand_vec_cond_expr, at optabs.c:6751) · 74946978
      PR tree-optimization/56695
      * tree-vect-stmts.c (vectorizable_condition): Unconditionally
      build signed result of a vector comparison.
      * tree-cfg.c (verify_gimple_comparison): Check that a result
      of a vector comparison has signed type.
      
      Co-Authored-By: Richard Biener <rguenther@suse.de>
      
      From-SVN: r197192
      Marek Polacek committed
    • call.c (joust): Don't call inform for a permerror returning false. · 129677c1
      2013-03-28  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* call.c (joust): Don't call inform for a permerror returning false.
      	* parser.c (cp_parser_check_class_key): Likewise.
      	* pt.c (tsubst_copy_and_build): Likewise.
      
      From-SVN: r197190
      Paolo Carlini committed
    • re PR tree-optimization/37021 (Fortran Complex reduction / multiplication not vectorized) · a64b9c26
      2013-03-28  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/37021
      	* tree-vect-slp.c (vect_build_slp_tree): When not unrolling
      	do not restrict gaps between groups.
      	* tree-vect-stmts.c (vectorizable_load): Properly account for
      	a gap between groups.
      
      	* gcc.dg/vect/fast-math-slp-38.c: New testcase.
      	* gcc.dg/vect/O3-pr36098.c: Un-XFAIL.
      
      From-SVN: r197189
      Richard Biener committed
    • toplev.c (process_options): Do not disable -fomit-frame-pointer on a general basis if... · a9dc2a2f
      	* toplev.c (process_options): Do not disable -fomit-frame-pointer on a
      	general basis if unwind info is requested and ACCUMULATE_OUTGOING_ARGS
      	is not enabled.
      
      From-SVN: r197186
      Eric Botcazou committed
    • Daily bump. · f1c47b9d
      From-SVN: r197184
      GCC Administrator committed
  2. 27 Mar, 2013 25 commits