summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Revert:bernds2011-07-063-4/+14
| | | | | | | | | | | | * simplify-rtx.c (simplify_const_binary_operation): Use the shift_truncation_mask hook instead of performing modulo by width. Compare against mode precision, not bitsize. * combine.c (combine_simplify_rtx, simplify_shift_const_1): Use shift_truncation_mask instead of constructing the value manually. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175949 138bc75d-0d04-0410-961f-82ee72b054a4
* * explow.c (trunc_int_for_mode): Use GET_MODE_PRECISIONbernds2011-07-067-244/+267
| | | | | | | | | | | | | | | | | | | | | | | | instead of GET_MODE_BITSIZE where appropriate. * rtlanal.c (subreg_lsb_1, subreg_get_info, nonzero_bits1, num_sign_bit_copies1, canonicalize_condition, low_bitmask_len, init_num_sign_bit_copies_in_rep): Likewise. * cse.c (fold_rtx, cse_insn): Likewise. * loop-doloop.c (doloop_modify, doloop_optimize): Likewise. * simplify-rtx.c (simplify_unary_operation_1, simplify_const_unary_operation, simplify_binary_operation_1, simplify_const_binary_operation, simplify_ternary_operation, simplify_const_relational_operation, simplify_subreg): Likewise. * combine.c (try_combine, find_split_point, combine_simplify_rtx, simplify_if_then_else, simplify_set, expand_compound_operation, expand_field_assignment, make_extraction, if_then_else_cond, make_compound_operation, force_to_mode, make_field_assignment, reg_nonzero_bits_for_combine, reg_num_sign_bit_copies_for_combine, extended_count, try_widen_shift_mode, simplify_shift_const_1, simplify_comparison, record_promoted_value, simplify_compare_const, record_dead_and_set_regs_1): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175946 138bc75d-0d04-0410-961f-82ee72b054a4
* * machmode.h (HWI_COMPUTABLE_MODE_P): New macro.bernds2011-07-065-56/+64
| | | | | | | | | | | | | | | | * combine.c (set_nonzero_bits_and_sign_copies): Use it. (find_split-point, combine_simplify_rtx, simplify_if_then_else, simplify_set, simplify_logical, expand_compound_operation, make_extraction, force_to_mode, if_then_else_cond, extended_count, try_widen_shift_mode, simplify_shift_const_1, simplify_comparison, record_value_for_reg): Likewise. * expmed.c (expand_widening_mult, expand_mult_highpart): Likewise. * simplify-rtx. c (simplify_unary_operation_1, simplify_binary_operation_1, simplify_const_relational_operation): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175945 138bc75d-0d04-0410-961f-82ee72b054a4
* * emit-rtl.c (paradoxical_subreg_p): New function.bernds2011-07-0610-67/+63
| | | | | | | | | | | | | | | | * rtl.h (paradoxical_subreg_p): Declare. * combine.c (set_nonzero_bits_and_sign_copies, get_last_value, apply_distributive_law, simplify_comparison, simplify_set): Use it. * cse.c (record_jump_cond, cse_insn): Likewise. * expr.c (force_operand): Likewise. * rtlanal.c (num_sign_bit_copies1): Likewise. * reload1.c (eliminate_regs_1, strip_paradoxical_subreg): Likewise. * reload.c (push_secondary_reload, find_reloads_toplev): Likewise. (push_reload): Use precision to check for paradoxical subregs. * expmed.c (extract_bit_field_1): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175944 138bc75d-0d04-0410-961f-82ee72b054a4
* Add -mno-r11 support to PowerPC 64meissner2011-07-0610-247/+463
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175943 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/stack-layout-2.c: Cleanup expand rtl dump.uros2011-07-063-2/+9
| | | | | | | | * gfortran.dg/move_alloc_4.f90: Cleanup original tree dump. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175942 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/49568jason2011-07-062-2/+9
| | | | | | * method.c (make_thunk, use_thunk): Copy DECL_COMDAT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175938 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-07-06 Daniel Carrera <dcarrera@gmail.com>burnus2011-07-067-38/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * trans-array.c (gfc_array_allocate): Rename allocatable_array * to allocatable. Rename function gfc_allocate_array_with_status to gfc_allocate_allocatable_with_status. Update function call for gfc_allocate_with_status. * trans-opemp.c (gfc_omp_clause_default_ctor): Rename function gfc_allocate_array_with_status to gfc_allocate_allocatable_with_status. * trans-stmt.c (gfc_trans_allocate): Update function call for gfc_allocate_with_status. Rename function gfc_allocate_array_with_status to gfc_allocate_allocatable_with_status. * trans.c (gfc_call_malloc): Add new parameter * gfc_allocate_with_status so it uses the library for memory allocation when -fcoarray=lib. (gfc_allocate_allocatable_with_status): Renamed from gfc_allocate_array_with_status. (gfc_allocate_allocatable_with_status): Update function call for gfc_allocate_with_status. * trans.h (gfc_coarray_type): New enum. (gfc_allocate_with_status): Update prototype. (gfc_allocate_allocatable_with_status): Renamed from gfc_allocate_array_with_status. * trans-decl.c (generate_coarray_sym_init): Use the new constant GFC_CAF_COARRAY_ALLOC in the call to gfor_fndecl_caf_register. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175937 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Use GOCFLAGS when compiling tests.ian2011-07-062-2/+2
| | | | | | | From Uros Bizjak. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175930 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-07-06 Jonathan Wakely <jwakely.gcc@gmail.com>redi2011-07-062-1/+6
| | | | | | | | PR other/49658 * doc/extend.texi (Compound Literals): Fix typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175928 138bc75d-0d04-0410-961f-82ee72b054a4
* json: fix test when rand returns 0.ian2011-07-061-0/+3
| | | | | | | | Fixes using gccgo when optimizing, which changes the order of calls to rand. Same patch proposed upstream. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175927 138bc75d-0d04-0410-961f-82ee72b054a4
* * mt-alphaieee (GOCFLAGS_FOR_TARGET): Add -mieee.uros2011-07-062-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175926 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-07-06 James Greenhalgh <james.greenhalgh@arm.com>janis2011-07-062-0/+7
| | | | | | | | * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Add __ARM_FEATURE_DSP. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175925 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-07-06 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2011-07-064-2/+35
| | | | | | | | | | | | | | | | * configure.ac (plugin-version.h): Generate GCCPLUGIN_VERSION_MAJOR, GCCPLUGIN_VERSION_MINOR, GCCPLUGIN_VERSION_PATCHLEVEL, GCCPLUGIN_VERSION constant integer macros. * configure: Regenerate. * doc/plugins.texi (Building GCC plugins): Mention GCCPLUGIN_VERSION ... constant macros in plugin-version.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175923 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/target-supports.exp (check_profiling_available): Disablegjl2011-07-062-0/+10
| | | | | | | profiling with -fprofile-generate for target avr. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175922 138bc75d-0d04-0410-961f-82ee72b054a4
* * machmode.h (TRULY_NOOP_TRUNCATION_MODES_P): New macro.bernds2011-07-0612-48/+47
| | | | | | | | | | | | | | | | | * combine.c (make_extraction, gen_lowpart_or_truncate, apply_distributive_law, simplify_comparison, reg_truncated_to_mode, record_truncated_value): Use it. * cse.c (notreg_cost): Likewise. * expmed.c (store_bit_field_1, extract_bit_field_1): Likewise. * expr.c (convert_move, convert_modes): Likewise. * optabs.c (expand_binop, expand_unop): Likewise. * postreload.c (move2add_last_label): Likewise. * regmove.c (optimize_reg_copy_3): Likewise. * rtlhooks.c (gen_lowpart_general): Likewise. * simplify-rtx.c (simplify_unary_operation_1): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175921 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/vxworks.h (WORDS_BIG_ENDIAN): Define.jsm282011-07-062-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175919 138bc75d-0d04-0410-961f-82ee72b054a4
* * simplify-rtx.c (simplify_ternary_operation): Remove dead code.bernds2011-07-062-9/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175918 138bc75d-0d04-0410-961f-82ee72b054a4
* * cse.c (find_comparison_args): Use val_mode_signbit_set_p.bernds2011-07-068-134/+147
| | | | | | | | | | | | | | | | | | | | * simplify-rtx.c (mode_signbit_p): Use GET_MODE_PRECISION. (val_mode_signbit_p, val_mode_signbit_set_p): New functions. (simplify_const_unary_operation, simplify_binary_operation_1, simplify_const_binary_operation, simplify_const_relational_operation): Use them. Use GET_MODE_MASK for masking and sign-extensions. * combine.c (set_nonzero_bits_and_sign_copies, simplify_set, combine_simplify_rtx, force_to_mode, reg_nonzero_bits_for_combine, simplify_shift_const_1, simplify_comparison): Likewise. * expr.c (convert_modes): Likewise. * rtlanal.c (nonzero_bits1, canonicalize_condition): Likewise. * expmed.c (emit_cstore, emit_store_flag_1, emit_store_flag): Likewise. * rtl.h (val_mode_signbit_p, val_mode_signbit_set_p): Declare. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175917 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-07-06 Richard Guenther <rguenther@suse.de>rguenth2011-07-065-16/+59
| | | | | | | | | | | | | | | | | PR tree-optimization/49645 * c-decl.c (finish_decl): Also set DECL_HARD_REGISTER for global register variables. * tree-ssa-sccvn.c (vn_reference_op_eq): Disregard differences in type qualification here ... (copy_reference_ops_from_ref): ... not here. (vn_reference_lookup_3): ... or here. (copy_reference_ops_from_ref): Record decl bases as MEM[&decl]. (vn_reference_lookup): Do the lookup with a valueized ao-ref. * g++.dg/tree-ssa/pr8781.C: Disable SRA. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175916 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/install.texi (Configuration): It'sian2011-07-062-1/+6
| | | | | | | --enable-gnu-indirect-function, not --enable-indirect-function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175915 138bc75d-0d04-0410-961f-82ee72b054a4
* * simplify-rtx.c (simplify_const_binary_operation): Use thebernds2011-07-063-6/+13
| | | | | | | | | | | shift_truncation_mask hook instead of performing modulo by width. Compare against mode precision, not bitsize. * combine.c (combine_simplify_rtx, simplify_shift_const_1): Use shift_truncation_mask instead of constructing the value manually. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175913 138bc75d-0d04-0410-961f-82ee72b054a4
* Use pointer_mode for address computation.hjl2011-07-064-10/+55
| | | | | | | | | | | | | | | | | | | | gcc/ 2011-07-06 H.J. Lu <hongjiu.lu@intel.com> PR middle-end/47383 * tree-ssa-address.c (addr_for_mem_ref): Use pointer_mode for address computation and convert to address_mode if needed. gcc/testsuite/ 2011-07-06 H.J. Lu <hongjiu.lu@intel.com> PR middle-end/47383 * gcc.dg/pr47383.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175912 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/49647ro2011-07-062-1/+6
| | | | | | | * gcc.dg/tree-ssa/20030807-7.c: Remove xfail *-*-*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175910 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-07-06 Richard Guenther <rguenther@suse.de>rguenth2011-07-0617-29/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tree.c (build_common_tree_nodes_2): Merge with build_common_tree_nodes. * tree.h (build_common_tree_nodes): Adjust prototype. (build_common_tree_nodes_2): Remove. * doc/tm.texi.in (lang_hooks.builtin_function): Adjust. * doc/tm.texi (lang_hooks.builtin_function): Regenerate. c-family/ * c-common.c (c_common_nodes_and_builtins): Merge calls to build_common_tree_nodes and build_common_tree_nodes_2. fortran/ * f95-lang.c (gfc_init_decl_processing): Merge calls to build_common_tree_nodes and build_common_tree_nodes_2. go/ * go-lang.c (go_langhook_init): Merge calls to build_common_tree_nodes and build_common_tree_nodes_2. java/ * decl.c (java_init_decl_processing): Merge calls to build_common_tree_nodes and build_common_tree_nodes_2. lto/ * lto-lang.c (lto_init): Merge calls to build_common_tree_nodes and build_common_tree_nodes_2. ada/ * gcc-interface/misc.c (gnat_init): Merge calls to build_common_tree_nodes and build_common_tree_nodes_2. Re-initialize boolean_false_node. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175906 138bc75d-0d04-0410-961f-82ee72b054a4
* PR testsuite/49542ebotcazou2011-07-063-5/+10
| | | | | | | | * gcc.dg/vect/pr33804.c: XFAIL if vect_no_align unconditionally. * gcc.dg/vect/slp-multitypes-3.c: XFAIL on SPARC unconditionally. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175905 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/48157jason2011-07-064-2/+37
| | | | | | | * pt.c (tsubst_qualified_id): Preserve TEMPLATE_ID_EXPR in partial instantiation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175904 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2011-07-061-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175900 138bc75d-0d04-0410-961f-82ee72b054a4
* libgcc/tschwinge2011-07-052-2/+20
| | | | | | | | | | | | * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu) (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove md_unwind_header by splitting out of... (i[34567]86-*-linux*): ... this. * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Remove md_unwind_header by splitting out of... (x86_64-*-linux*): ... this. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175892 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/49618jakub2011-07-052-1/+44
| | | | | | | | | | | * tree-eh.c (tree_could_trap_p) <case CALL_EXPR>: For DECL_WEAK t recurse on the decl. <case FUNCTION_DECL, case VAR_DECL>: For DECL_WEAK decls return true if expr isn't known to be defined in current TU or some other LTO partition. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175884 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/pr44023.c: Add dg-require-effective-target int32plusgjl2011-07-053-0/+8
| | | | | | | * gcc.dg/pr43402.c: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175882 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-07-05 Thomas Koenig <tkoenig@gcc.gnu.org>tkoenig2011-07-0543-267/+225
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * runtime/memory.c (internal_malloc_size): If size is zero, allocate a single byte. * m4/pack.m4 (pack_'rtype_code`): Don't check for zero size for the argument of internal_malloc_size. * m4/spread.m4 (spread_'rtype_code`): Likewise. * m4/eoshift1.m4 (eoshift1): Don't allocate twice. Don't check for zero size for the argument of internal_malloc_size. * m4/eoshift3.m4: Don't check for zero size for the argument of internal_malloc_size. * intrinsics/pack_generic.c (pack_internal): Likewise. (pack_s_internal): Likewise. * intrinsics/cshift0.c (cshift0): Likewise. * intrinsics/spread_generic.c (spread_internal): Likewise. * intrinsics/eoshift0.c (eoshift0): Likewise. * intrinsics/eoshift2.c (eoshift2): Likewise. * generated/eoshift1_16.c: Regenerated. * generated/eoshift1_4.c: Regenerated. * generated/eoshift1_8.c: Regenerated. * generated/eoshift3_16.c: Regenerated. * generated/eoshift3_4.c: Regenerated. * generated/eoshift3_8.c: Regenerated. * generated/pack_c10.c: Regenerated. * generated/pack_c16.c: Regenerated. * generated/pack_c4.c: Regenerated. * generated/pack_c8.c: Regenerated. * generated/pack_i16.c: Regenerated. * generated/pack_i1.c: Regenerated. * generated/pack_i2.c: Regenerated. * generated/pack_i4.c: Regenerated. * generated/pack_i8.c: Regenerated. * generated/pack_r10.c: Regenerated. * generated/pack_r16.c: Regenerated. * generated/pack_r4.c: Regenerated. * generated/pack_r8.c: Regenerated. * generated/spread_c10.c: Regenerated. * generated/spread_c16.c: Regenerated. * generated/spread_c4.c: Regenerated. * generated/spread_c8.c: Regenerated. * generated/spread_i16.c: Regenerated. * generated/spread_i1.c: Regenerated. * generated/spread_i2.c: Regenerated. * generated/spread_i4.c: Regenerated. * generated/spread_i8.c: Regenerated. * generated/spread_r10.c: Regenerated. * generated/spread_r16.c: Regenerated. * generated/spread_r4.c: Regenerated. * generated/spread_r8.c: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175880 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/cpp/pragma-3.c: Add dg-require-effective-target fopenmp.gjl2011-07-052-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175879 138bc75d-0d04-0410-961f-82ee72b054a4
* Add --param case-values-thresholdmeissner2011-07-058-2/+110
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175878 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.target/arm/pr42093.c: Use "-fno-reorder-blocks".janis2011-07-052-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175877 138bc75d-0d04-0410-961f-82ee72b054a4
* dwarf2out: Remove unused text-based unwind entry points.rth2011-07-054-87/+20
| | | | | | | | | | | | | | | | | | The dwarf2out_cfi_label function is privatized, the dwarf2out_def_cfa function is merged into its last user. The others really are unused. * dwarf2out.c (dwarf2out_cfi_label): Make static. (dwarf2out_flush_queued_reg_saves): Make static. (dwarf2out_reg_save): Remove. (dwarf2out_return_save): Remove. (dwarf2out_return_reg): Remove. (dwarf2out_reg_save_reg): Remove. (dwarf2out_def_cfa): Merge into ... (dwarf2out_frame_init): ... here. * dwarf2out.h, tree.h: Remove declarations as necessary. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175876 138bc75d-0d04-0410-961f-82ee72b054a4
* ia64: Remove TARGET_DWARF_HANDLE_FRAME_UNSPEC hook.rth2011-07-052-14/+14
| | | | | | | | | | | Use an empty REG_FRAME_RELATED_EXPR instead. * config/ia64/ia64.c (ia64_dwarf_handle_frame_unspec): Remove. (TARGET_DWARF_HANDLE_FRAME_UNSPEC): Remove. (ia64_expand_epilogue): Emit an empty FRAME_RELATED_EXPR for the alloc insn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175875 138bc75d-0d04-0410-961f-82ee72b054a4
* ia64: Remove dead code in process_epilogue.rth2011-07-052-33/+6
| | | | | | | | * config/ia64/ia64.c (ia64_emit_deleted_label_after_insn): Remove. (IA64_CHANGE_CFA_IN_EPILOGUE): Remove. (process_epilogue): Don't call dwarf2out_def_cfa. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175874 138bc75d-0d04-0410-961f-82ee72b054a4
* ia64: Use pc_rtx to save the return address.rth2011-07-052-7/+14
| | | | | | | | | | | When actually emitting dwarf2, this now produces proper results. When emitting ia64 unwind info, this removes a hard-coded assumption. * config/ia64/ia64.c (ia64_expand_prologue): Use pc_rtx to indicate the return address save. (process_cfa_register): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175873 138bc75d-0d04-0410-961f-82ee72b054a4
* ia64: Remove ia64_dwarf2out_def_steady_cfa.rth2011-07-052-24/+3
| | | | | | | | | This defines nothing that we can't deduce already, so remove it. * config/ia64/ia64.c (ia64_dwarf2out_def_steady_cfa): Remove. (process_cfa_adjust_cfa, ia64_asm_unwind_emit): Don't call it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175872 138bc75d-0d04-0410-961f-82ee72b054a4
* ia64: Issue REG_CFA_REGISTER for ar.pfs at alloc insn.rth2011-07-052-1/+13
| | | | | | | * config/ia64/ia64.c (ia64_expand_prologue): Emit REG_CFA_REGISTER for ar.pfs save at alloc insn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175871 138bc75d-0d04-0410-961f-82ee72b054a4
* arm: Use REG_CFA_REGISTER instead of UNSPEC_STACK_ALIGN.rth2011-07-053-54/+73
| | | | | | | | | | | | | | | | This requires a bit of extra preparation in arm_unwind_emit, in order to handle the change for ARM unwinding. * config/arm/arm.c (arm_dwarf_handle_frame_unspec): Remove. (TARGET_DWARF_HANDLE_FRAME_UNSPEC): Remove. (arm_expand_prologue): Use REG_CFA_REGISTER to mark the stack pointer save. (arm_unwind_emit_set): Don't recognize UNSPEC_STACK_ALIGN. (arm_unwind_emit): Walk REG_NOTES for unwinding notes. Emit proper unwind info for a REG_CFA_REGISTER save of stack pointer. * config/arm/arm.md (UNSPEC_STACK_ALIGN): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175870 138bc75d-0d04-0410-961f-82ee72b054a4
* vax: Emit prologue as rtl.rth2011-07-054-28/+97
| | | | | | | | | | | | | | | | | | | | Not that there's much rtl to emit, since the CALL instruction interpreting the procedure entry mask does almost all the work. However, it means we're no longer emitting dwarf2 via the text-based entry points. * config/vax/vax.md (define_c_enum unspecv): New. Define the VUNSPEC_* constants here instead of via define_constants. (VUNSPEC_PEM): New constant. (procedure_entry_mask): New insn. (prologue): New expander. * config/vax/vax.c (vax_add_reg_cfa_offset): New. (vax_expand_prologue): Rename from vax_output_function_prologue; emit rtl instead of text. (TARGET_ASM_FUNCTION_PROLOGUE): Remove. (print_operand): Add 'x' prefix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175869 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.dg/rtti/anon-ns1.C: Allow for null-termination.jason2011-07-052-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175867 138bc75d-0d04-0410-961f-82ee72b054a4
* Promote the function argument before checking non-legitimate constant.hjl2011-07-052-6/+12
| | | | | | | | | | | 2011-07-05 H.J. Lu <hongjiu.lu@intel.com> PR middle-end/47715 * calls.c (precompute_register_parameters): Promote the function argument before checking non-legitimate constant. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175864 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix PR47654: Loop blocking should strip-mine at least two loops.spop2011-07-056-46/+83
| | | | | | | | | | | | | | | | | PR tree-optimization/47654 * graphite-blocking.c (pbb_strip_mine_time_depth): Do not return bool. (lst_do_strip_mine_loop): Return an int. (lst_do_strip_mine): Same. (scop_do_strip_mine): Same. (scop_do_block): Loop blocking should strip-mine at least two loops. * graphite-interchange.c (lst_interchange_select_outer): Return an int. (scop_do_interchange): Same. * graphite-poly.h (scop_do_interchange): Update declaration. (scop_do_strip_mine): Same. * gcc.dg/graphite/block-pr47654.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175861 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix computation of precision.spop2011-07-052-69/+15
| | | | | | | | * graphite-clast-to-gimple.c (precision_for_value): Removed. (precision_for_interval): Removed. (gcc_type_for_interval): Use mpz_sizeinbase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175860 138bc75d-0d04-0410-961f-82ee72b054a4
* Correct computation of max.spop2011-07-052-1/+6
| | | | | | * graphite-ppl.h (value_max): Correct computation of max. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175859 138bc75d-0d04-0410-961f-82ee72b054a4
* Correct typo.spop2011-07-052-1/+5
| | | | | | * graphite-clast-to-gimple.c (clast_name_to_index): Add missing space. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175858 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/49598jason2011-07-054-1/+23
| | | | | | * semantics.c (finish_id_expression): convert_from_reference. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175857 138bc75d-0d04-0410-961f-82ee72b054a4