Commit Graph

122694 Commits

Author SHA1 Message Date
Ulrich Weigand
b3d45ff040 * config/spu/spu.c (emit_nop_for_insn): Handle JUMP_TABLE_DATA.
From-SVN: r197406
2013-04-03 12:14:03 +00:00
Richard Biener
a5cde06792 re PR tree-optimization/55964 (Segmentation fault with -O -ftree-loop-distribution -funswitch-loops)
2013-04-03  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/55964
	* gcc.dg/torture/pr55964-2.c: New testcase.

From-SVN: r197403
2013-04-03 10:36:49 +00:00
Richard Biener
47309fc03c re PR tree-optimization/56501 (gcc 4.6 ICE on noreturn function at -Os and above)
2013-04-03  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/56501
	* gcc.dg/torture/pr56501.c: New testcase.

From-SVN: r197401
2013-04-03 10:28:27 +00:00
Richard Biener
6b94a92dc9 re PR tree-optimization/56407 (Optimizations (-O2 -O3) make comparison of arrays of ints to fail)
2013-04-03  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/56407
	* gcc.dg/torture/pr56407.c: New testcase.

From-SVN: r197399
2013-04-03 10:25:23 +00:00
Bin Cheng
ec9202a887 * rtl.h (AUTO_INC_DEC): Fix typo of HAVE_POST_MODIFY_DISP.
From-SVN: r197398
2013-04-03 10:25:08 +00:00
Marc Glisse
6805bd3666 re PR tree-optimization/56790 (VEC_COND_EXPR not constant folded)
2013-04-03  Marc Glisse  <marc.glisse@inria.fr>

	PR tree-optimization/56790
gcc/
	* fold-const.c (fold_ternary_loc) <VEC_COND_EXPR>: Add constant folding.

gcc/testsuite/
	* g++.dg/ext/pr56790-1.C: New testcase.

From-SVN: r197395
2013-04-03 09:49:44 +00:00
Marc Glisse
da694a7701 simplify-rtx.c (simplify_binary_operation_1): Handle VEC_MERGE.
2013-04-03  Marc Glisse  <marc.glisse@inria.fr>

gcc/
	* simplify-rtx.c (simplify_binary_operation_1) <VEC_SELECT>:
	Handle VEC_MERGE.
	(simplify_ternary_operation) <VEC_MERGE>: Use unsigned HOST_WIDE_INT
	for masks. Test for side effects. Handle nested VEC_MERGE. Handle
	equal arguments.

gcc/testsuite/
	* gcc.target/i386/merge-1.c: New testcase.
	* gcc.target/i386/avx2-vpblendd128-1.c: Make it non-trivial.

From-SVN: r197394
2013-04-03 09:44:28 +00:00
Jakub Jelinek
4e7d7b3d5d re PR c/19449 (__builtin_constant_p cannot resolve to const when optimizing)
PR c/19449
	* tree.h (force_folding_builtin_constant_p): New decl.
	* builtins.c (force_folding_builtin_constant_p): New variable.
	(fold_builtin_constant_p): Fold immediately also if
	force_folding_builtin_constant_p.

	* c-parser.c (c_parser_get_builtin_args): Add choose_expr_p
	argument.  If set, or it temporarily for parsing of the first
	argument into force_folding_builtin_constant_p.
	(c_parser_postfix_expression): Adjust callers.

	* gcc.c-torture/execute/pr19449.c: New test.

From-SVN: r197393
2013-04-03 11:17:44 +02:00
Richard Biener
e6c9d23404 re PR tree-optimization/56812 (Simple loop is not SLP-vectorized after r196872)
2013-04-03  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/56812
	* tree-vect-data-refs.c (vect_slp_analyze_data_ref_dependence):
	DRs of the same interleaving chain are independent.

	* g++.dg/vect/slp-pr56812.cc: New testcase.

From-SVN: r197390
2013-04-03 08:03:33 +00:00
Janus Weil
9362a03b87 re PR fortran/56284 ([OOP] ICE with alternate return in type-bound procedure)
2013-04-03  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/56284
	PR fortran/40881
	* decl.c (gfc_match_formal_arglist): Warn about alternate-return
	arguments.
	* interface.c (check_dummy_characteristics): Return if symbols are NULL.

2013-04-03  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/56284
	PR fortran/40881
	* gfortran.dg/altreturn_8.f90: New.
	* gfortran.dg/altreturn_2.f90: Add -std=legacy.
	* gfortran.dg/intrinsic_actual_3.f90: Ditto.
	* gfortran.dg/invalid_interface_assignment.f90: Ditto.

