aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2011-04-02lang.opt (feliminate-unused-debug-types): Delete.Eric Botcazou3-25/+9
* gcc-interface/lang.opt (feliminate-unused-debug-types): Delete. * gcc-interface/misc.c (gnat_handle_option): Remove special handling code for -feliminate-unused-debug-types (gnat_post_options): Likewise. From-SVN: r171886
2011-04-02utils.c (gnat_pushdecl): If this is a non-artificial declaration of a ↵Eric Botcazou2-2/+12
pointer type... * gcc-interface/utils.c (gnat_pushdecl): If this is a non-artificial declaration of a pointer type, then set DECL_ORIGINAL_TYPE to a distinct copy. From-SVN: r171885
2011-04-02decl.c (gnat_to_gnu_entity): Do not force the DECL_ARTIFICIAL flag on ↵Eric Botcazou2-3/+6
enumeration types. * gcc-interface/decl.c (gnat_to_gnu_entity): Do not force the DECL_ARTIFICIAL flag on enumeration types. From-SVN: r171884
2011-04-02decl.c (gnat_to_gnu_entity): Do not make fat pointer types artificial ↵Eric Botcazou2-9/+27
unconditionally. * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Do not make fat pointer types artificial unconditionally. <E_Array_Subtype>: Attach the base array type as a parallel type if it isn't artificial. From-SVN: r171883
2011-04-02gigi.h (get_dummy_type): Declare.Eric Botcazou4-174/+188
* gcc-interface/gigi.h (get_dummy_type): Declare. (build_dummy_unc_pointer_types): Likewise. (finish_fat_pointer_type): Likewise. * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: If a dummy fat pointer type has been built, complete it in place. <E_Access_Type>: Call build_dummy_unc_pointer_types to build dummy fat and thin pointers. Remove useless variable. (finish_fat_pointer_type): Make global and move to... * gcc-interface/utils.c (finish_fat_pointer_type): ...here. (get_dummy_type): New function. (build_dummy_unc_pointer_types): Likewise. (gnat_pushdecl): Propage the name to the anonymous variants only. (update_pointer_to): Only adjust the pointer types in the unconstrained array case. From-SVN: r171882
2011-04-02ada-tree.h (DECL_TAFT_TYPE_P): New flag.Eric Botcazou5-10/+63
* gcc-interface/ada-tree.h (DECL_TAFT_TYPE_P): New flag. * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Incomplete_Type>: Set it if this is a Taft amendment type and the full declaration is available. * gcc-interface/trans.c (process_type): Likewise. If there is an old type, mark the new one as used if DECL_TAFT_TYPE_P. (process_freeze_entity): Likewise. * gcc-interface/utils.c (dummy_global): New static variable. (gnat_write_global_declarations): If there are types declared as used at the global level, insert them in the global hash table. From-SVN: r171881
2011-04-02gigi.h (record_builtin_type): Add ARTIFICIAL_P param.Eric Botcazou4-13/+38
* gcc-interface/gigi.h (record_builtin_type): Add ARTIFICIAL_P param. * gcc-interface/utils.c (gnat_pushdecl): If this is a non-artificial declaration of an array type, then set DECL_ORIGINAL_TYPE to a distinct copy. (record_builtin_type): Add ARTIFICIAL_P parameter. Set DECL_ARTIFICIAL flag of the type accordingly. * gcc-interface/trans.c (gigi): Adjust calls to record_builtin_type. From-SVN: r171880
2011-04-02decl.c (gnat_to_gnu_entity): Defer finalizing types when updating the ↵Eric Botcazou2-47/+55
pointers to the designated type. * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Access_Type>: Defer finalizing types when updating the pointers to the designated type. <all>: Finalize the deferred types even if we didn't defer processing of incomplete types in this invocation. From-SVN: r171879
2011-04-02Daily bump.GCC Administrator1-1/+1
From-SVN: r171867
2011-04-01dwarf2out.c (dwarf_attr_name): Map DW_AT_GNAT_descriptive_type.Olivier Hainque6-6/+90
* dwarf2out.c (dwarf_attr_name): Map DW_AT_GNAT_descriptive_type. (add_gnat_descriptive_type_attribute): New function. (gen_array_type_die): Call it. (gen_enumeration_type_die): Likewise. (gen_struct_or_union_type_die): Likewise. (modified_type_die): Likewise. * langhooks.h (lang_hooks_for_types): New descriptive_type hook. * langhooks-def.h (LANG_HOOKS_DESCRIPTIVE_TYPE): Default to NULL. (LANG_HOOKS_FOR_TYPES_INITIALIZER): Add LANG_HOOKS_DESCRIPTIVE_TYPE. ada/ * gcc-interface/misc.c (gnat_descriptive_type): New function. (LANG_HOOKS_DESCRIPTIVE_TYPE): Redefine to gnat_descriptive_type. Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com> Co-Authored-By: Nicolas Setton <setton@adacore.com> From-SVN: r171862
2011-04-01* go.test/go-test.exp (go-set-goarch): Recognize alpha*-*-*.Uros Bizjak2-0/+7
From-SVN: r171861
2011-04-01re PR bootstrap/48148 (LTO bootstrap failed with bootstrap-profiled)Jakub Jelinek3-4/+18
PR bootstrap/48148 * dwarf2out.c (resolve_addr): Don't call force_decl_die if DECL_EXTERNAL has non-NULL DECL_ABSTRACT_ORIGIN. Revert: 2011-03-17 Richard Guenther <rguenther@suse.de> PR bootstrap/48148 * lto-cgraph.c (input_overwrite_node): Clear the abstract origin for decls in other ltrans units. (input_varpool_node): Likewise. From-SVN: r171856
2011-04-01re PR middle-end/48335 (ICE in convert_move)Jakub Jelinek14-22/+514
PR middle-end/48335 * expr.c (expand_assignment): Handle all possibilities if TO_RTX is CONCAT. * expmed.c (store_bit_field_1): Avoid trying to create invalid SUBREGs. (store_split_bit_field): If SUBREG_REG (op0) or op0 itself has smaller mode than word, return it for offset 0 and const0_rtx for out-of-bounds stores. If word is const0_rtx, skip it. * gcc.c-torture/compile/pr48335-1.c: New test. * gcc.dg/pr48335-1.c: New test. * gcc.dg/pr48335-2.c: New test. * gcc.dg/pr48335-3.c: New test. * gcc.dg/pr48335-4.c: New test. * gcc.dg/pr48335-5.c: New test. * gcc.dg/pr48335-6.c: New test. * gcc.dg/pr48335-7.c: New test. * gcc.dg/pr48335-8.c: New test. * gcc.target/i386/pr48335-1.c: New test. From-SVN: r171855
2011-04-02h8300.c (print_operand_address): Rename to...Naveen H.S4-40/+74
* config/h8300/h8300.c (print_operand_address): Rename to... (h8300_print_operand_address): ...this. Make static. Adjust comments. Call h8300_print_operand and h8300_print_operand_address instead of print_operand and print_operand_address. Declare. (print_operand): Renake to... (h8300_print_operand): ...this. Make static. Adjust comments. Call h8300_print_operand instead of print_operand. Declare. (h8300_print_operand_punct_valid_p): Moved from h8300.h file. (h8300_register_move_cost): Likewise. (TARGET_PRINT_OPERAND_PUNCT_VALID_P, TARGET_PRINT_OPERAND TARGET_PRINT_OPERAND_ADDRESS, TARGET_REGISTER_MOVE_COST): Define. * config/h8300/h8300.h (PRINT_OPERAND_ADDRESS, PRINT_OPERAND PRINT_OPERAND_PUNCT_VALID_P, REGISTER_MOVE_COST): Delete. * config/h8300/h8300-protos.h (print_operand): Delete. (print_operand_address): Delete. From-SVN: r171853
2011-04-01re PR bootstrap/48400 (powerpc-apple-darwin9 fails to bootstrap at revision ↵Richard Henderson2-5/+31
171824) PR 48400 * dwarf2out.c (dwarf2out_source_line): Disable discriminators in strict mode before dwarf4. Re-order tests to early out before switching sections. From-SVN: r171852
2011-04-01constraints.md: New file.Nathan Froyd6-273/+261
* config/h8300/constraints.md: New file. * config/h8300/h8300.md: Include it. Use satisfies_constraint_J, satisfies_constraint_L, and satisfies_constraint_N for peephole2s. (*tst_extzv_1_n, *tstsi_variable_bit_qi): Use satisfies_constraint_U. * config/h8300/predicates.md (bit_operand): Likewise. (incdec_operand): Use satisfies_constraint_M and satisfies_constraint_O. Don't use C code block. * config/h8300/h8300-protos.h (h8300_reg_class_from_letter): Delete. * config/h8300/h8300.c (h8300_reg_class_from_letter): Delete. (compute_mov_length): Use satisfies_constraint_G. (fix_bit_operand): Use satisfies_constraint_U. * config/h8300/h8300.h (REG_CLASS_FROM_LETTER): Delete. (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_L): Delete. (CONST_OK_FOR_M, CONST_OK_FOR_N, CONST_OK_FOR_O): Delete. (CONST_OK_FOR_Ppositive, CONST_OK_FOR_Pnegative): Delete. (CONST_OK_FOR_P, CONSTRAINT_LEN_FOR_P): Delete. (CONST_OK_FOR_CONSTRAINT_P, CONST_OK_FOR_LETTER_P): Delete. (CONST_DOUBLE_OK_FOR_LETTER_P): Delete. (OK_FOR_Q, OK_FOR_R, OK_FOR_S, OK_FOR_T, OK_FOR_U, OK_FOR_WU): Delete. (OK_FOR_W, CONSTRAINT_LEN_FOR_W, OK_FOR_Y2, OK_FOR_Y0): Delete. (OK_FOR_Y, CONSTRAINT_LEN_FOR_Y, OK_FOR_Z): Delete. (EXTRA_CONSTRAINT_STR, CONSTRAINT_LEN): Delete. (EXTRA_MEMORY_CONSTRAINT): Delete. From-SVN: r171851
2011-04-012011-04-01 Vincent Lefevre <vincent+gcc@vinc17.org>Vincent Lefevre2-0/+15
PR c/36299 * gcc.dg/Waddress.c: New test. From-SVN: r171850
2011-04-01re PR fortran/48352 (segfault in fortran/frontend-passes.c)Thomas Koenig4-1/+28
2011-04-01 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/48352 * frontend-passes (cfe_register_funcs): Don't register functions if they appear as iterators in DO loops. 2011-04-01 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/48352 * gfortran.dg/function_optimize_3.f90: New test. From-SVN: r171849
2011-04-01Fix 48262Andrew Pinski3-10/+23
Co-Authored-By: Michael Meissner <meissner@linux.vnet.ibm.com> From-SVN: r171847
2011-04-01Don't add DW_AT_low_pc if the CU has no associated code.Mark Wielaard2-12/+25
* dwarf2out.c (dwarf2out_finish): Don't add low_pc and/or high_pc attribute if the CU has no associated code. Only output DW_AT_entry_pc for CU if not generating strict dwarf and dwarf_version < 4. From-SVN: r171846
2011-04-01haifa-sched.c (prune_ready_list): New function, broken out of schedule_block.Bernd Schmidt2-47/+72
* haifa-sched.c (prune_ready_list): New function, broken out of schedule_block. (schedule_block): Use it. From-SVN: r171845
2011-04-0120091002-1_0.C: Use "dg-require-effective-target fpic".Bernd Schmidt27-0/+53
* g++.dg/lto/20091002-1_0.C: Use "dg-require-effective-target fpic". * g++.dg/lto/20091002-2_0.C: Likewise. * g++.dg/lto/20090303_0.c: Likewise. * g++.dg/lto/20091004-1_0.C: Likewise. * g++.dg/lto/20091002-3_0.C: Likewise. * g++.dg/lto/20091004-2_0.C: Likewise. * g++.dg/lto/20081123_0.C: Likewise. * g++.dg/lto/20090313_0.C: Likewise. * g++.dg/lto/20081109-1_0.C: Likewise. * g++.dg/lto/20081219_0.C: Likewise. * g++.dg/lto/20081204-1_0.C: Likewise. * g++.dg/lto/20090302_0.C: Likewise. * g++.dg/lto/20081119-1_0.C: Likewise. * g++.dg/lto/20081118_0.C: Likewise. * gcc.dg/lto/20091020-2_0.c: Likewise. * gcc.dg/lto/20090210_0.c: Likewise. * gcc.dg/lto/20081204-1_0.c: Likewise. * gcc.dg/lto/20081224_0.c: Likewise. * gcc.dg/lto/20090219_0.c: Likewise. * gcc.dg/lto/20091014-1_0.c: Likewise. * gcc.dg/lto/20091016-1_0.c: Likewise. * gcc.dg/lto/20090206-2_0.c: Likewise. * gcc.dg/lto/20090116_0.c: Likewise. * gcc.dg/lto/20091013-1_0.c: Likewise. * gcc.dg/lto/20091015-1_0.c: Likewise. * gcc.dg/lto/20090126-2_0.c: Likewise. From-SVN: r171844
2011-04-01sched-ebb.c (begin_schedule_ready): Remove second argument.Bernd Schmidt7-83/+101
* sched-ebb.c (begin_schedule_ready): Remove second argument. Split most of the code into... (begin_move_insn): ... here. New function. (ebb_sched_info): Add a pointer to it. * haifa-sched.c (scheduled_insns): New static variable. (sched_extend_ready_list): Allocate it. (schedule_block): Use it to record the order of scheduled insns. Perform RTL changes to move insns only after all scheduling decisions have been made. * modulo-sched.c (sms_sched_haifa_sched_info): Add NULL entry for the begin_move_insn field. * sel-sched-ir.c (sched_sel_haifa_sched_info): Likewise. * sched-int.h (struct haifa_sched_info): Remove second argument from begin_schedule_ready hook. Add new member begin_move_insn. * sched-rgn.c (begin_schedule_ready): Remove second argument. (rgn_const_sched_info): Add NULL entry for the begin_move_insn field. From-SVN: r171843
2011-04-01* sched-ebb.c (schedule_ebbs): Honor the BB_DISABLE_SCHEDULE flag.Bernd Schmidt2-2/+9
From-SVN: r171842
2011-04-01haifa-sched.c (queue_insn): New arg REASON.Bernd Schmidt2-12/+12
* haifa-sched.c (queue_insn): New arg REASON. All callers changed. Print it in debugging output. From-SVN: r171841
2011-04-01ifcvt.c (cond_exec_process_insns): Disallow converting a block that contains ↵Bernd Schmidt4-1/+35
the prologue. * ifcvt.c (cond_exec_process_insns): Disallow converting a block that contains the prologue. * gcc.c-torture/compile/20110401-1.c: New test. From-SVN: r171840
2011-04-01dwarf2out.h (dwarf2out_frame_debug_init): Declare.Bernd Schmidt4-34/+46
* dwarf2out.h (dwarf2out_frame_debug_init): Declare. * dwarf2out.c (dwarf2out_frame_debug_init): New function, broken out of ... (dwarf2out_frame_debug): ... here. Don't handle a NULL argument. * final.c (final_start_function): Call the new function rather than using a NULL argument for dwarf2out_frame_debug. From-SVN: r171839
2011-04-01* config/spu/t-spu-elf (dp-bit.c): Use > instead of >>.Ulrich Weigand2-2/+7
From-SVN: r171837
2011-04-01And last the ChangeLogKai Tietz1-0/+24
From-SVN: r171836
2011-04-01Missing new files from previous patch.Kai Tietz2-0/+23
From-SVN: r171834
2011-04-01config.gcc (*-*-mingw*): Allow as option the posix threading model.Kai Tietz7-13/+60
2011-04-01 Kai Tietz <ktietz@redhat.com> * config.gcc (*-*-mingw*): Allow as option the posix threading model. * config/i386/mingw32.h ( SPEC_PTHREAD1, SPEC_PTHREAD2): New macros defined dependent to TARGET_USE_PTHREAD_BY_DEFAULT definition. (CPP_SPEC): Add pthread/no-pthread handling. (LIB_SPEC): Likewise. * config/i386/mingw-w64.h (CPP_SPEC):Likewise. (LIB_SPEC): Likewise. * config/i386/t-cygming (SHLIB_PTHREAD_CFLAG): New flag to pass -pthread option for shared libgcc build. (SHLIB_PTHREAD_LDFLAG): New option to pass -lpthread for shared libgcc build. * config/i386/t-mingw-pthread: New file. * config/i386/mingw-pthread.h (TARGET_USE_PTHREAD_BY_DEFAULT): New define to enable use of library pthread by default. * config/i386/mingw.opt (pthread): New driver option. (no-pthread): New driver option. * config/i386/cygming.opt: Make sure trailing empty line is retained. * config/i386/mingw-w64.opt: Likewise. From-SVN: r171833
2011-04-01c-decl.c (grokdeclarator): Fix formatting.Gary Funck2-2/+6
2011-04-01 Gary Funck <gary@intrepid.com> * c-decl.c (grokdeclarator): Fix formatting. From-SVN: r171831
2011-04-01expr.c (emit_block_move_via_movmem): Use n_generator_args instead of n_operands.Richard Sandiford6-23/+22
gcc/ * expr.c (emit_block_move_via_movmem): Use n_generator_args instead of n_operands. (set_storage_via_setmem): Likewise. * optabs.c (maybe_gen_insn): Likewise. * config/arm/arm.c (arm_init_neon_builtins): Likewise. * config/mips/mips.c (mips_expand_builtin_compare_1): Likewise. (mips_expand_builtin_direct): Likewise. * config/spu/spu.c (expand_builtin_args): Likewise. From-SVN: r171823
2011-04-01recog.h (insn_data_d): Add n_generator_args.Richard Sandiford3-35/+34
gcc/ * recog.h (insn_data_d): Add n_generator_args. * genoutput.c (data): Likewise. (output_insn_data): Print it. (max_opno, num_dups): Delete. (scan_operands): Just fill in "d->operand[...]". (gen_insn, gen_peephole, gen_expand, gen_split): Use get_pattern_stats. From-SVN: r171822
2011-04-01gensupport.h (pattern_stats): New structure.Richard Sandiford4-86/+138
gcc/ * gensupport.h (pattern_stats): New structure. * gensupport.c (get_pattern_stats_1, get_pattern_stats): New functions. * genemit.c (max_opno, max_dupno, max_scratch_opno): Delete. (max_operand_1, max_operand_vec): Delete. (gen_insn, gen_expand, gen_split): Use get_pattern_stats. From-SVN: r171821
2011-04-01emit-rtl.c (emit_pattern_after_setloc): New function.Nathan Froyd2-167/+118
* emit-rtl.c (emit_pattern_after_setloc): New function. (emit_insn_after_setloc, emit_jump_insn_after_setloc): Call it. (emit_call_insn_after_setloc, emit_debug_insn_after_setloc): Likewise. (emit_pattern_after): New function. (emit_insn_after, emit_jump_insn_after): Call it. (emit_call_insn_after, emit_debug_insn_after): Likewise. (emit_pattern_before_setloc): New function. (emit_insn_before_setloc, emit_jump_insn_before_setloc): Call it. (emit_call_insn_before_setloc, emit_debug_insn_before_setloc): Likewise. (emit_pattern_before): New function. (emit_insn_before, emit_jump_insn_before): Call it. (emit_call_insn_before, emit_debug_insn_before): Likewise. From-SVN: r171817
2011-03-31dwarf2out.c (dw_separate_line_info_ref): Remove.Richard Henderson2-399/+369
* dwarf2out.c (dw_separate_line_info_ref): Remove. (dw_separate_line_info_entry): Remove. (enum dw_line_info_opcode): New. (dw_line_info_entry): Use it. (dw_line_info_table, dw_line_info_table_p): New. (DWARF_LINE_OPCODE_BASE): Include dwarf3 opcodes. (line_info_table, line_info_label_num): Remove. (line_info_table_in_use): Remove. (separate_line_info_table): Remove. (separate_line_info_table_allocated): Remove. (separate_line_info_table_in_use): Remove. (LINE_INFO_TABLE_INCREMENT): Remove. (line_info_label_num): New. (cur_line_info_table): New. (text_section_line_info, cold_text_section_line_info): New. (separate_line_info): New. (SEPARATE_LINE_CODE_LABEL): Remove. (print_dwarf_line_table): Remove. (debug_dwarf): Don't dump it. (output_one_line_info_table): New. (output_line_info): Use it. (new_line_info_table): New. (set_cur_line_info_table): New. (dwarf2out_switch_text_section): Use it. (dwarf2out_begin_function): Likewise. (push_dw_line_info_entry): New. (dwarf2out_source_line): Rewrite for new line info tables. (dwarf2out_init): Remove dead initailizations. From-SVN: r171816
2011-04-01* go.test/go-test.exp (go-set-goarch): Recognize MIPS ABIs.Ian Lance Taylor2-0/+34
From-SVN: r171814
2011-04-01Daily bump.GCC Administrator1-1/+1
From-SVN: r171813
2011-03-31opts.h (cl_option): Add comments to fields.Joseph Myers8-60/+133
* opts.h (cl_option): Add comments to fields. Add bit-fields for various flags. (CL_SEPARATE_NARGS_SHIFT, CL_SEPARATE_NARGS_MASK, CL_SEPARATE_ALIAS, CL_NO_DRIVER_ARG, CL_REJECT_DRIVER, CL_SAVE, CL_DISABLED, CL_REPOR, CL_REJECT_NEGATIVE, CL_MISSING_OK, CL_UINTEGER, CL_NEGATIVE_ALIAS): Remove. (CL_JOINED, CL_SEPARATE, CL_UNDOCUMENTED): Update bit positions. * opt-functions.awk (flag_init, switch_bit_fields): New. (switch_flags): Don't handle flags moved to bit-fields. Don't generate CL_MISSING_OK or CL_SAVE. * optc-gen.awk: Update to generate bit-field output as well as flags field. * gcc.c (driver_wrong_lang_callback): Use cl_reject_driver bit-field instead of CL_REJECT_DRIVER flag. * opts-common.c (generate_canonical_option, decode_cmdline_option): Use bit-fields instead of CL_* flags. * opts.c (maybe_default_option): Use cl_reject_negative bit-field instead of CL_REJECT_NEGATIVE flag. * toplev.c (print_switch_values): Use cl_report bit-field instead of CL_REPORT flag. From-SVN: r171804
2011-03-31re PR c++/48277 (ICE for g++.dg/ext/altivec-cell-1.C on powerpc*-*-*)Jason Merrill2-6/+3
PR c++/48277 * semantics.c (finish_call_expr): Remove assert. From-SVN: r171801
2011-03-31tree-ssa-pre.c (create_component_ref_by_pieces_1): Drop a zero minimum index ↵Eric Botcazou4-2/+47
only if it is redundant. * tree-ssa-pre.c (create_component_ref_by_pieces_1) <ARRAY_REF>: Drop a zero minimum index only if it is redundant. From-SVN: r171800
2011-03-31re PR c++/48280 ([C++0x] ICE: tree check: expected var_decl or ↵Jason Merrill4-0/+19
function_decl, have template_decl in check_bases_and_members, at cp/class.c:4695) PR c++/48280 * method.c (defaultable_fn_check): Templates are not defaultable. From-SVN: r171797
2011-03-31parser.c (cp_parser_init_declarator): Avoid redundant cp_finish_decl for ↵Jason Merrill2-2/+7
member declarations. * parser.c (cp_parser_init_declarator): Avoid redundant cp_finish_decl for member declarations. From-SVN: r171796
2011-03-31re PR rtl-optimization/48381 (internal compiler error: in check_allocation, ↵Vladimir Makarov2-1/+10
at ira.c:2094) 2011-03-31 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/48381 * ira-color.c (assign_hard_reg): Use hard reg set intersection instead of ira_class_hard_reg_index for calculating conflicting hard registers. From-SVN: r171795
2011-03-31cprop.c: Clean up hash table building.Steven Bosscher2-175/+61
* cprop.c: Clean up hash table building. (reg_avail_info): Remove. (oprs_available_p): Remove. (record_last_reg_set_info): Remove. (record_last_set_info): Remove. (reg_available_p): New function. (gcse_constant_p): Do not treat unfolded conditions as constants. (make_set_regs_unavailable): New function. (hash_scan_set): Simplify with new reg_available_p. (compute_hash_table_work): Traverse insns stream only once. Do not compute reg_avail_info. Traverse insns in reverse order. Record implicit sets after recording explicit sets from the block. From-SVN: r171794
2011-03-31Taking a slice of an array requires moving the array to the heap.Ian Lance Taylor1-4/+7
From-SVN: r171792
2011-03-31builtins.c (build_va_arg_indirect_ref): Use build_simple_mem_ref_loc.Michael Matz2-1/+6
* builtins.c (build_va_arg_indirect_ref): Use build_simple_mem_ref_loc. From-SVN: r171789
2011-03-31reload1.c (elimination_effects): Fix typo in recent change.Jeff Law2-1/+3
* reload1.c (elimination_effects): Fix typo in recent change. From-SVN: r171788
2011-03-31h8300.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove macro.Anatoly Sokolov4-14/+29
* config/h8300/h8300.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove macro. * config/h8300/h8300-protos.h (h8300_get_index): Remove. * config/h8300/h8300.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. (h8300_mode_dependent_address_p): New function. (h8300_get_index): Make static. From-SVN: r171787