- 23 Mar, 2011 20 commits
-
-
From-SVN: r171362
Ian Lance Taylor committed -
From-SVN: r171361
Ian Lance Taylor committed -
2011-03-23 Jonathan Wakely <jwakely.gcc@gmail.com> PR other/48179 PR other/48221 PR other/48234 * doc/extend.texi (Alignment): Move section to match order in TOC. * doc/invoke.texi (i386 and x86-64 Windows Options): Likewise. (Warning Options): Adjust -Wno-cpp summary and remove stray backslash. From-SVN: r171359
Jonathan Wakely committed -
* cfg.c (redirect_edge_succ_nodup): Duplicate the varm map before removing the edge. * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Do not use E after it may have been freed by redirect_branch_edge or redirect_edge_succ_nodup. From-SVN: r171356
Jeff Law committed -
2011-03-23 Richard Guenther <rguenther@suse.de> * tree-stdarg.c (va_list_counter_bump): Handle bumps via MEM_REF. (check_va_list_escapes): Likewise. (check_all_va_list_escapes): Likewise. From-SVN: r171353
Richard Guenther committed -
2011-03-23 Richard Guenther <rguenther@suse.de> * Makefile.in (IPA_TYPE_ESCAPE_H): Remove. (OBJS-archive): Remove ipa-struct-reorg.o and ipa-type-escape.o. (tree-ssa-alias.o): Do not depend on IPA_TYPE_ESCAPE_H. (alias.o): Likewise. (ipa-type-escape.o): Remove. (ipa-struct-reorg.o): Likewise. (GTFILES): Remove ipa-struct-reorg.c. * alias.c: Do not include ipa-type-escape.h. * tree-ssa-alias.c: Likewise. * common.opt (fipa-struct-reorg): Preserve for backward compatibility. * opts.c (finish_options): Do not reset flag_ipa_struct_reorg. * passes.c (init_optimization_passes): Remove ipa-struct-reorg and ipa-type-escape passes. * tree-pass.h (pass_ipa_type_escape): Remove. (pass_ipa_struct_reorg): Likewise. * ipa-struct-reorg.h: Remove. * ipa-struct-reorg.c: Likewise. * ipa-type-escape.h: Likewise. * ipa-type-escape.c: Likewise. * doc/invoke.texi (-fipa-struct-reorg): Remove. (--param struct-reorg-cold-struct-ratio): Likewise. * params.def (PARAM_STRUCT_REORG_COLD_STRUCT_RATIO): Likewise. * params.h (STRUCT_REORG_COLD_STRUCT_RATIO): Likewise. * timevar.def (TV_IPA_TYPE_ESCAPE): Likewise. * gcc.dg/struct: Remove directory and contents. From-SVN: r171352
Richard Guenther committed -
2010-03-23 Rafael Ávila de Espíndola <respindola@mozilla.com> * plugin-api.h (ld_plugin_get_view): New. (ld_plugin_tag): Add LDPT_GET_VIEW. (ld_plugin_tv): Add tv_get_view. From-SVN: r171351
Rafael Ávila de Espíndola committed -
2011-03-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/s390/2084.md: Enable all insn reservations also for z9_ec cpu attribute value. * config/s390/s390-opts.h (enum s390_arch_option): Remove. (enum processor_type): Add PROCESSOR_2094_Z9_EC. * config/s390/s390.c (processor_flags_table): New constant array. (s390_handle_arch_option): Remove. (s390_handle_option): Remove s390_handle_arch_option invocations and OPT_mwarn_framesize_ handling. (s390_option_override): Remove s390_handle_arch_option invocation. (s390_emit_prologue): Remove use of HOST_WIDE_INT_PRINT_DEC in warnings. * config/s390/s390.md (cpu attribute): Add z9_ec value. * config/s390/s390.opt (s390_tune, s390_arch) (march=): Replace s390_arch_option enum and values with processor_type. Set variable name to s390_arch. Set initialization value. (mtune=): Replace s390_arch_option with processor_type. Set variable name to s390_tune. Set initialization value. From-SVN: r171350
Andreas Krebbel committed -
* config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Regenerated. * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated. From-SVN: r171348
Jakub Jelinek committed -
expr.c (expand_expr_real_1): Only use BLKmode for volatile accesses which are not naturally aligned. * expr.c (expand_expr_real_1): Only use BLKmode for volatile accesses which are not naturally aligned. From-SVN: r171347
Julian Brown committed -
PR testsuite/48251 * g++.dg/guality/guality.exp: Disable on alpha*-dec-osf*. From-SVN: r171346
Rainer Orth committed -
* gcc-interface/trans.c (create_temporary): New function taken from... (create_init_temporary): ...here. Call it. (call_to_gnu): Create the temporary for the return value early, if any. Create it for a function with copy-in/copy-out parameters if there is no target; in other cases of copy-in/copy-out, use another temporary. Push the new binding level lazily. Add and rename local variables. From-SVN: r171345
Eric Botcazou committed -
gcc/ PR target/47553 * config/arm/predicates.md (neon_lane_number): Accept 0..15. gcc/testsuite/ PR target/47553 * gcc.target/arm/neon-vld-1.c: New test. From-SVN: r171344
Richard Sandiford committed -
* gcc-interface/decl.c (validate_size): Improve comments and tweak error message. (set_rm_size): Likewise. From-SVN: r171343
Eric Botcazou committed -
decl.c (gnat_to_gnu_entity): Create TYPE_DECL for the padded type built in order to support a specified... * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Create TYPE_DECL for the padded type built in order to support a specified alignment. Fix incorrect formatting. From-SVN: r171342
Eric Botcazou committed -
gcc/ * optabs.h (emit_unop_insn, maybe_emit_unop_insn): Change insn code parameter from "int" to "enum insn_code". (expand_operand_type): New enum. (expand_operand): New structure. (create_expand_operand): New function. (create_fixed_operand, create_output_operand): Likewise (create_input_operand, create_convert_operand_to): Likewise. (create_convert_operand_from, create_address_operand): Likewise. (create_integer_operand): Likewise. (create_convert_operand_from_type, maybe_legitimize_operands): Declare. (maybe_gen_insn, maybe_expand_insn, maybe_expand_jump_insn): Likewise. (expand_insn, expand_jump_insn): Likewise. * builtins.c (expand_builtin_prefetch): Use the new interfaces. (expand_builtin_interclass_mathfn, expand_builtin_strlen): Likewise. (expand_movstr, expand_builtin___clear_cache): Likewise. (expand_builtin_lock_release): Likewise. * explow.c (allocate_dynamic_stack_space): Likewise. (probe_stack_range): Likewise. Allow check_stack to FAIL, and use the default handling in that case. * expmed.c (check_predicate_volatile_ok): Delete. (store_bit_field_1, extract_bit_field_1): Use the new interfaces. (emit_cstore): Likewise. * expr.c (emit_block_move_via_movmem): Likewise. (set_storage_via_setmem, expand_assignment): Likewise. (emit_storent_insn, try_casesi): Likewise. (emit_single_push_insn): Likewise. Allow the expansion to fail. * optabs.c (expand_widen_pattern_expr, expand_ternary_op): Likewise. (expand_vec_shift_expr, expand_binop_directly): Likewise. (expand_twoval_unop, expand_twoval_binop): Likewise. (expand_unop_direct, emit_indirect_jump): Likewise. (emit_conditional_move, vector_compare_rtx): Likewise. (expand_vec_cond_expr, expand_val_compare_and_swap_1): Likewise. (expand_sync_operation, expand_sync_fetch_operation): Likewise. (expand_sync_lock_test_and_set): Likewise. (maybe_emit_unop_insn): Likewise. Change icode to an insn_code. (emit_unop_insn): Likewise. (expand_copysign_absneg): Change icode to an insn_code. (create_convert_operand_from_type): New function. (maybe_legitimize_operand, maybe_legitimize_operands): Likewise. (maybe_gen_insn, maybe_expand_insn, maybe_expand_jump_insn): Likewise. (expand_insn, expand_jump_insn): Likewise. * config/i386/i386.md (setmem<mode>): Use nonmemory_operand rather than const_int_operand for operand 2. From-SVN: r171341
Richard Sandiford committed -
2011-03-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * dwarf2out.c (const_ok_for_output_1): Print the unspec enum name if possible. From-SVN: r171340
Andreas Krebbel committed -
refactor emit_*_{after,before}_noloc using common functions * emit-rtl.c (emit_pattern_before_noloc): New function. (emit_insn_before_noloc, emit_jump_insn_before_noloc): Call it. (emit_call_insn_before_noloc, emit_debug_insn_before_noloc): Likewise. (emit_pattern_after_noloc): New function. (emit_insn_after_noloc, emit_jump_insn_after_noloc): Call it. (emit_call_insn_after_noloc, emit_debug_insn_after_noloc): Likewise. From-SVN: r171339
Nathan Froyd committed -
* libgcc2.c (__lshrdi3, __ashldi3, __ashrdi3): Use W_TYPE_SIZE. (__ffsDI2): Likewise. From-SVN: r171338
Nathan Froyd committed -
From-SVN: r171337
GCC Administrator committed
-
- 22 Mar, 2011 20 commits
-
-
From-SVN: r171331
Richard Henderson committed -
* config/s390/s390-opts.h: New. * config/s390/s390.c (s390_tune, s390_tune_flags, s390_arch, s390_arch_flags, s390_warn_framesize, s390_stack_size, s390_stack_guard): Remove. (s390_handle_arch_option): Return void. Take enum s390_arch_option value instead of string and searching array. (s390_handle_option): Don't assert that global structures are in use. Access variables via opts pointer. Use error_at. Don't use sscanf for -mstack-guard= or -mstack-size=. Update call to s390_handle_arch_option. (s390_option_override): Update call to s390_handle_arch_option. (s390_emit_prologue): Use %d format for s390_stack_size in diagnostic. Use %wd for HOST_WIDE_INT. * config/s390/s390.h (enum processor_type): Move to s390-opts.h. (s390_tune, s390_tune_flags, s390_arch, s390_arch_flags): Remove. * config/s390/s390.opt (config/s390/s390-opts.h): New HeaderInclude entry. (s390_arch_string, s390_tune, s390_tune_flags, s390_arch, s390_arch_flags, s390_warn_framesize): New Variable entries. (s390_arch_option): New Enum and EnumValue entries. (march=): Use Enum instead of Var. (mstack-guard=, mstack-size=): Use UInteger and Var. (mtune=): Use Enum. From-SVN: r171330
Joseph Myers committed -
* config/score/score.c (score_handle_option): Don't assert that global structures are in use. Access target_flags via opts pointer. Use value of -march= option to determine target_flags settings. * config/score/score.opt (march=): Use Enum. (score_arch): New Enum and EnumValue entries. From-SVN: r171329
Joseph Myers committed -
* config/mep/mep.c (option_mtiny_specified): Remove. (mep_option_override): Move register handling for -mivc2 from mep_handle_option. Use global_options_set.x_mep_tiny_cutoff instead of option_mtiny_specified. (mep_handle_option): Access target_flags via opts pointer. Don't assert that global structures are in use. Defer part of -mivc2 handling and move it to mep_option_override. * config/mep/mep.opt (IVC2): New Mask entry. (mivc2): Use Var and Defer instead of Mask. From-SVN: r171328
Joseph Myers committed -
* config/v850/v850-opts.h: New. * config/v850/v850.c (small_memory): Replace with small_memory_physical_max array. Make that array static const. (v850_handle_memory_option): Take integer value of argument. Take gcc_options pointer, option text and location. Return void. Update for changes to small memory structures. (v850_handle_option): Access target_flags via opts pointer. Don't assert that global structures are in use. Update calls to v850_handle_memory_option. (v850_encode_data_area): Update references to small memory settings. * config/v850/v850.h (struct small_memory_info, small_memory): Remove. (enum small_memory_type): Move to v850-opts.h. * config/v850/v850.opt (config/v850/v850-opts.h): New HeaderInclude entry. (small_memory_max): New Variable entry. (msda): Replace by pair of options msda= and msda-. Use UInteger. (mtda, mzda): Likewise. From-SVN: r171327
Joseph Myers committed -
* config/sh/sh.c (sh_handle_option): Access target_flags via opts pointer. Don't assert that global structures are in use. From-SVN: r171326
Joseph Myers committed -
* config/pdp11/pdp11.c (pdp11_handle_option): Access target_flags via opts pointer. Don't assert that global structures are in use. From-SVN: r171325
Joseph Myers committed -
* config/pa/pa-hpux.opt (flag_pa_unix): New Variable entry. (munix=93): Use Var. * config/pa/pa-hpux1010.opt (munix=95): Use Var. * config/pa/pa-hpux1111.opt (munix=98): Use Var. * config/pa/pa-opts.h: New. * config/pa/pa.c (pa_cpu, flag_pa_unix): Remove. (pa_handle_option): Don't assert that global structures are in use. Access target_flags via opts pointer. Don't handle OPT_mschedule_, OPT_mfixed_range_, OPT_munix_93, OPT_munix_95 or OPT_munix_98 here. (pa_option_override): Handle deferred OPT_mfixed_range_. From-SVN: r171324
Joseph Myers committed -
* config/mn10300/mn10300-opts.h: New. * config/mn10300/mn10300.c (mn10300_processor, mn10300_tune_string): Remove. (mn10300_handle_option): Don't assert that global structures are in use. Access mn10300_processor via opts pointer. Don't handle OPT_mtune_ here. * config/mn10300/mn10300.h (enum processor_type): Move to mn10300-opts.h. (mn10300_processor): Remove. * config/mn10300/mn10300.opt (config/mn10300/mn10300-opts.h): New HeaderInclude entry. (mn10300_processor): New Variable entry. (mtune=): Use Var. From-SVN: r171323
Joseph Myers committed -
* config/microblaze/microblaze.c: Don't include opts.h. (microblaze_handle_option, TARGET_HANDLE_OPTION): Remove. * config/microblaze/microblaze.opt (mxl-stack-check): Use Warn. (mno-clearbss): Use Var and Warn. From-SVN: r171322
Joseph Myers committed -
* config/m32r/m32r-opts.h: New. * config/m32r/m32r.c (m32r_model, m32r_sdata): Remove. (m32r_handle_option): Don't assert that global structures are in use. Access target_flags and m32r_cache_flush_func via opts pointer. Don't handle OPT_mmodel_, OPT_msdata_ or OPT_mno_flush_trap here. * config/m32r/m32r.h (Code Models, Small Data Area): Replace by include of m32r-opts.h. * config/m32r/m32r.opt (config/m32r/m32r-opts.h): New HeaderInclude entry. (m32r_model_selected, m32r_sdata_selected): New Variable entries. (mmodel=): Use Enum and Var. (m32r_model): New Enum and EnumValue entries. (mno-flush-trap): Use Var. (msdata=): Use Enum and Var. (m32r_sdata): New Enum and EnumValue entries. From-SVN: r171321
Joseph Myers committed -
* config/m32c/m32c.c: Don't include opts.h. (target_memregs, target_memregs_set, TARGET_HANDLE_OPTION, m32c_handle_option): Remove. (m32c_option_override): Check global_options_set.x_target_memregs instead of target_memregs_set. * config/m32c/m32c.h (target_memregs): Remove. * config/m32c/m32c.opt (memregs=): Use UInteger with integer variable. From-SVN: r171320
Joseph Myers committed -
* config/iq2000/iq2000-opts.h: New. * config/iq2000/iq2000.c: Don't include opts.h. (iq2000_tune, iq2000_handle_option, TARGET_HANDLE_OPTION): Remove. * config/iq2000/iq2000.h (enum processor_type, iq2000_tune): Remove. * config/iq2000/iq2000.opt (config/iq2000/iq2000-opts.h): New HeaderInclude entry. (iq2000_tune): New Variable entry. (march=): Add comment. Use Enum. (iq2000_arch): New Enum and EnumValue entries. (mcpu=): Use Enum and Var. (iq2000_tune): New Enum and EnumValue entries. From-SVN: r171318
Joseph Myers committed -
* config/ia64/ia64-opts.h: New. * config/ia64/ia64.c (ia64_tune): Remove. (ia64_handle_option): Don't handle OPT_mfixed_range_ or OPT_mtune_ here. Use error_at. (ia64_option_override): Handle deferred OPT_mfixed_range_. * config/ia64/ia64.h (enum processor_type, ia64_tune): Remove. * config/ia64/ia64.opt (config/ia64/ia64-opts.h): New HeaderInclude entry. (ia64_tune): New Variable entry. (mfixed-range=): Use Defer and Var. (mtune=): Use Enum and Var. (ia64_tune): New Enum and EnumValue entries. From-SVN: r171317
Joseph Myers committed -
* config/frv/frv-opts.h: New. * config/frv/frv-protos.h (enum frv_cpu, frv_cpu_t): Move to frv-opts.h. (frv_cpu_type): Remove. * config/frv/frv.c: Don't include opts.h. (frv_cpu_type, frv_handle_option, TARGET_HANDLE_OPTION): Remove. * config/frv/frv.opt (config/frv/frv-opts.h): New HeaderInclude entry. (frv_cpu_type): New Variable entry. (frv_cpu): New Enum and EnumValue entries. From-SVN: r171316
Joseph Myers committed -
* config/cris/cris.c (cris_handle_option): Access target_flags via opts pointer. Don't assert that global structures are in use. Don't call CRIS_SUBTARGET_HANDLE_OPTION. * config/cris/cris.h (CRIS_SUBTARGET_HANDLE_OPTION): Don't define. From-SVN: r171315
Joseph Myers committed -
* config/bfin/bfin-opts.h: New. * config/bfin/bfin.c (bfin_lib_id_given, bfin_cpu_type, bfin_si_revision, bfin_workarounds): Remove. (bfin_cpus): Make static const. (bfin_load_pic_reg): Check global_options_set.x_bfin_library_id not bfin_lib_id_given. (bfin_handle_option): Don't set bfin_lib_id_given. Access bfin_cpu_type, bfin_si_revision and bfin_workarounds via opts pointer. Use error_at. Don't assert that global structures are in use. * config/bfin/bfin.h: Include bfin-opts.h. (enum bfin_cpu_type, bfin_cpu_t): Move to bfin-opts.h. (bfin_cpu_type, bfin_si_revision, bfin_workarounds): Remove. * bfin.opt (config/bfin/bfin-opts.h): New HeaderInclude entry. (bfin_cpu_type, bfin_si_revision, bfin_workarounds): New Variable entries. From-SVN: r171314
Joseph Myers committed -
* config/arm/arm.opt (mhard-float, msoft-float): Use Alias. * config/arm/arm.c (arm_handle_option): Don't handle -mhard-float or -msoft-float here. * config/arm/arm.h (CPP_SPEC): Handle -mfloat-abi=*, not -msoft-float and -mhard-float. (OPTION_DEFAULT_SPECS): Don't handle -mhard-float and -msoft-float. * config/arm/coff.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not msoft-float. * config/arm/elf.h (ASM_SPEC): Don't handle -mhard-float and -msoft-float. (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not msoft-float. * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Use mfloat-abi=hard, not mhard-float. (LIBGCC_SPEC): Don't handle -msoft-float. * config/arm/netbsd-elf.h (SUBTARGET_ASM_FLOAT_SPEC): Don't handle -mhard-float. * config/arm/pe.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not msoft-float. * config/arm/rtems-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Handle -mfloat-abi=*, not -msoft-float and -mhard-float. * config/arm/semi.h((ASM_SPEC): Don't handle -mhard-float and -msoft-float. * config/arm/t-arm-elf (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Use mfloat-abi=hard and mfloat-abi=soft in comments, not mhard-float and msoft-float. * config/arm/t-linux (MULTILIB_OPTIONS): Use mfloat-abi=hard and mfloat-abi=soft in comments, not mhard-float and msoft-float. * config/arm/t-rtems (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Use mfloat-abi=soft and mfloat-abi=hard, not msoft-float and mhard-float. * config/arm/t-strongarm-elf (MULTILIB_OPTIONS): Use mfloat-abi=hard and mfloat-abi=soft, not mhard-float and msoft-float. * config/arm/t-wince-pe (MULTILIB_OPTIONS): Use mfloat-abi=hard, not mhard-float. * config/arm/wince-pe.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not msoft-float. From-SVN: r171313
Joseph Myers committed -
From-SVN: r171312
Richard Henderson committed -
* config/alpha/alpha.c (alpha_handle_option): Access target_flags via opts pointer. Use error_at. Don't assert that global structures are in use. From-SVN: r171311
Joseph Myers committed
-