From-SVN: r197389
2013-04-03 09:31:23 +02:00
Jason Merrill
e0f0935b9d re PR c++/56821 (Unable to overload with references to 'this'.)
PR c++/56821
	* mangle.c (write_function_type): Mangle ref-qualifier.
	(write_nested_name): Likewise.
	(canonicalize_for_substitution): Preserve ref-qualifier.
	(write_type): Likewise.

From-SVN: r197386
2013-04-02 23:11:02 -04:00
GCC Administrator
fd541994ae Daily bump.
From-SVN: r197384
2013-04-03 00:16:21 +00:00
Jonathan Wakely
dca77a8a1b exception (get_terminate(), [...]): Declare.
* libsupc++/exception (get_terminate(), get_unexpected()): Declare.
	* libsupc++/eh_terminate.cc (get_terminate() , set_unexpected()):
	Define.
	(set_terminate(terminate_handler)): Set atomically.
	(set_unexpected(terminate_handler)): Likewise.
	* libsupc++/new (get_new_handler()): Declare.
	* libsupc++/new_handler.cc (get_new_handler()): Define.
	(set_new_handler(new_handler)): Set atomically.
	(__new_handler): Use internal linkage.
	* libsupc++/new_op.cc (operator new): Use get_new_handler().
	* libsupc++/new_opnt.cc (operator new): Likewise.
	* acinclude.m4: Bump libtool_VERSION to 6:19:0.
	* configure: Regenerate.
	* libsupc++/Makefile.am: Compile above files with -std=gnu++11.
	* libsupc++/Makefile.in: Regenerate.
	* config/abi/pre/gnu.ver: Add new exports.
	* doc/xml/manual/status_cxx2011.xml: Update.
	* testsuite/18_support/headers/exception/synopsis.cc: Check accessors
	for handlers.
	* testsuite/18_support/headers/new/synopsis.cc: Likewise.
	* testsuite/18_support/new_handler.cc: New.
	* testsuite/18_support/terminate_handler.cc: New.
	* testsuite/18_support/unexpected_handler.cc: New.

From-SVN: r197380
2013-04-03 01:08:54 +01:00
Joseph Myers
b6fd8c8e88 * de.po: Update.
From-SVN: r197377
2013-04-02 23:47:43 +01:00
Jason Merrill
984d07dd4c * gdbinit.in (pbb): Use debug fn.
From-SVN: r197376
2013-04-02 17:09:52 -04:00
Jason Merrill
8b00b64398 re PR c++/34949 (Dead code in empty destructors.)
PR c++/34949
	* decl.c (begin_destructor_body): Clobber the object in a cleanup.

From-SVN: r197375
2013-04-02 17:09:38 -04:00
Lawrence Crowl
622849c937 Remove unused symbols related to ivtype_map.
Remove unused symbols related to ivtype_map.  This map does not appear to
exist and I see no evidence of its removal in the ChangeLog.

Tested on x86_64.


Index: gcc/ChangeLog

2013-04-02  Lawrence Crowl  <crowl@google.com>

	* sese.h (struct ivtype_map_elt_s): Remove unused.
	(extern debug_ivtype_map): Remove unused.
	(extern eq_ivtype_map_elts): Remove unused.
	* sese.c (debug_ivtype_map): Removed unused.
	(debug_ivtype_map_1): Removed unused.
	(debug_ivtype_elt): Remove unused.
	(eq_ivtype_map_elts): Remove unused.

