- 22 Mar, 2011 34 commits
-
-
jsm28 authored
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171316 138bc75d-0d04-0410-961f-82ee72b054a4
-
jsm28 authored
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171315 138bc75d-0d04-0410-961f-82ee72b054a4
-
jsm28 authored
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171314 138bc75d-0d04-0410-961f-82ee72b054a4
-
jsm28 authored
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171313 138bc75d-0d04-0410-961f-82ee72b054a4
-
rth authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171312 138bc75d-0d04-0410-961f-82ee72b054a4
-
jsm28 authored
via opts pointer. Use error_at. Don't assert that global structures are in use. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171311 138bc75d-0d04-0410-961f-82ee72b054a4
-
jsm28 authored
(ix86_handle_option): Access ix86_isa_flags and ix86_isa_flags_explicit via opts pointer. Don't assert that global structures are in use. (ix86_function_specific_save, ix86_function_specific_restore): Update ix86_isa_flags_explicit field name. * config/i386/i386.opt (ix86_isa_flags_explicit): New Variable entry. (ix86_isa_flags_explicit): Rename TargetSave entry to x_ix86_isa_flags_explicit. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171310 138bc75d-0d04-0410-961f-82ee72b054a4
-
rth authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171309 138bc75d-0d04-0410-961f-82ee72b054a4
-
jsm28 authored
cl_decoded_option pointers and location_t. * doc/tm.texi.in (TARGET_HANDLE_OPTION): Update documentation. * doc/tm.texi: Regenerate. * hooks.c (hook_bool_size_t_constcharptr_int_true): Remove. * hooks.h (hook_bool_size_t_constcharptr_int_true): Don't declare. * lto-opts.c (lto_reissue_options): Generate option structure for targetm.handle_option call. * opts.c (target_handle_option): Update call to targetm.handle_option. Remove assertions about values now passed down to hook. * targhooks.c (default_target_handle_option): New. * targhooks.h (default_target_handle_option): Declare. * config/alpha/alpha.c: Include opts.h. (alpha_handle_option): Update to new hook interface. * config/arm/arm.c: Include opts.h. (arm_handle_option): Update to new hook interface. * config/arm/t-arm (arm.o): Update dependencies. * config/bfin/bfin.c: Include opts.h. (bfin_handle_option): Update to new hook interface. * config/cris/cris.c: Include opts.h. (cris_handle_option): Update to new hook interface. * config/frv/frv.c: Include opts.h. (frv_handle_option): Update to new hook interface. * config/i386/i386.c: Include opts.h. (ix86_handle_option): Update to new hook interface. (ix86_valid_target_attribute_inner_p): Generate option structure for call to ix86_handle_option. * config/i386/t-i386 (i386.o): Update dependencies. * config/ia64/ia64.c: Include opts.h. (ia64_handle_option): Update to new hook interface. * config/ia64/t-ia64 (ia64.o): Update dependencies. * config/iq2000/iq2000.c: Include opts.h. (iq2000_handle_option): Update to new hook interface. * config/m32c/m32c.c: Include opts.h. (m32c_handle_option): Update to new hook interface. * config/m32r/m32r.c: Include opts.h. (m32r_handle_option): Update to new hook interface. * config/m68k/m68k.c: Include opts.h. (m68k_handle_option): Update to new hook interface. * config/mep/mep.c: Include opts.h. (mep_handle_option): Update to new hook interface. * config/microblaze/microblaze.c: Include opts.h. (microblaze_handle_option): Update to new hook interface. * config/mips/mips.c: Include opts.h. (mips_handle_option): Update to new hook interface. * config/mn10300/mn10300.c: Include opts.h. (mn10300_handle_option): Update to new hook interface. * config/pa/pa.c: Include opts.h. (pa_handle_option): Update to new hook interface. * config/pdp11/pdp11.c: Include opts.h. (pdp11_handle_option): Update to new hook interface. * config/rs6000/rs6000.c: Include opts.h. (rs6000_handle_option): Update to new hook interface. * config/rs6000/t-rs6000 (rs6000.o): Update dependencies. * config/rx/rx.c: Include opts.h. (rx_handle_option): Update to new hook interface. * config/s390/s390.c: Include opts.h. (s390_handle_option): Update to new hook interface. * config/score/score.c: Include opts.h. (score_handle_option): Update to new hook interface. * config/sh/sh.c: Include opts.h. (sh_handle_option): Update to new hook interface. * config/sparc/sparc.c: Include opts.h. (sparc_handle_option): Update to new hook interface. * config/v850/v850.c: Include opts.h. (v850_handle_option): Update to new hook interface. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171308 138bc75d-0d04-0410-961f-82ee72b054a4
-
jsm28 authored
unknown -Wno- options. (driver_wrong_lang_callback): Save options directly instead of via driver_unknown_option_callback. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171307 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
simplifying a nested COMPARE on the RHS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171304 138bc75d-0d04-0410-961f-82ee72b054a4
-
jsm28 authored
i370-*-opened*, i[[3456789]]86-moss-msdos | i[[3456789]]86-*-moss* | i[[3456789]]86-*-uwin*, mcore-*-pe*): Remove empty cases. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171303 138bc75d-0d04-0410-961f-82ee72b054a4
-
jsm28 authored
to Write After Approval. * config-ml.in: Don't handle arc-*-elf*. * configure.ac (arc-*-*, crx-*-*, i[[3456789]]86-*-pe, m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*, mcore-*-pe*): Don't handle GCC libraries. * configure: Regenerate. contrib: * compare-all-tests (all_targets): Remove crx and m68hc11. fixincludes: * mkfixinc.sh: Don't handle i?86-moss-msdos* or i?86-*-pe. gcc: * config/alpha/gnu.h: Remove. * config/arc: Remove directory. * config/arm/netbsd.h: Remove. * config/arm/t-pe: Remove. * config/crx: Remove directory. * config/i386/netbsd.h: Remove. * config/m68hc11: Remove directory. * config/m68k/uclinux-oldabi.h: Remove. * config/mcore/mcore-pe.h: Remove. * config/mcore/t-mcore-pe: Remove. * config/netbsd-aout.h: Remove. * config/rs6000/gnu.h: Remove. * config/sh/sh-symbian.h: Remove. * config/sh/symbian-base.c: Remove. * config/sh/symbian-c.c: Remove. * config/sh/symbian-cxx.c: Remove. * config/sh/symbi...
-
gerald authored
(FBSD_TARGET_CPU_CPP_BUILTINS): ...this. (TARGET_GNU_TLS, TARGET_SUN_TLS): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171301 138bc75d-0d04-0410-961f-82ee72b054a4
-
denisc authored
* config/avr/avr.h (struct machine_function): Add field sibcall_fails. * config/avr/avr.c (init_cumulative_args) (avr_function_arg_advance): Use it. * config/avr/avr.c (expand_epilogue): Add bool parameter. Handle sibcall epilogues. (TARGET_FUNCTION_OK_FOR_SIBCALL): Define to... (avr_function_ok_for_sibcall): ...this new function. (avr_lookup_function_attribute1): New static Function. (avr_naked_function_p, interrupt_function_p) (signal_function_p, avr_OS_task_function_p) (avr_OS_main_function_p): Use it. * config/avr/avr.md ("sibcall", "sibcall_value") ("sibcall_epilogue"): New expander. ("*call_insn", "*call_value_insn"): New insn. ("call_insn", "call_value_insn"): Remove ("call", "call_value", "epilogue"): Change expander to handle sibling calls. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171300 138bc75d-0d04-0410-961f-82ee72b054a4
-
nickc authored
to the list of targets that do not support profiling. Restore alpha sorting to this list. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171299 138bc75d-0d04-0410-961f-82ee72b054a4
-
nickc authored
options list. (Optimization Options): Add missing @gol. (Directory Options): Likewise. (i386 and x86-64 Options): Likewise. (RS6000 and PowerPC Options): Likewise. (i386 and x86-64 Windows Options): Likewise. (V850 Options): Add text missing from descriptions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171298 138bc75d-0d04-0410-961f-82ee72b054a4
-
rth authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171296 138bc75d-0d04-0410-961f-82ee72b054a4
-
rth authored
(avr_incoming_return_addr_rtx): New. (emit_push_byte): New. (expand_prologue): Use it. Remove incorrect dwarf annotation for SREG, RAMPZ, zero register. Push frame pointer by bytes. Add dwarf annotation for __prologue_saves__. Fixup dwarf annotation for CFA. (emit_pop_byte): New. (expand_epilogue): Use it. Pop frame pointer by bytes. * config/avr/avr.h (FRAME_POINTER_CFA_OFFSET): Remove. (INCOMING_RETURN_ADDR_RTX): New. (INCOMING_FRAME_SP_OFFSET): New. (ARG_POINTER_CFA_OFFSET): New. * config/avr/avr.md (*pushqi): Fix mode of auto-inc. (*pushhi, *pushsi, *pushsf, popqi): Likewise. (pophi): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171295 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
* testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak Copyright years. * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171294 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
* include/bits/shared_ptr.h (operator>, operator<=, operator>=): Add, per DR 1401. (operator==, operator!=, operator<): Fix per the letter of DR 1401. * include/bits/shared_ptr_base.h: Likewise for __shared_ptr. * include/bits/unique_ptr.h (operator==, operator!=, operator<, operator<=, operator>, operator>=): Fix per the letter of DR 1401. * testsuite/20_util/shared_ptr/comparison/dr1401.cc: New. * testsuite/20_util/unique_ptr/comparison/dr1401.cc: Likewise. * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171293 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_. * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerated. * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise. * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise. * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: Likewise. * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise. * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise. * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise. * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise. * testsuite/21_strings/basic_string/cons/char/moveable2.cc: New test. * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171291 138bc75d-0d04-0410-961f-82ee72b054a4
-
meissner authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171289 138bc75d-0d04-0410-961f-82ee72b054a4
-
froydnj authored
(build_call_valist, build_call_array_loc, build_call_vec): Call it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171288 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
PR tree-optimization/48228 * tree-vrp.c (vrp_visit_phi_node): Do not stop propagating for single-arg PHIs. * gcc.dg/Wstrict-overflow-23.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171287 138bc75d-0d04-0410-961f-82ee72b054a4
-
abel authored
* config/i386/sse.md (*sse2_cvtpd2dq): Add athlon_decode attribute. (*sse2_cvttpd2dq, sse2_cvtss2sd, *sse2_cvtpd2ps, sse2_cvtps2pd): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171286 138bc75d-0d04-0410-961f-82ee72b054a4
-
krebbel authored
* recog.c (canonicalize_change_group): Use validate_unshare_change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171285 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
* gimple.c (gimple_rhs_class_table): POLYNOMIAL_CHREC is not a valid RHS. Make DOT_PROD_EXPR and REALIGN_LOAD_EXPR ternary. * tree-cfg.c (verify_gimple_assign_ternary): Allow DOT_PROD_EXPR and REALIGN_LOAD_EXPR. (verify_gimple_assign_single): Do not allow POLYNOMIAL_CHREC, DOT_PROD_EXPR or REALIGN_LOAD_EXPR. * expr.c (expand_expr_real_1): Move REALIGN_LOAD_EXPR and DOT_PROD_EXPR case ... (expand_expr_real_2): ... here. * gimple-pretty-print.c (dump_ternary_rhs): Handle DOT_PROD_EXPR and REALIGN_LOAD_EXPR. * tree-data-ref.c (split_constant_offset): Bail out for all CHRECs. * tree-vect-loop.c (vect_model_reduction_cost): Handle ternaries. (vect_create_epilog_for_reduction): Likewise. (vectorizable_reduction): Likewise. * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Adjust. * tree-vect-stmts.c (vectorizable_load): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171284 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171283 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171282 138bc75d-0d04-0410-961f-82ee72b054a4
-
krebbel authored
* config/s390/s390.c (s390_delegitimize_address): Fix offset handling for PLTOFF/GOTOFF. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171281 138bc75d-0d04-0410-961f-82ee72b054a4
-
nickc authored
trailing backslash from the end of the macro definition. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171280 138bc75d-0d04-0410-961f-82ee72b054a4
-
krebbel authored
* config/s390/s390.c (s390_delegitimize_address): Handle PLTOFF and PLT unspecs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171279 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171278 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 21 Mar, 2011 6 commits
-
-
ian authored
From Rainer Orth. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171272 138bc75d-0d04-0410-961f-82ee72b054a4
-
rsandifo authored
2011-03-21 Richard Sandiford <richard.sandiford@linaro.org> * expr.h (prepare_operand): Move to... * optabs.h (prepare_operand): ...here and change the insn code parameter from "int" to "enum insn_code". (insn_operand_matches): Declare. * expr.c (init_expr_target): Use insn_operand_matches. (compress_float_constant): Likewise. * function.c (safe_insn_predicate, assign_parm_setup_reg): Likewise. * optabs.c (can_compare_p, prepare_cmp_insn): Likewise. (emit_cmp_and_jump_insn_1, gen_add2_insn, gen_add3_insn): Likewise. (have_add2_insn, gen_sub2_insn, gen_sub3_insn, have_sub2_insn): Likewise. (gen_cond_trap): Likewise. (prepare_operand): Likewise. Change icode to an insn_code. (insn_operand_matches): New function. * reload.c (find_reloads_address_1): Use insn_operand_matches. * reload1.c (gen_reload): Likewise. * targhooks.c (default_secondary_reload): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171270 138bc75d-0d04-0410-961f-82ee72b054a4
-
uros authored
(unspecv): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171268 138bc75d-0d04-0410-961f-82ee72b054a4
-
uros authored
between a call and its CALL_ARG_LOCATION note. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171266 138bc75d-0d04-0410-961f-82ee72b054a4
-
mrs authored
2011-03-21 Jack Howarth <howarth@bromo.med.uc.edu> * lib/prune.exp (prune_gcc_output): Prune "could not create compact unwind for" warnings. libstdc++: 2011-03-21 Jack Howarth <howarth@bromo.med.uc.edu> * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune "could not create compact unwind for" warnings. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171263 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
* config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: Likewise. * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise. * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise. * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise. * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171258 138bc75d-0d04-0410-961f-82ee72b054a4
-