aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)Author
2014-03-04Merge up to 208322Michael Meissner
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/gcc-4_8-prefixes@208326 138bc75d-0d04-0410-961f-82ee72b054a4
2014-03-042014-03-04 Bill Schmidt <wschmidt@linux.vnet.ibm.com>Bill Schmidt
* gcc.dg/vmx/extract-vsx.c: Replace "vector long" with "vector long long" throughout. * gcc.dg/vmx/extract-vsx-be-order.c: Likewise. * gcc.dg/vmx/insert-vsx.c: Likewise. * gcc.dg/vmx/insert-vsx-be-order.c: Likewise. * gcc.dg/vmx/ld-vsx.c: Likewise. * gcc.dg/vmx/ld-vsx-be-order.c: Likewise. * gcc.dg/vmx/ldl-vsx.c: Likewise. * gcc.dg/vmx/ldl-vsx-be-order.c: Likewise. * gcc.dg/vmx/merge-vsx.c: Likewise. * gcc.dg/vmx/merge-vsx-be-order.c: Likewise. * gcc.dg/vmx/st-vsx.c: Likewise. * gcc.dg/vmx/st-vsx-be-order.c: Likewise. * gcc.dg/vmx/stl-vsx.c: Likewise. * gcc.dg/vmx/stl-vsx-be-order.c: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/gcc-4_8-branch@208322 138bc75d-0d04-0410-961f-82ee72b054a4
2014-03-04 Merge up to 208295.Peter Bergner
* REVISION: Update subversion id. Picks up LIBITM fixes for libitm.c/reentrant.c. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/gcc-4_8-branch@208318 138bc75d-0d04-0410-961f-82ee72b054a4
2014-03-032014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>Bill Schmidt
* config/rs6000/rs6000.c (rs6000_preferred_reload_class): Disallow reload of PLUS rtx's outside of GENERAL_REGS or BASE_REGS; relax constraint on constants to permit them being loaded into GENERAL_REGS or BASE_REGS. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/gcc-4_8-branch@208288 138bc75d-0d04-0410-961f-82ee72b054a4
2014-03-03Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208264 138bc75d-0d04-0410-961f-82ee72b054a4
2014-03-02fortran/Mikael Morin
PR fortran/60341 * frontend-passes.c (optimize_comparison): Guard two union accesses with the corresponding tag checks. testsuite/ PR fortran/60341 * gfortran.dg/str_comp_optimize_1.f90: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208258 138bc75d-0d04-0410-961f-82ee72b054a4
2014-03-02Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208253 138bc75d-0d04-0410-961f-82ee72b054a4
2014-03-01 PR c++/58845Jason Merrill
* typeck.c (cp_build_binary_op): Sorry on vector&&vector. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208246 138bc75d-0d04-0410-961f-82ee72b054a4
2014-03-01 PR c++/60182Jason Merrill
* pt.c (unify): Ignore alias templates when deducing a template template parameter. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208245 138bc75d-0d04-0410-961f-82ee72b054a4
2014-03-01 PR c++/60146Jason Merrill
* pt.c (tsubst_omp_for_iterator): Don't let substitution of the DECL_EXPR initialize a non-class iterator. Conflicts: gcc/cp/pt.c git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208244 138bc75d-0d04-0410-961f-82ee72b054a4
2014-03-01Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208239 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-28Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208211 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-27Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208190 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-26 Apply mainline r207798Alan Modra
PR target/58675 PR target/57935 * config/rs6000/rs6000.c (rs6000_secondary_reload_inner): Use find_replacement on parts of insn rtl that might be reloaded. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/gcc-4_8-branch@208166 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-26Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208161 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-252014-02-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com>Bill Schmidt
* config/rs6000/vector.md (*vector_unordered<mode>): Change split to use canonical form for nor<mode>3. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/gcc-4_8-branch@208123 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-25gcc/testsuite:Bill Schmidt
2014-02-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * gcc.dg/vmx/ld-vsx.c: Don't use vec_all_eq. * gcc.dg/vmx/ld-vsx-be-order.c: Likewise. * gcc.dg/vmx/ldl-vsx.c: Likewise. * gcc.dg/vmx/ldl-vsx-be-order.c: Likewise. * gcc.dg/vmx/merge-vsx.c: Likewise. * gcc.dg/vmx/merge-vsx-be-order.c: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/gcc-4_8-branch@208121 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-252014-02-25 Richard Biener <rguenther@suse.de>Richard Biener
Backport from mainline 2014-02-21 Richard Biener <rguenther@suse.de> PR tree-optimization/60276 * tree-vectorizer.h (struct _stmt_vec_info): Add min_neg_dist field. (STMT_VINFO_MIN_NEG_DIST): New macro. * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Record STMT_VINFO_MIN_NEG_DIST. * tree-vect-stmts.c (vectorizable_load): Verify if assumptions made for negative dependence distances still hold. * gcc.dg/vect/pr60276.c: New testcase. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208119 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-252014-02-25 Richard Biener <rguenther@suse.de>Richard Biener
Backport from mainline 2014-02-21 Richard Biener <rguenther@suse.de> PR middle-end/60291 * tree-ssa-live.c (mark_all_vars_used_1): Do not walk DECL_INITIAL for globals not in the current function context. 2014-02-20 Richard Biener <rguenther@suse.de> PR middle-end/60221 * tree-eh.c (execute_cleanup_eh_1): Also cleanup empty EH regions at -O0. 2014-02-14 Richard Biener <rguenther@suse.de> PR tree-optimization/60183 * tree-ssa-phiprop.c (propagate_with_phi): Avoid speculating loads. (tree_ssa_phiprop): Calculate and free post-dominators. * gcc.dg/torture/pr60183.c: New testcase. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208118 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-25 PR target/55426Kyrylo Tkachov
* config/arm/arm.h (CANNOT_CHANGE_MODE_CLASS): Allow 128 to 64-bit conversions. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208117 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-25 * config/pa/pa.c (pa_output_move_double): Don't valididate whenJohn David Anglin
adjusting offsetable addresses. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208102 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-25Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208099 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-242014-02-24 Fabien Chene <fabien@gcc.gnu.org>Fabien ChĂȘne
PR c++/37140 * parser.c (cp_parser_nonclass_name): Call strip_using_decl and move the code handling dependent USING_DECLs... * name-lookup.c (strip_using_decl): ...Here. 2014-02-24 Fabien Chene <fabien@gcc.gnu.org> PR c++/37140 * g++.dg/template/using27.C: New. * g++.dg/template/using28.C: New. * g++.dg/template/using29.C: New. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208093 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-24Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208064 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-232014-02-23 David Holsgrove <david.holsgrove@xilinx.com>David Holsgrove
* config/microblaze/microblaze.md: Correct ashrsi_reg / lshrsi_reg names git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208062 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-232014-02-23 Edgar E. Iglesias <edgar.iglesias@xilinx.com>Michael Eager
* config/microblaze/microblaze.h: Remove SECONDARY_MEMORY_NEEDED definition. 2014-02-23 David Holsgrove <david.holsgrove@xilinx.com> * gcc/testsuite/gcc.target/microblaze/others/mem_reload.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208060 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-232014-02-23 David Holsgrove <david.holsgrove@xilinx.com>David Holsgrove
* /config/microblaze/microblaze.c: Add microblaze_asm_output_mi_thunk and define TARGET_ASM_OUTPUT_MI_THUNK and TARGET_ASM_CAN_OUTPUT_MI_THUNK. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208058 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-232014-02-23 David Holsgrove <david.holsgrove@xilinx.com>David Holsgrove
* config/microblaze/predicates.md: Add cmp_op predicate. * config/microblaze/microblaze.md: Add branch_compare instruction which uses cmp_op predicate and emits cmp insn before branch. * config/microblaze/microblaze.c (microblaze_emit_compare): Rename to microblaze_expand_conditional_branch and consolidate logic. (microblaze_expand_conditional_branch): emit branch_compare insn instead of handling cmp op separate from branch insn. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208056 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-232014-02-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com>Bill Schmidt
* config/rs6000/rs6000.c (rs6000_emit_le_vsx_move): Relax assert to permit subregs. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/gcc-4_8-branch@208054 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-23gcc:Bill Schmidt
2014-02-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * config/rs6000/altivec.md (altivec_lve<VI_char>x): Replace define_insn with define_expand and new define_insn *altivec_lve<VI_char>x_internal. (altivec_stve<VI_char>x): Replace define_insn with define_expand and new define_insn *altivec_stve<VI_char>x_internal. * config/rs6000/rs6000-protos.h (altivec_expand_stvex_be): New prototype. * config/rs6000/rs6000.c (altivec_expand_lvx_be): Document use by lve*x built-ins. (altivec_expand_stvex_be): New function. gcc/testsuite: 2014-02-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * gcc.dg/vmx/lde.c: New test. * gcc.dg/vmx/lde-be-order.c: New test. * gcc.dg/vmx/ste.c: New test. * gcc.dg/vmx/ste-be-order.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/gcc-4_8-branch@208050 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-23Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208047 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-22fortran/Mikael Morin
PR fortran/59599 * trans-intrinsic.c (gfc_conv_intrinsic_ichar): Calculate the number of arguments. testsuite/ PR fortran/59599 * gfortran.dg/ichar_3.f90: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208042 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-222014-02-21 Steven G. Kargl <kargl@gcc.gnu.org>Steven G. Kargl
Backport from mainline PR fortran/59700 * gfortran.dg/pr59700.f90: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208039 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-22Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208036 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-21 PR c++/60108Jason Merrill
* semantics.c (expand_or_defer_fn_1): Check DECL_DEFAULTED_FN. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208032 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-21 PR c++/60187Jason Merrill
* parser.c (cp_parser_enum_specifier): Call check_for_bare_parameter_packs. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208031 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-21gcc:Bill Schmidt
2014-02-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * config/rs6000/altivec.md (altivec_vsumsws): Replace second vspltw with vsldoi. (reduc_uplus_v16qi): Use gen_altivec_vsumsws_direct instead of gen_altivec_vsumsws. gcc/testsuite: 2014-02-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * gcc.dg/vmx/vsums.c: Check entire result vector. * gcc.dg/vmx/vsums-be-order.c: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/gcc-4_8-branch@208022 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-21gcc:Bill Schmidt
2014-02-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * config/rs6000/altivec.md (altivec_lvxl): Rename as *altivec_lvxl_<mode>_internal and use VM2 iterator instead of V4SI. (altivec_lvxl_<mode>): New define_expand incorporating -maltivec=be semantics where needed. (altivec_lvx): Rename as *altivec_lvx_<mode>_internal. (altivec_lvx_<mode>): New define_expand incorporating -maltivec=be semantics where needed. (altivec_stvx): Rename as *altivec_stvx_<mode>_internal. (altivec_stvx_<mode>): New define_expand incorporating -maltivec=be semantics where needed. (altivec_stvxl): Rename as *altivec_stvxl_<mode>_internal and use VM2 iterator instead of V4SI. (altivec_stvxl_<mode>): New define_expand incorporating -maltivec=be semantics where needed. * config/rs6000/rs6000-builtin.def: Add new built-in definitions LVXL_V2DF, LVXL_V2DI, LVXL_V4SF, LVXL_V4SI, LVXL_V8HI, LVXL_V16QI, LVX_V2DF, LVX_V2DI, LVX_V4SF, LVX_V4SI, LVX_V8HI, LVX_V16QI, STVX_V2DF, STVX_V2DI, STVX_V4SF, STVX_V4SI, STVX_V8HI, STVX_V16QI, STVXL_V2DF, STVXL_V2DI, STVXL_V4SF, STVXL_V4SI, STVXL_V8HI, STVXL_V16QI. * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Replace ALTIVEC_BUILTIN_LVX with ALTIVEC_BUILTIN_LVX_<MODE> throughout; similarly for ALTIVEC_BUILTIN_LVXL, ALTIVEC_BUILTIN_STVX, and ALTIVEC_BUILTIN_STVXL. * config/rs6000/rs6000-protos.h (altivec_expand_lvx_be): New prototype. (altivec_expand_stvx_be): Likewise. * config/rs6000/rs6000.c (swap_selector_for_mode): New function. (altivec_expand_lvx_be): Likewise. (altivec_expand_stvx_be): Likewise. (altivec_expand_builtin): Add cases for ALTIVEC_BUILTIN_STVX_<MODE>, ALTIVEC_BUILTIN_STVXL_<MODE>, ALTIVEC_BUILTIN_LVXL_<MODE>, and ALTIVEC_BUILTIN_LVX_<MODE>. (altivec_init_builtins): Add definitions for __builtin_altivec_lvxl_<mode>, __builtin_altivec_lvx_<mode>, __builtin_altivec_stvx_<mode>, and __builtin_altivec_stvxl_<mode>. gcc/testsuite: 2014-02-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * gcc.dg/vmx/ld.c: New test. * gcc.dg/vmx/ld-be-order.c: New test. * gcc.dg/vmx/ld-vsx.c: New test. * gcc.dg/vmx/ld-vsx-be-order.c: New test. * gcc.dg/vmx/ldl.c: New test. * gcc.dg/vmx/ldl-be-order.c: New test. * gcc.dg/vmx/ldl-vsx.c: New test. * gcc.dg/vmx/ldl-vsx-be-order.c: New test. * gcc.dg/vmx/st.c: New test. * gcc.dg/vmx/st-be-order.c: New test. * gcc.dg/vmx/st-vsx.c: New test. * gcc.dg/vmx/st-vsx-be-order.c: New test. * gcc.dg/vmx/stl.c: New test. * gcc.dg/vmx/stl-be-order.c: New test. * gcc.dg/vmx/stl-vsx.c: New test. * gcc.dg/vmx/stl-vsx-be-order.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/gcc-4_8-branch@208020 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-21Merge up to 208009Michael Meissner
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/gcc-4_8-prefixes@208010 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-21 PR c++/60216Jason Merrill
* pt.c (register_specialization): Copy DECL_DELETED_FN to clones. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208008 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-21 PR c++/60219Jason Merrill
* pt.c (coerce_template_parms): Bail if argument packing fails. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208007 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-21 PR c++/60248Jason Merrill
* mangle.c (mangle_decl): Don't make an alias for a TYPE_DECL. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208006 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-212014-02-21 Martin Jambor <mjambor@suse.cz>Martin Jambor
PR ipa/55260 * ipa-cp.c (cgraph_edge_brings_all_agg_vals_for_node): Uce correct info when checking whether lattices are bottom. testsuite/ * gcc.dg/ipa/pr55260.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@207990 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-21 * config/i386/i386.c (ix86_expand_vec_perm): Use V8SImodeJakub Jelinek
mode for mask of V8SFmode permutation. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@207982 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-21 PR c++/60274Jason Merrill
Revert: PR c++/58606 * pt.c (template_parm_to_arg): Call convert_from_reference. (tsubst_template_arg): Don't strip reference refs. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@207978 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-21Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@207975 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-21PR c++/60272Richard Henderson
gcc/ * builtins.c (expand_builtin_atomic_compare_exchange): Conditionalize on failure the store back into EXPECT. libatomic/ * cas_n.c (libat_compare_exchange): Conditionalize on failure the store back to EPTR. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@207973 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-20 PR target/57896Jakub Jelinek
* config/i386/i386.c (expand_vec_perm_interleave2): Don't call gen_reg_rtx if d->testing_p. (expand_vec_perm_pshufb2, expand_vec_perm_even_odd_1, expand_vec_perm_broadcast_1): Return early if d->testing_p and we will certainly return true. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@207970 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-20 PR c++/58873Kai Tietz
* parser.c (cp_parser_functional_cast): Treat NULL_TREE valued type argument as error_mark_node. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@207962 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-202014-02-20 Richard Biener <rguenther@suse.de>Richard Biener
* tree-cfg.c (replace_uses_by): Mark altered BBs before doing the substitution. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@207959 138bc75d-0d04-0410-961f-82ee72b054a4