From-SVN: r197374
2013-04-02 20:13:46 +00:00
Kai Tietz
82c0e1a0cb re PR target/52790 (Problems using x86_64-w64-mingw-w32-gfortran with mcmodel=large and medium)
PR target/52790
	* config/i386/cygming.h (SUB_TARGET_RECORD_STUB): New sub-target macro.
	* config/i386/i386-protos.h (i386_pe_record_stub): Add new prototype.
	* config/i386/i386.c (legitimize_pe_coff_extern_decl): New static
	function.
	(legitimize_pe_coff_symbol): Likewise.
	(is_imported_p): New helper-function.
	(ix86_option_override_internal): Make MEDIUM_PIC the default code-model
	for Windows x64 targets.
	(ix86_expand_prologue): Optimize for pe-coff targets.
	(ix86_expand_split_stack_prologue): Adjust for pe-coff targets.
	(legitimate_pic_address_disp_p): Adjust for x64 pe-coff to support
	medium/large code-model.
	(legitimize_pic_address): Likewise.
	(legitimize_tls_address): Likewise.
	(ix86_expand_call): Likewise.
	(x86_output_mi_thunk): Likewise.
	(get_dllimport_decl): Add new beimport argument.
	(construct_plt_address): Don't assert for x64 pe-coff targets.
	* config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Adjust for x64 pe-coff
	targets.
	(SYMBOL_FLAG_STUBVAR): New macro.
	(SYMBOL_REF_STUBVAR_P): Likewise.
	* config/i386/winnt.c (stub_list): New structure.
	(stub_head): New local variable.
	(i386_pe_record_stub): New function.
	(i386_pe_file_end): Emit refptr-stubs.

From-SVN: r197373
2013-04-02 20:34:32 +02:00
Jakub Jelinek
09bb4c99b0 re PR rtl-optimization/56745 (ICE in merge_if_block)
PR rtl-optimization/56745
	* ifcvt.c (cond_exec_find_if_block): Don't try to optimize
	if then_bb has no successors and else_bb is EXIT_BLOCK_PTR.

	* gcc.c-torture/compile/pr56745.c: New test.

From-SVN: r197371
2013-04-02 20:29:18 +02:00
Jakub Jelinek
a1d8947aa1 re PR c++/34949 (Dead code in empty destructors.)
PR c++/34949
	* tree-ssa-alias.c (stmt_kills_ref_p_1): If base != ref->base
	and both of them are MEM_REFs, just compare first argument for
	equality and attempt to deal even with differing offsets.

From-SVN: r197370
2013-04-02 20:27:45 +02:00
Jakub Jelinek
5d751b0c97 re PR c++/34949 (Dead code in empty destructors.)
PR c++/34949
	* tree-cfg.c (verify_gimple_assign_single): Allow lhs
	of gimple_clobber_p to be MEM_REF.
	* gimplify.c (gimplify_modify_expr): Gimplify *to_p of
	an assignment from TREE_CLOBBER_P.  Allow it to be MEM_REF
	after gimplification.
	* asan.c (get_mem_ref_of_assignment): Don't instrument
	gimple_clobber_p stmts.
	* tree-ssa-dse.c (dse_optimize_stmt): Allow DSE of
	gimple_clobber_p stmt if they have MEM_REF lhs and
	are dead because of another gimple_clobber_p stmt.
	* tree-ssa-live.c (clear_unused_block_pointer): Treat
	gimple_clobber_p stmts like debug stmts.
	(remove_unused_locals): Remove clobbers with MEM_REF lhs
	that refer to unused VAR_DECLs or uninitialized values.
	* tree-sra.c (sra_ipa_reset_debug_stmts): Also remove
	gimple_clobber_p stmts if they refer to removed parameters.
	(get_repl_default_def_ssa_name, sra_ipa_modify_expr): Fix up
	formatting.

From-SVN: r197369
2013-04-02 20:25:36 +02:00
Uros Bizjak
e594716a6a i386.md (*testqi_ext_3): Merge with *testqi_ext_3_rex64 using SWI48 mode attribute.
* config/i386/i386.md (*testqi_ext_3): Merge with *testqi_ext_3_rex64
	using SWI48 mode attribute.

From-SVN: r197367
2013-04-02 19:21:55 +02:00
Pitchumani Sivanupandi
9763b6a768 sra-13.c: Fix for 16 bit int.
2013-04-02  Pitchumani Sivanupandi <pitchumani.s@atmel.com>

	    * gcc.dg/tree-ssa/sra-13.c: Fix for 16 bit int.

From-SVN: r197366
2013-04-02 17:19:48 +00:00
Wei Mi
7a80735b93 i386.c (ix86_rtx_costs): Set proper rtx cost for ashl<mode>3_mask...
2013-04-02  Wei Mi  <wmi@google.com>

	* config/i386/i386.c (ix86_rtx_costs): Set proper rtx cost for
	ashl<mode>3_mask, *<shift_insn><mode>3_mask and
	*<rotate_insn><mode>3_mask in i386.md.

From-SVN: r197362
2013-04-02 16:53:49 +00:00
Alexander Ivchenko
f423a9e445 config.gcc (arm*-*-linux-*): Remove duplicate t-linux-android.
* config.gcc (arm*-*-linux-*): Remove duplicate t-linux-android.

