- 14 Oct, 2010 16 commits
-
-
2010-10-14 H.J. Lu <hongjiu.lu@intel.com> PR middle-end/46011 * gcc.target/i386/vectorize4-avx.c: Scan 256bit AVX register and xfail. From-SVN: r165457
H.J. Lu committed -
2010-10-14 H.J. Lu <hongjiu.lu@intel.com> * gcc.target/i386/recip-vec-sqrtf-avx.c: Scan 256bit AVX register. * gcc.target/i386/recip-vec-divf-avx.c: Likewise. From-SVN: r165456
H.J. Lu committed -
sel-sched-ir.c (init_global_and_expr_for_insn): Set CANT_MOVE on RTX_FRAME_RELATED_P insns and the insn to which... * sel-sched-ir.c (init_global_and_expr_for_insn): Set CANT_MOVE on RTX_FRAME_RELATED_P insns and the insn to which NOTE_INSN_EPILOGUE_BEG is attached. * sched-vis.c (print_value): Allow NULL value. * gcc.target/ia64/20101005.c: New test. From-SVN: r165455
Andrey Belevantsev committed -
PR rtl-optimization/45570 * sel-sched-ir.c (cfg_preds_1): When walking out of the region, assert that we are pipelining outer loops. Allow returning zero predecessors. * gcc.dg/pr45570.c: New test. From-SVN: r165454
Andrey Belevantsev committed -
* sel-sched-ir.c (maybe_tidy_empty_bb): Simplify comment. (tidy_control_flow): Tidy vertical space. (sel_remove_bb): New variable idx. Use it to remember the basic block index before deleting the block. (sel_remove_empty_bb): Remove dead code, simplify and insert to ... (sel_merge_blocks): ... here. * sel-sched-ir.h (sel_remove_empty_bb): Remove prototype. From-SVN: r165453
Andrey Belevantsev committed -
* cse.c (is_dead_reg): Change into inline function that is not called through for_each_rtx. (set_live_p): Adjust caller. (insn_live_p): Don't reset DEBUG_INSNs here. (struct dead_debug_insn_data): New data. (count_stores, is_dead_debug_insn, replace_dead_reg): New functions. (delete_trivially_dead_insns): If there is just one setter for the dead reg that is referenced by some DEBUG_INSNs, create a DEBUG_EXPR and add DEBUG_INSN for it right before the removed setter and use the DEBUG_EXPR instead of the dead pseudo. From-SVN: r165452
Jakub Jelinek committed -
2010-10-14 Zdenek Dvorak <rakdver@kam.uniff.cz> * et-forest.c (et_nca): Return NULL immediately when the dominance forest has disjoint components. From-SVN: r165451
Zdenek Dvorak committed -
ira.c (setup_class_hard_regs): Fix typo in indexing ira_non_ordered_class_hard_regs and ira_class_hard_reg_index. 2010-10-13 Vladimir Makarov <vmakarov@redhat.com> * ira.c (setup_class_hard_regs): Fix typo in indexing ira_non_ordered_class_hard_regs and ira_class_hard_reg_index. From-SVN: r165450
Vladimir Makarov committed -
2010-10-13 H.J. Lu <hongjiu.lu@intel.com> * gcc.target/i386/recip-vec-sqrtf-avx.c: New. * gcc.target/i386/recip-vec-divf-avx.c: Likewise. * gcc.target/i386/vectorize4-avx.c: Likewise. From-SVN: r165449
H.J. Lu committed -
2010-10-13 H.J. Lu <hongjiu.lu@intel.com> * gcc.target/i386/avx-copysign-vec.c: New. * gcc.target/i386/avx-copysignf-vec.c: Likewise. From-SVN: r165448
H.J. Lu committed -
2010-10-13 H.J. Lu <hongjiu.lu@intel.com> PR middle-end/44130 * gcc.target/i386/pr44130.c: New. From-SVN: r165447
H.J. Lu committed -
2010-10-13 H.J. Lu <hongjiu.lu@intel.com> PR middle-end/44144 * gcc.target/i386/pr44144.c: New. From-SVN: r165446
H.J. Lu committed -
2010-10-13 H.J. Lu <hongjiu.lu@intel.com> PR target/44180 * gcc.target/i386/pr44180.c: New. From-SVN: r165445
H.J. Lu committed -
From-SVN: r165444
Tijs Wiebe Lefering committed -
PR c++/45984 * class.c (fixup_attribute_variants): New fn. * cp-tree.h: Declare it. * pt.c (instantiate_class_template): Call it. * semantics.c (begin_class_definition): Call it. From-SVN: r165443
Jason Merrill committed -
From-SVN: r165442
GCC Administrator committed
-
- 13 Oct, 2010 24 commits
-
-
PR libstdc++/45990 * include/bits/regex.h (regex_traits::isctype): DR 1337. From-SVN: r165438
Jonathan Wakely committed -
re PR rtl-optimization/45912 (Patch for PR tree-optimization/44972 caused 2500+ FAILs on Solaris 2/SPARC) PR rtl-optimization/45912 * ira-costs.c (ira_tune_allocno_costs_and_cover_classes): Test the regno of registers instead of their index to compute the alignment. From-SVN: r165437
Eric Botcazou committed -
2010-10-13 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.c (ix86_build_const_vector): Check vector mode instead of scalar mode. (ix86_build_signbit_mask): Likewise. (ix86_expand_fp_absneg_operator): Updated. (ix86_expand_copysign): Likewise. (ix86_expand_int_vcond): Likewise. (ix86_emit_swdivsf): Likewise. (ix86_sse_copysign_to_positive): Likewise. (ix86_expand_sse_fabs): Likewise. * config/i386/i386.md (fixuns_trunc<mode>si2): Likewise. * config/i386/sse.md (copysign<mode>3): Likewise. (sse2_cvtudq2ps): Likewise. (vec_unpacku_float_hi_v4si): Likewise. (vec_unpacku_float_lo_v4si): Likewise. * config/i386/i386.c (ix86_builtins): Add IX86_BUILTIN_CPYSGNPS256 and IX86_BUILTIN_CPYSGNPD256. (bdesc_args): Likewise. (ix86_builtin_vectorized_function): Support IX86_BUILTIN_CPYSGNPS256, IX86_BUILTIN_CPYSGNPD256, IX86_BUILTIN_SQRTPD256, IX86_BUILTIN_SQRTPS_NR256, and IX86_BUILTIN_CVTPS2DQ256. (ix86_builtin_reciprocal): Support IX86_BUILTIN_SQRTPS_NR256. * config/i386/sse.md (STORENT_MODE): New. (VEC_FLOAT_MODE): Likewise. (VEC_EXTRACT_MODE): Likewise. (*avx_cvtdq2pd256_2): Likewise. (vec_pack_trunc_v4df): Likewise. (vec_interleave_highv8sf): Likewise. (vec_interleave_lowv8sf): Likewise. (storent<mode>): Macroized. (<code><mode>2: absneg): Likewise. (copysign<mode>3): Likewise. (vec_extract<mode>): Likewise. PR target/44180 * config/i386/i386.c (expand_vec_perm_even_odd_1): Rewritten for V8SFmode. 2010-10-13 Richard Guenther <rguenther@suse.de> H.J. Lu <hongjiu.lu@intel.com> * config/i386/sse.md (reduc_splus_v8sf): Add. (reduc_splus_v4df): Likewise. (vec_unpacks_hi_v8sf): Likewise. (vec_unpacks_lo_v8sf): Likewise. (*avx_cvtps2pd256_2): Likewise. (vec_unpacks_float_hi_v8si): Likewise. (vec_unpacks_float_lo_v8si): Likewise. (vec_interleave_highv4df): Likewise. (vec_interleave_lowv4df): Likewise. From-SVN: r165436
H.J. Lu committed -
2010-10-13 Richard Guenther <rguenther@suse.de> PR objc/45878 * gimple-fold.c (gimple_fold_obj_type_ref): Leave OBJ_TYPE_REFs alone if there are no virtual methods. * objc.dg/pr45878.m: New testcase. From-SVN: r165435
Richard Guenther committed -
From-SVN: r165433
Richard Henderson committed -
2010-10-13 Kai Tietz <kai.tietz@onevision.com> * gcc.dg/format/dfp-scanf-1.c: Disable for *-*-mingw* targets. * gcc.dg/format/dfp-printf-1.c: Likewise. * gcc.dg/format/ms_unnamed-1.c: Adjust linenumber for warning. From-SVN: r165432
Kai Tietz committed -
2010-10-13 Richard Guenther <rguenther@suse.de> PR objc/45878 * tree-ssa-ccpc (ccp_fold_stmt): Use gimple_fold_obj_type_ref. From-SVN: r165430
Richard Guenther committed -
* cse.c (cse_insn): Fix thinko in the canonicalization of USE insns. Canonicalize input operands of ASM_OPERANDS insns. From-SVN: r165429
Eric Botcazou committed -
2010-10-13 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/random.h (discrete_distribution<>::param_type:: param_type()): Default construct the vectors. (discrete_distribution<>::param_type::probabilities): Adjust. (discrete_distribution<>::probabilities): Likewise. (discrete_distribution<>::max): Likewise. (piecewise_constant_distribution<>::param_type:: param_type()): Default construct the vectors. (piecewise_constant_distribution<>::param_type::intervals): Adjust. (piecewise_constant_distribution<>::param_type::densities): Likewise. (piecewise_constant_distribution<>::intervals): Likewise. (piecewise_constant_distribution<>::densities): Likewise. (piecewise_constant_distribution<>::min): Likewise. (piecewise_constant_distribution<>::max): Likewise. (piecewise_linear_distribution<>::param_type:: param_type()): Default construct the vectors. (piecewise_linear_distribution<>::param_type::intervals): Adjust. (piecewise_linear_distribution<>::param_type::densities): Likewise. (piecewise_linear_distribution<>::intervals): Likewise. (piecewise_linear_distribution<>::densities): Likewise. (piecewise_linear_distribution<>::min): Likewise. (piecewise_linear_distribution<>::max): Likewise. * include/bits/random.tcc (discrete_distribution<>::param_type:: _M_initialize): Deal quickly with raw _M_prob equivalent to a default constructed param_type, just clear the vector. (discrete_distribution<>::operator()): Early return 0 for a default constructed distribution. (piecewise_constant_distribution<>::param_type::_M_initialize): Likewise for _M_int and _M_den. (piecewise_constant_distribution<>::operator()): Early return for a default constructed distribution. (piecewise_linear_distribution<>::param_type::_M_initialize): Likewise. (piecewise_linear_distribution<>::operator()): Early return for a default constructed distribution. * testsuite/26_numerics/random/discrete_distribution/operators/ call-default.cc: New. * testsuite/26_numerics/random/piecewise_constant_distribution/ operators/call-default.cc: Likewise. From-SVN: r165427
Paolo Carlini committed -
From-SVN: r165426
Xinliang David Li committed -
re PR tree-optimization/45788 (-fwhole-program causes ICE error: BB 3 can not throw but has an EH edge) 2010-10-13 Richard Guenther <rguenther@suse.de> PR tree-optimization/45788 * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Delay EH update until fixup-cfg. * g++.dg/pr45788.C: New testcase. From-SVN: r165425
Richard Guenther committed -
gcc/ * config/arm/arm.h (REG_CLASS_CONTENTS): Remove soft frame pointer from CORE_REGS and GENERAL_REGS classes. * config/arm/arm.md (*thumb1_movsi_insn): Ignore all parts of final constraint for register preferencing. From-SVN: r165424
Julian Brown committed -
2010-10-13 Richard Guenther <rguenther@suse.de> PR tree-optimization/45970 * tree-ssa-alias.h (stmt_kills_ref_p): Declare. * tree-ssa-alias.c (stmt_kills_ref_p_1): New function. (stmt_kills_ref_p): Likewise. * tree-ssa-dse.c (dse_optimize_stmt): Use it. * gcc.dg/tree-ssa/ssa-dse-13.c: New testcase. From-SVN: r165422
Richard Guenther committed -
From-SVN: r165420
Joseph Myers committed -
2010-10-13 Richard Guenther <rguenther@suse.de> PR tree-optimization/45982 * tree-ssa-structalias.c (make_constraints_to): New function. (make_constraint_to): Implement in terms of make_constraints_to. (find_func_aliases): Properly make return values of pure/const functions escape if they assign to sth that is not a pointer. * gcc.dg/torture/pr45982.c: New testcase. * gcc.dg/tree-ssa/pr24287.c: Adjust. * gcc.dg/tree-ssa/pta-callused.c: Likewise. * gcc.dg/torture/pr39074-2.c: Likewise. From-SVN: r165418
Richard Guenther committed -
2010-10-13 Richard Guenther <rguenther@suse.de> PR middle-end/45874 * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Fixup the CFG when EH was fixed up. * g++.dg/torture/pr45874.C: New testcase. From-SVN: r165416
Richard Guenther committed -
gcc/c-family: merge from FSF apple 'trunk' branch. 2006-04-26 Fariborz Jahanian <fjahanian@apple.com> Radar 3803157 (method attributes) * c-common.c (handle_deprecated_attribute): Recognize objc methods as valid declarations. * c-common.h: Declare objc_method_decl (). * stub-objc.c (objc_method_decl): New stub. gcc/objc: merge from FSF apple 'trunk' branch. 2006-04-26 Fariborz Jahanian <fjahanian@apple.com> Radar 3803157 (method attributes) * objc/objc-act.h (METHOD_TYPE_ATTRIBUTES): New macro. * objc/objc-act.c (objc_decl_method_attributes): New. (objc_add_method_declaration): Process method's attribute. (objc_start_method_definition): Ditto. (build_objc_method_call): Inject method attribute into built function type. (objc_method_decl): New. (objc_warn_deprecated)use): New. testsuite: * objc.dg/attributes/method-attribute-1.m: Update to respond to implemented method attributes.. * objc.dg/attributes/method-attribute-2.m: Likewise. * objc.dg/attributes/method-attribute-3.m: Likewise. * obj-c++.dg/attributes/method-attribute-1.mm: Likewise. * obj-c++.dg/attributes/method-attribute-2.mm: Likewise. * obj-c++.dg/attributes/method-attribute-3.mm: Likewise. From-SVN: r165415
Iain Sandoe committed -
In libobjc/: 2010-10-13 Nicola Pero <nicola.pero@meta-innovation.com> PR libobjc/23214 * init.c (objc_init_statics): Do not skip the initialization of a statics list if the first object has already been initialized; in the case of Protocols, while the first one may have been initialized, some others may not have been initialized yet. In gcc/testsuite/: 2010-10-13 Nicola Pero <nicola.pero@meta-innovation.com> PR libobjc/23214 * objc.dg/pr23214.m: New. From-SVN: r165414
Nicola Pero committed -
2010-10-12 Richard Guenther <rguenther@suse.de> * tree.c (cp_free_lang_data): Free DECL_NAMESPACE_USERS and clear DECL_CHAIN of NAMESPACE_DECLs. From-SVN: r165413
Richard Guenther committed -
* tree-vect-slp.c (vect_get_constant_vectors): Fix comment. Use operand's type for POINTER_PLUS_EXPR. From-SVN: r165412
Ira Rosen committed -
From-SVN: r165411
Alexandre Oliva committed -
PR 45856 From-SVN: r165410
Michael Eager committed -
In libobjc/: 2010-10-13 Nicola Pero <nicola.pero@meta-innovation.com> * Makefile.in (OBJC_DEPRECATED_H): Added objc_get_uninstalled_dtable, objc_object_alloc.h and struct_objc_static_instances.h. From-SVN: r165409
Nicola Pero committed -
From-SVN: r165408
GCC Administrator committed
-