1. 08 Apr, 2011 21 commits
    • jsm28's avatar
      * de.po: Update. · 9660f5f9
      jsm28 authored
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172187 138bc75d-0d04-0410-961f-82ee72b054a4
      9660f5f9
    • ktietz's avatar
      2011-04-08 Kai Tietz <ktietz@redhat.com> · ed023f07
      ktietz authored
      	* configure.ac (libgcj_ld_export_all): Set for windows
      	native targets to export-all-symbols.
      	(LIBGCJ_LD_EXPORT_ALL): Export libgcj_ld_export_all.
      	* Makefile.am (libgcj_la_LDFLAGS): Add LIBGCJ_LD_EXPORT_ALL.
      	* sysdep/i386/backtrace.h (MAIN_FUNC): Define for windows
      	native targets to DllMain.
      	* gcj/javaprims.h (JNICALL): Define it dependent
      	for different windows targets.
      	* include/jni_md.h: Likewise.
      	* headers.txt (_Jv_JNI_ToReflectedField): Mark
      	JNICALLS for friends.
      	(_Jv_JNI_ToReflectedMethod): Likewise.
      	* java/lang/Class.h: Regenerated.
      	* java/lang/reflect/Field.h: Regenerated.
      	* java/lang/reflect/Constructor.h: Regenerated.
      	* java/lang/reflect/Method.h: Regenerated.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      	* include/Makefile.in: Regenerated.
      	* testsuite/Makefile.in: Regenerated.
      	* gcj/Makefile.in: Regenerated.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172186 138bc75d-0d04-0410-961f-82ee72b054a4
      ed023f07
    • amonakov's avatar
      * sel-sched.c (sel_region_init): Move call to · a060ed03
      amonakov authored
      	sel_setup_region_sched_flags after setup_current_loop_nest.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172185 138bc75d-0d04-0410-961f-82ee72b054a4
      a060ed03
    • abel's avatar
      PR rtl-optimization/48272 · c15d7785
      abel authored
              * sched-deps.c (setup_insn_reg_pressure_info): Export and rename to
              init_insn_reg_pressure_info.  Adjust a caller.
              * sched-int.h (init_insn_reg_pressure_info): Declare.
              * haifa-sched.c (haifa_init_insn): Call init_insn_reg_pressure_info
              when sched-pressure is enabled.
      
              * g++.dg/opt/pr48272.C: New.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172183 138bc75d-0d04-0410-961f-82ee72b054a4
      c15d7785
    • rguenth's avatar
      2011-04-08 Richard Guenther <rguenther@suse.de> · e1f47fd3
      rguenth authored
      	* gimple.c (gimple_set_modified): Do not queue calls to
      	MODIFIED_NORETURN_CALLS here ...
      	* tree-ssa-operands.c (update_stmt_operands): ... but here.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172182 138bc75d-0d04-0410-961f-82ee72b054a4
      e1f47fd3
    • rguenth's avatar
      2011-04-08 Richard Guenther <rguenther@suse.de> · f463da94
      rguenth authored
      	PR lto/48467
      	* toplev.c (lang_dependent_init): Do not open asm_out_file
      	in WPA mode, nor perform debug machinery initialization.
      	(finalize): Do not unlink asm_out_file in WPA mode.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172181 138bc75d-0d04-0410-961f-82ee72b054a4
      f463da94
    • rguenth's avatar
      2011-04-08 Richard Guenther <rguenther@suse.de> · 2de00a2d
      rguenth authored
      	* gimple.h (gimple_call_fntype): New function.
      	(gimple_call_return_type): Use it.
      	* expr.c (expand_expr_real_1): Use gimple_call_fntype.
      	* gimple-low.c (gimple_check_call_args): Likewise.
      	* gimple.c (gimple_call_flags): Likewise.
      	(gimple_call_arg_flags): Likewise.
      	(gimple_call_return_flags): Likewise.
      	* tree-cfg.c (verify_gimple_call): Likewise.
      	(do_warn_unused_result): Likewise.
      	* tree-ssa-ccp.c (ccp_fold_stmt): Likewise.
      	* value-prof.c (gimple_ic_transform): Fix fndecl check.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172178 138bc75d-0d04-0410-961f-82ee72b054a4
      2de00a2d
    • amonakov's avatar
      PR rtl-optimization/48235 · 8ff642e9
      amonakov authored
      	* sel-sched.c (code_motion_process_successors): Recompute the last
      	insn in basic block if control flow changed.
      	(code_motion_path_driver): Ditto.  Recompute the first insn as well.
      	Update condition for ilist_remove.
      
      testsuite:
      	* gcc.dg/pr48235.c: New.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172177 138bc75d-0d04-0410-961f-82ee72b054a4
      8ff642e9
    • amonakov's avatar
      PR rtl-optimization/48302 · b73edd22
      amonakov authored
      	* sel-sched-ir.h (sel_add_loop_preheaders): Update prototype.
      	* sel-sched-ir.c (sel_add_loop_preheaders): Add 'bbs' argument.  Use
      	it to record added preheader blocks.
      	* sel-sched.c (setup_current_loop_nest): Add 'bbs' argument.  Pass it
      	on to sel_add_loop_preheaders.
      	(sel_region_init): Move call to setup_current_loop_nest after
      	sel_init_bbs.
      
      testsuite:
      	* g++.dg/opt/pr48302.C: New.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172176 138bc75d-0d04-0410-961f-82ee72b054a4
      b73edd22
    • amonakov's avatar
      PR target/48273 · a8d6ade3
      amonakov authored
      	* cfgloop.h (loop_has_exit_edges): New helper.
      	* sel-sched-ir.c (init_global_and_expr_for_insn): Make CALLs
      	non-clonable.
      	* sel-sched.c (sel_setup_region_sched_flags): Don't pipeline loops
      	that have no exit edges.
      
      testsuite:
      	* g++.dg/opt/pr48273.C: New.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172175 138bc75d-0d04-0410-961f-82ee72b054a4
      a8d6ade3
    • amonakov's avatar
      PR rtl-optimization/48442 · def66588
      amonakov authored
      	* sel-sched.c (init_seqno): Remove number_of_insns argument.  Update
      	all callers.  Adjust assert.
      
      testsuite:
      	* gcc.dg/pr48442.c: New.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172173 138bc75d-0d04-0410-961f-82ee72b054a4
      def66588
    • jakub's avatar
      PR tree-optimization/48377 · 570e2049
      jakub authored
      	* tree-vect-data-refs.c (vector_alignment_reachable_p): Set
      	is_packed to true even for types with smaller TYPE_ALIGN than
      	TYPE_SIZE.
      
      	* gcc.dg/vect/pr48377.c: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172172 138bc75d-0d04-0410-961f-82ee72b054a4
      570e2049
    • rguenth's avatar
      2011-04-08 Richard Guenther <rguenther@suse.de> · 707b84a3
      rguenth authored
      	PR bootstrap/48513
      	* doc/tm.texi: Re-generate.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172171 138bc75d-0d04-0410-961f-82ee72b054a4
      707b84a3
    • carrot's avatar
      * config/arm/arm-protos.h (arm_attr_length_push_multi): New prototype. · 08508cbf
      carrot authored
      	* config/arm/arm.c (arm_attr_length_push_multi): New function.
      	* config/arm/arm.md (*push_multi): Change the length computation to
      	call a C function.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172169 138bc75d-0d04-0410-961f-82ee72b054a4
      08508cbf
    • aesok's avatar
      * doc/tm.texi.in (ASM_OUTPUT_BSS): Remove documentation. · fa8d6f0f
      aesok authored
      	(BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): Update documentation.
      	* doc/tm.texi: Regenerate.
      	* system.h (ASM_OUTPUT_BSS): Poison.
      	* varasm.c (asm_output_bss): Remove function.
      	(emit_bss, init_varasm_once): Don't use ASM_OUTPUT_BSS macro.
      	
      	* config/frv/frv.h (BSS_SECTION_ASM_OP): Remove comment.
      	* config/frv/fr30.h (BSS_SECTION_ASM_OP): Likewise.
      	* config/i386/djgpp.h (BSS_SECTION_ASM_OP): Likewise.
      	* config/i386/i386elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
      	Likewise.
      	* config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
      	Likewise.
      	* config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
      	Likewise.
      	* config/m68k/netbsd-elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172166 138bc75d-0d04-0410-961f-82ee72b054a4
      fa8d6f0f
    • jason's avatar
      PR c++/48500 · fe80b3d3
      jason authored
      	* semantics.c (potential_constant_expression_1) [CALL_EXPR]: Check
      	arguments even if we don't know the function.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172165 138bc75d-0d04-0410-961f-82ee72b054a4
      fe80b3d3
    • jason's avatar
      PR c++/48481 · 0a8b74e0
      jason authored
      	* tree.c (build_overload): Allow an unwrapped FUNCTION_DECL
      	at the end of the chain.
      	* pt.c (dependent_template_p): Use OVL_CURRENT/NEXT.
      	(iterative_hash_template_arg): Likewise.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172164 138bc75d-0d04-0410-961f-82ee72b054a4
      0a8b74e0
    • jason's avatar
      PR c++/48481 · b75fa3a6
      jason authored
      	* cp-tree.h (OVL_ARG_DEPENDENT): New.
      	* name-lookup.c (add_function): Set it.
      	* semantics.c (finish_call_expr): Free OVERLOADs if it's set.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172163 138bc75d-0d04-0410-961f-82ee72b054a4
      b75fa3a6
    • jason's avatar
      PR c++/48481 · f9c9f8e4
      jason authored
      	* call.c (build_user_type_conversion_1): Use lookup_fnfields_slot.
      	Release unused vector.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172162 138bc75d-0d04-0410-961f-82ee72b054a4
      f9c9f8e4
    • jason's avatar
      PR c++/48451 · 8cb2b898
      jason authored
      	* pt.c (fn_type_unification): Don't clear incomplete pack flag.
      	(type_unification_real): Clear it here instead.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172159 138bc75d-0d04-0410-961f-82ee72b054a4
      8cb2b898
    • gccadmin's avatar
      Daily bump. · 2236bebc
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172155 138bc75d-0d04-0410-961f-82ee72b054a4
      2236bebc
  2. 07 Apr, 2011 19 commits
    • jsm28's avatar
      * config/rx/rx.opt (rx610, rx200, rx600): Use Enum not Name on · 8f139ed9
      jsm28 authored
      	EnumValue lines.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172149 138bc75d-0d04-0410-961f-82ee72b054a4
      8f139ed9
    • jason's avatar
      PR c++/48468 · 1016123a
      jason authored
      	* except.c (build_noexcept_spec): Propagate error_mark_node.
      	(finish_noexcept_expr): Likewise.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172148 138bc75d-0d04-0410-961f-82ee72b054a4
      1016123a
    • jason's avatar
      PR c++/48452 · ae813c19
      jason authored
      	* typeck.c (build_x_compound_expr_from_list): Return error_mark_node
      	in SFINAE context.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172147 138bc75d-0d04-0410-961f-82ee72b054a4
      ae813c19
    • jason's avatar
      PR c++/48450 · de129274
      jason authored
      	* call.c (resolve_args): Take complain.
      	(build_new_function_call, build_operator_new_call): Pass it.
      	(build_op_call, build_new_op, build_new_method_call): Pass it.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172146 138bc75d-0d04-0410-961f-82ee72b054a4
      de129274
    • jason's avatar
      PR c++/48450 · 6bac3cd5
      jason authored
      	* typeck.c (check_for_casting_away_constness): Take complain.
      	(build_static_cast_1, build_reinterpret_cast_1): Pass it.
      	(build_const_cast_1): Pass it.  Take full complain parm.
      	(build_const_cast, cp_build_c_cast): Adjust.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172145 138bc75d-0d04-0410-961f-82ee72b054a4
      6bac3cd5
    • jason's avatar
      * tree.c (build_aggr_init_expr): Always return error_mark_node · 20519ee2
      jason authored
      	on abstract violation.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172144 138bc75d-0d04-0410-961f-82ee72b054a4
      20519ee2
    • jason's avatar
      PR c++/48450 · 3d4bed93
      jason authored
      	* tree.c (build_cplus_new, build_aggr_init_expr): Take complain.
      	(bot_manip): Adjust.
      	* cp-tree.h: Adjust.
      	* call.c (convert_like_real, build_cxx_call): Adjust.
      	(perform_direct_initialization_if_possible): Adjust.
      	* cvt.c (ocp_convert): Adjust.
      	* init.c (build_value_init): Adjust.
      	* semantics.c (maybe_add_lambda_conv_op): Adjust.
      	* typeck.c (unary_complex_lvalue, cp_build_modify_expr): Adjust.
      	* typeck2.c (build_functional_cast): Adjust.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172143 138bc75d-0d04-0410-961f-82ee72b054a4
      3d4bed93
    • jason's avatar
      * init.c (build_value_init_noctor): Handle REFERENCE_TYPE at top · 74b7a9bc
      jason authored
      	level.
      	(perform_member_init): Not here.
      	* typeck2.c (build_functional_cast): Limit REFERENCE_TYPE special
      	case to templates.
      	(abstract_virtuals_error_sfinae): Remove RESULT_DECL special case.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172142 138bc75d-0d04-0410-961f-82ee72b054a4
      74b7a9bc
    • jason's avatar
      PR c++/48449 · 70cac69d
      jason authored
      	* typeck2.c (build_functional_cast): Check complain consistently.
      	Use build_value_init and abstract_virtuals_error_sfinae.
      	(abstract_virtuals_error_sfinae): Split out.
      	* cp-tree.h: Declare it.
      	* init.c (build_new_1): Use it.
      	(build_value_init_noctor): Handle FUNCTION_TYPE.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172141 138bc75d-0d04-0410-961f-82ee72b054a4
      70cac69d
    • jason's avatar
      * semantics.c (finish_decltype_type): Simplify handling of unknown · 07bbe61e
      jason authored
      	type.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172140 138bc75d-0d04-0410-961f-82ee72b054a4
      07bbe61e
    • jason's avatar
      * semantics.c (finish_decltype_type): Add complain parm. · c2b6be66
      jason authored
      	* cp-tree.h: Adjust.
      	* parser.c (cp_parser_decltype): Adjust.
      	* pt.c (tsubst): Adjust.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172139 138bc75d-0d04-0410-961f-82ee72b054a4
      c2b6be66
    • jason's avatar
      PR c++/48450 · f8913d47
      jason authored
      	* c-family/c-common.c (c_common_truthvalue_conversion): Don't ignore
      	conversion from C++0x scoped enum.
      	* cp/cvt.c (ocp_convert): Handle converting scoped enum to bool.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172138 138bc75d-0d04-0410-961f-82ee72b054a4
      f8913d47
    • jsm28's avatar
      * config/m68k/m68k.c (m68k_handle_option): Don't handle · 17e4f171
      jsm28 authored
      	OPT_m68000, OPT_mc68000, OPT_m68010, OPT_m68020, OPT_mc68020,
      	OPT_m68030, OPT_m68040, OPT_m68060, OPT_m68302, OPT_m68332 and
      	OPT_mcpu32.
      	* config/m68k/m68k.h (OPTION_DEFAULT_SPECS, ASM_CPU_SPEC): Don't
      	handle -mc68000, -m68000, -m68302, -m68010, -mc68020, -m68020,
      	-m68030, -m68040, -m68060, -mcpu32 and -m68332.
      	* config/m68k/m68k.opt (m68000, m68010, m68020, m68030, m68040,
      	m68060, m68302, m68332, mc68000, mc68020, mcpu32): Use Alias.
      	* config/m68k/t-mlibs (CANONICALIZE_OPTIONS): Remove.
      	(MULTILIB_OPTIONS): Don't use $(CANONICALIZE_OPTIONS).
      	(MULTILIB_MATCHES): Map -march= options to corresponding -mcpu=
      	options.  Don't map other m68k options manually.  Don't handle
      	old-style options as canonical.
      	(MULTILIB_EXCEPTIONS): Don't use $(CANONICALIZE_OPTIONS).
      	* doc/install.texi (m68k-*-*): Document binutils version
      	requirement.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172130 138bc75d-0d04-0410-961f-82ee72b054a4
      17e4f171
    • ebotcazou's avatar
      * basic-block.h (force_nonfallthru): Move to... · 202bbc06
      ebotcazou authored
      	* cfghooks.h (struct cfg_hooks): Add force_nonfallthru hook.
      	(force_nonfallthru): ...here.
      	* cfghooks.c (force_nonfallthru): New function.
      	* cfgrtl.c (force_nonfallthru): Rename into...
      	(rtl_force_nonfallthru): ...this.
      	(commit_one_edge_insertion): Do not set AUX field.
      	(commit_edge_insertions): Do not discover new basic blocks.
      	(rtl_cfg_hooks): Add rtl_force_nonfallthru.
      	(cfg_layout_rtl_cfg_hooks): Likewise.
      	* function.c (thread_prologue_and_epilogue_insns): Remove bogus
      	ATTRIBUTE_UNUSED.  Discover new basic blocks in the prologue insns.
      	* tree-cfg.c (gimple_cfg_hooks): Add NULL for force_nonfallthru.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172128 138bc75d-0d04-0410-961f-82ee72b054a4
      202bbc06
    • mrs's avatar
      * gcc.dg/torture/stackalign/non-local-goto-5.c: Fix for targets · 4f6248d5
      mrs authored
      	with no trampolines.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172127 138bc75d-0d04-0410-961f-82ee72b054a4
      4f6248d5
    • aesok's avatar
      * config/mips/mips.h (REG_MODE_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): · 91d92c6c
      aesok authored
      	Remove macros.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172125 138bc75d-0d04-0410-961f-82ee72b054a4
      91d92c6c
    • uros's avatar
      * config/i386/sse.md: Update copyright year. · 45c0368c
      uros authored
      	(avxcvtvecmode): Remove.
      	(sse_movhlps): Merge with *avx_movhlps.
      	(sse_movlhps): Merge with *avx_movlhps.
      	(vec_interleave_highv4sf): Merge with *avx_interleave_highv4sf.
      	(vec_interleave_lowv4sf): Merge with *avx_interleave_lowv4sf.
      	(sse_shufps_<mode>): Merge with *avx_shufps_<mode>.
      	(sse_loadhps): Merge with *avx_loadhps.
      	(sse_storelps): Merge with *avx_storelps.
      	(sse_loadlps): Merge with *avx_loadlps.
      	(sse_movss): Merge with *avx_movss.
      	(*vec_concatv2sf_sse4_1): Merge with *vec_concatv2sf_avx.
      	(*vec_concatv4sf_sse): Merge with *vec_concatv4sf_avx.
      	(*vec_set<mode>_0_sse4_1): Merge with *vec_set<mode>_0_avx.
      	(*vec_set<mode>_0_sse2): Split multi-unit alternative.
      	(vec_set<mode>_0): Ditto.
      	(*vec_setv4sf_sse4_1): Merge with *vec_setv4sf_avx.
      	(sse4_1_insertps): Merge with *avx_insertps.
      	(*sse3_interleave_highv2df): Merge with *avx_interleave_highv2df.
      	(*sse3_interleave_lowv2df): Merge with *avx_interleave_lowv2df.
      	(vec_interleave_highv2di): Merge with *avx_interleave_highv2di.
      	(sse2_shufpd_<mode>): Merge with *avx_shufpd_<mode>.
      	(sse2_storehpd): Merge with *avx_storehpd.
      	(sse2_loadhpd): Merge with *avx_loadhpd.
      	(sse2_loadlpd): Merge with *avx_loadlpd.
      	(sse2_movsd): Merge with *avx_movsd.
      	(*vec_concatv2df): Merge with *vec_concatv2df.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172123 138bc75d-0d04-0410-961f-82ee72b054a4
      45c0368c
    • jakub's avatar
      PR fortran/48117 · b7e9b68d
      jakub authored
      	* gfortran.dg/gomp/pr48117.f90: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172119 138bc75d-0d04-0410-961f-82ee72b054a4
      b7e9b68d
    • jakub's avatar
      PR debug/48343 · 3273477e
      jakub authored
      	* combine.c (combine_instructions): Add last_combined_insn,
      	update it if insn is after it, pass it to all try_combine
      	calls.
      	(try_combine): Add last_combined_insn parameter, pass it instead of
      	i3 to propagate_for_debug.
      
      	* gcc.dg/torture/pr48343.c: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172109 138bc75d-0d04-0410-961f-82ee72b054a4
      3273477e