From-SVN: r197358
2013-04-02 14:32:37 +00:00
Paolo Carlini
ae34ce041a friend.c (do_friend): Use COMPLETE_OR_OPEN_TYPE_P.
2013-04-02  Paolo Carlini  <paolo.carlini@oracle.com>

	* friend.c (do_friend): Use COMPLETE_OR_OPEN_TYPE_P.
	* pt.c (find_parameter_packs_r): Use TYPE_ALIAS_P and TYPE_TI_ARGS.
	(for_each_template_parm_r): Use TYPE_TI_ARGS.

From-SVN: r197356
2013-04-02 14:04:53 +00:00
Richard Biener
90eb75f26e re PR tree-optimization/56778 (ICE on several benchmarks after r196775.)
2013-04-02  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/56778
	* tree-vect-data-refs.c (vect_analyze_data_ref_dependence):
	Runtime alias tests are not supported for gather loads.
	* tree-vect-loop-manip.c (vect_loop_versioning): Insert
	stmts referenced from SSA operands before updating SSA form.

	* gcc.dg/torture/pr56778.c: New testcase.

From-SVN: r197355
2013-04-02 13:31:05 +00:00
Richard Biener
8034bcbee6 re PR c++/56768 ([4.7] ICE in make_decl_rtl, at varasm.c:1147)
2013-04-02  Richard Biener  <rguenther@suse.de>

	PR middle-end/56768
	* g++.dg/torture/pr56768.C: New testcase.

From-SVN: r197349
2013-04-02 12:23:13 +00:00
Paolo Carlini
73243d6301 cp-tree.h (TAGGED_TYPE_P): Remove.
2013-04-02  Paolo Carlini  <paolo.carlini@oracle.com>

	* cp-tree.h (TAGGED_TYPE_P): Remove.
	(IS_OVERLOAD_TYPE): Rename to OVERLOAD_TYPE_P, adjust.
	(TYPE_ANONYMOUS_P): Adjust.
	* call.c (build_new_op_1): Likewise.
	* class.c (find_abi_tags_r): Likewise.
	* decl.c (warn_misplaced_attr_for_class_type, start_decl,
	type_is_deprecated): Likewise.
	* decl2.c (grokfield, min_vis_r): Likewise.
	* pt.c (get_template_info): Likewise.
	* tree.c (handle_abi_tag_attribute): Likewise.

From-SVN: r197347
2013-04-02 11:45:31 +00:00
Ian Caulfield
d8c69a9281 Add support for Cortex-A53.
2013-04-02  Ian Caulfield  <ian.caulfield@arm.com>
	    Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	* config/arm/arm-arches.def (armv8-a): Default to cortex-a53.
        * config/arm/t-arm (MD_INCLUDES): Depend on cortex-a53.md.
        * config/arm/cortex-a53.md: New file.
        * config/arm/bpabi.h (BE8_LINK_SPEC): Handle cortex-a53.
        * config/arm/arm.md (generic_sched, generic_vfp): Handle cortex-a53.
        * config/arm/arm.c (arm_issue_rate): Likewise.
        * config/arm/arm-tune.md: Regenerate
        * config/arm/arm-tables.opt: Regenerate.
        * config/arm/arm-cores.def: Add cortex-a53.

From-SVN: r197346
2013-04-02 11:25:50 +00:00
Paolo Carlini
ec905ac03d re PR c++/56725 (extra spaces in error message)
2013-04-02  Paolo Carlini  <paolo.carlini@oracle.com>

	* obj-c++.dg/try-catch-13.mm: Update per PR56725.

From-SVN: r197345
2013-04-02 10:20:03 +00:00
Zhenqiang Chen
239eb04c47 uclinux-elf.h: Add %L to LINK_GCC_C_SEQUENCE_SPEC for non-static link.
2013-04-02  Zhenqiang Chen  <zhenqiang.chen@arm.com>

	* config/arm/uclinux-elf.h: Add %L to LINK_GCC_C_SEQUENCE_SPEC for
	non-static link.

From-SVN: r197344
2013-04-02 09:35:22 +00:00
Tom de Vries
35c5cceaa1 Fix whitespace in MAINTAINERS.
From-SVN: r197343
2013-04-02 09:32:43 +00:00
Sofiane Naci
c902d3c809 aarch64.md (*mov<mode>_aarch64): Add variants for scalar load/store operations using B/H registers.
* config/aarch64/aarch64.md (*mov<mode>_aarch64): Add variants for scalar
	load/store operations using B/H registers.
	(*zero_extend<SHORT:mode><GPI:mode>2_aarch64): Likewise.

From-SVN: r197342
2013-04-02 09:30:02 +00:00
Sofiane Naci
051d0e2f45 aarch64.md (*mov<mode>_aarch64): Add alternatives for scalar move.
* config/aarch64/aarch64.md (*mov<mode>_aarch64): Add alternatives for
	scalar move.
	* config/aarch64/aarch64.c
	(aarch64_simd_scalar_immediate_valid_for_move): New.
	* config/aarch64/aarch64-protos.h
	(aarch64_simd_scalar_immediate_valid_for_move): New.
	* config/aarch64/constraints.md (Dh, Dq): New.
	* config/aarch64/iterators.md (hq): New.

From-SVN: r197341
2013-04-02 09:02:17 +00:00
Eric Botcazou
0ee1e3d983 reorg.c (get_branch_condition): Deal with conditional returns.
* reorg.c (get_branch_condition): Deal with conditional returns.
	(fill_simple_delay_slots): Remove dead code dealing with jumps.

From-SVN: r197340
2013-04-02 07:14:12 +00:00
GCC Administrator
cf8124e1bf Daily bump.
From-SVN: r197338
2013-04-02 00:16:33 +00:00
Jonathan Wakely
fa93ca85d8 appendix_contributing.xml: Remove broken link and defer to general documentation on contributing to GCC.
* doc/xml/manual/appendix_contributing.xml: Remove broken link and
	defer to general documentation on contributing to GCC.
	* doc/html/*: Regenerate.

From-SVN: r197334
2013-04-02 01:09:44 +01:00
Jason Merrill
2ad8cf261d semantics.c (maybe_constant_value): Check instantiation_dependent_expression_p.
* semantics.c (maybe_constant_value): Check
	instantiation_dependent_expression_p.
	* pt.c (build_non_dependent_expr): Don't check it here.

From-SVN: r197327
2013-04-01 17:18:33 -04:00
Jason Merrill
879b0a1db9 re PR c++/56772 (placement new operator does not work inside function template for array types.)
PR c++/56772
	* init.c (build_new): Don't try to process an array initializer
	at template definition time.

From-SVN: r197326
2013-04-01 17:18:23 -04:00
Jason Merrill
c53d966d31 re PR c++/56793 (ICE with scoped enum)
PR c++/56793
	* typeck.c (finish_class_member_access_expr): Handle enum scope.

From-SVN: r197325
2013-04-01 17:18:11 -04:00
Jason Merrill
570e2ca01e re PR c++/56794 (C++11 Error in range-based for with parameter pack array)
PR c++/56794
	* parser.c (cp_parser_range_for): Don't try to do auto deduction
	in a template if the type of the range is incomplete.

From-SVN: r197324
2013-04-01 17:18:05 -04:00
Jerry DeLisle
123d7a9434 re PR fortran/56660 (Fails to read NAMELIST with certain form array syntax)
2013-04-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/56660
	* gfortran.dg/namelist_82.f90:  New test.

From-SVN: r197322
2013-04-01 20:59:34 +00:00
Jerry DeLisle
ba82932537 re PR fortran/56660 (Fails to read NAMELIST with certain form array syntax)
2013-04-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/56660
	* io/list_read.c (nml_read_obj): Do not reset the read error flag
	inside nml_read_obj. If the read error flag is found set just exit.
	Fix some whitespace on comments.
	(nml_read_obj_data): Reset the read error flag before the first call
	to nml_read_object.

From-SVN: r197321
2013-04-01 20:30:41 +00:00
Jason Merrill
a71751232c call.c (add_function_candidate): Take the address of 'this' here.
* call.c (add_function_candidate): Take the address of 'this' here.
	(build_over_call): And here.
	(build_new_method_call_1, build_op_call_1): Not here.
	(build_user_type_conversion_1): Or here.
	(add_candidates): Adjust.

From-SVN: r197317
2013-04-01 15:05:12 -04:00
Jason Merrill
c4101929ef cxx-pretty-print.h (pp_cxx_cv_qualifiers): New.
* cxx-pretty-print.h (pp_cxx_cv_qualifiers): New.
	* class.c (same_signature_p): Use type_memfn_quals.
	* cp-tree.h (TYPE_RAISES_EXCEPTIONS): Use
	FUNCTION_OR_METHOD_TYPE_CHECK.
	* error.c (dump_type_suffix): Add padding before cv-qualifiers.
	* pt.c (unify): Use static_fn_type.

From-SVN: r197316
2013-04-01 15:05:06 -04:00
Bronek Kozicki
2eed8e3701 Implement N2439 (ref-qualifiers for 'this')
Implement N2439 (ref-qualifiers for 'this')
	* cp-tree.h (FUNCTION_REF_QUALIFIED): New.
	(FUNCTION_RVALUE_QUALIFIED): New.
	(FUNCTION_OR_METHOD_TYPE_CHECK): New.
	(cpp0x_warn_str): Add CPP0X_REF_QUALIFIER.
	(cp_ref_qualifier): New enum.
	(cp_declarator): Add ref_qualifier.
	* parser.c (cp_parser_ref_qualifier_seq_opt): New.
	(cp_parser_direct_declarator): Use it.
	(make_call_declarator): Adjust.
	(cp_parser_lambda_declarator_opt): Adjust.
	* call.c (add_function_candidate): Handle ref-qualifier overload
	resolution semantics.
	(standard_conversion): Adjust.
	* class.c (add_method, same_signature_p): Compare ref-qualifiers.
	* decl.c (grokdeclarator): Handle ref-qualifiers.
	(grokfndecl): Check for invalid ref-qualifiers.
	(static_fn_type, revert_static_member_fn): Adjust.
	* decl2.c (build_memfn_type): Handle ref-qualifiers.
	(check_classfn): Check them.
	(cp_reconstruct_complex_type): Retain them.
	* error.c (dump_ref_qualifier): New.
	(dump_type_suffix, dump_function_decl): Use it.
	(maybe_warn_cpp0x): Handle CPP0X_REF_QUALIFIER.
	* pt.c (tsubst, tsubst_function_type): Instantiate ref-quals.
	(unify): Retain them.
	* tree.c (cp_check_qualified_type): New.
	(cp_build_qualified_type_real): Keep exception spec and ref-qual.
	(build_ref_qualified_type): New.
	(strip_typedefs, build_exception_variant): Keep ref-qualifier.
	(cp_build_type_attribute_variant): Keep ref-qualifier.
	* typeck.c (merge_types): Keep ref-qualifier.
	(structural_comptypes): Compare ref-qualifier.
	(type_memfn_rqual): New.
	(apply_memfn_quals): Take ref-qual argument.
	* typeck2.c (build_m_component_ref): Check ref-qualifier.

Co-Authored-By: Jason Merrill <jason@redhat.com>

From-SVN: r197315
2013-04-01 15:04:59 -04:00
Paolo Carlini
5bc08e85f1 cp-tree.h (DECL_UNBOUND_CLASS_TEMPLATE_P): Remove.
2013-04-01  Paolo Carlini  <paolo.carlini@oracle.com>

	* cp-tree.h (DECL_UNBOUND_CLASS_TEMPLATE_P): Remove.
	(DECL_FUNCTION_TEMPLATE_P): Adjust.

	* cxx-pretty-print.c (pp_cxx_nested_name_specifier,
	pp_cxx_qualified_id): Use get_containing_scope.
	* parser.c (cp_parser_class_head): Likewise.
	* pt.c (push_template_decl_real): Likewise.

	* decl2.c (import_export_decl): Use DECL_TEMPLOID_INSTANTIATION.
	* pt.c (unify): Use CP_INTEGRAL_TYPE_P.

From-SVN: r197309
2013-04-01 17:33:27 +00:00
Wei Mi
136fb3f734 i386.md (*ashl<mode>3_mask): Rewrite as define_insn.
2013-04-01  Wei Mi  <wmi@google.com>

        * config/i386/i386.md (*ashl<mode>3_mask): Rewrite as define_insn.
        Truncate operand 2 using %b asm operand modifier.
        (*<shift_insn><mode>3_mask): Ditto.
        (*<rotate_insn><mode>3_mask): Ditto.

From-SVN: r197308
2013-04-01 17:27:46 +00:00
Steven Bosscher
6388c7382f re PR middle-end/56798 (ICE in patch_jump_insn, at cfgrtl.c:1238)
PR middle-end/56798
	* cfgbuild.c (inside_basic_block_p): Restore check broken at r197234.

From-SVN: r197307
2013-04-01 15:49:47 +00:00