1. 22 Feb, 2011 2 commits
  2. 21 Feb, 2011 3 commits
    • re PR target/47822 (Multiple test suite failures due to revision 170321) · d1d46f9f
      	PR target/47822
      	* config/darwin-protos.h (darwin_init_cfstring_builtins): Return a
      	tree so we can get save the type.
      	* config/i386/darwin.h (SUBTARGET_INIT_BUILTINS): Reserve builtin slot
      	for CFString instead of trying to use past the end of the builtins.
      	* config/i386/i386.c (IX86_BUILTIN_CFSTRING): Likewise.
      	* config/rs6000/rs6000-builtin.def (RS6000_BUILTIN_CFSTRING): Likewise.
      	* config/rs6000/darwin.h (SUBTARGET_INIT_BUILTINS): Likewise.
      	* config/darwin.c (DARWIN_BUILTIN_CFSTRINGMAKECONSTANTSTRING):
      	Rename to darwin_builtin_cfstring.
      	(darwin_init_cfstring_builtins): Return the built type.
      
      From-SVN: r170376
      Mike Stump committed
    • re PR target/47840 (incorrect _mm256_insert_epi{32,64} implementations) · 23e0d930
      	PR target/47840
      	* config/i386/avxintrin.h (_mm256_insert_epi32): Use _mm_insert_epi32.
      	(_mm256_insert_epi64): Use _mm_insert_epi64.
      
      From-SVN: r170371
      Uros Bizjak committed
    • stormy16.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. · 192997cf
      	* config/stormy16/stormy16.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove.
      	* config/stormy16/stormy16-protos.h
      	(xstormy16_mode_dependent_address_p): Remove.
      	* config/stormy16/stormy16.c (xstormy16_mode_dependent_address_p):
      	Make static. Change return type to bool. Change argument type to
      	const_rtx. Remove dead code.
      	(TARGET_MODE_DEPENDENT_ADDRESS_P): Define.
      
      From-SVN: r170367
      Anatoly Sokolov committed
  3. 19 Feb, 2011 3 commits
  4. 18 Feb, 2011 3 commits
    • config.gcc (hppa[12]*-*-hpux11*): Set extra_parts. · eddabc80
      	* config.gcc (hppa[12]*-*-hpux11*): Set extra_parts.
      	* config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock,
      	pthread_mutex_unlock, pthread_once): Reinstate pthread stubs.
      	* config/pa/t-pa-hpux11: Add rules to build pthread stubs.
      	* config/pa/t-pa64: Likewise.
      	* config/pa/pa-hpux11.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
      
      From-SVN: r170287
      John David Anglin committed
    • m32r.h (REG_OK_FOR_BASE_P, [...]): Remove macros. · 4bf7ff7e
      	* config/m32r/m32r.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P,
      	RTX_OK_FOR_BASE_P, RTX_OK_FOR_OFFSET_P, LEGITIMATE_OFFSET_ADDRESS_P,
      	LEGITIMATE_LO_SUM_ADDRESS_P, LOAD_POSTINC_P, STORE_PREINC_PREDEC_P,
      	GO_IF_LEGITIMATE_ADDRESS): Remove macros.
      	* config/m32r/m32r.c (TARGET_LEGITIMATE_ADDRESS_P): Define.
      	(m32r_rtx_ok_for_base_p, m32r_rtx_ok_for_offset_p,
      	m32r_legitimate_offset_addres_p, m32r_legitimate_lo_sum_addres_p,
      	m32r_load_postinc_p, m32r_store_preinc_predec_p,
      	m32r_legitimate_address_p): New functions.
      	* config/m32r/constraints.md (constraint "S"): Don't use
      	STORE_PREINC_PREDEC_P.
      	(constraint "U"): Don't use LOAD_POSTINC_P.
      
      From-SVN: r170278
      Anatoly Sokolov committed
    • Added support for the 64-bit Apple Objective-C runtime · d764a8e6
      From-SVN: r170260
      Iain Sandoe committed
  5. 17 Feb, 2011 6 commits
  6. 16 Feb, 2011 4 commits
  7. 15 Feb, 2011 7 commits
    • Fix PR 47755 · e3a69bb4
      From-SVN: r170189
      Michael Meissner committed
    • make iq2000 use constraints.md · 679e8183
      	make iq2000 use constraints.md
              * config/iq2000/i2000.h (REG_CLASS_FROM_LETTER): Delete.
              (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
              (EXTRA_CONSTRAINT): Delete.
              * config/iq2000/constraints.md: New file.
              * config/iq2000/iq2000.md: Include it.
      	(define_insn ""): Delete.
      	(movsi_internal2, movhi_internal2, movqi_internal2): Delete
      	unsupported constraint letters from patterns.
      	(call_value, call_value_internal1): Likewise.
      	(call_value_multiple_internal1): Likewise.
      
      From-SVN: r170184
      Nathan Froyd committed
    • mn10300.c: Include tm-constrs.h. · a45d420a
      	* config/mn10300/mn10300.c: Include tm-constrs.h.
      	(struct liw_data): New data structure describing an LIW candidate
      	instruction.
      	(extract_bundle): Use struct liw_data.  Allow small integer
      	operands for some instructions.
      	(check_liw_constraints): Use struct liw_data.  Remove swapped
      	parameter.  Add comments describing the checks.  Fix bug when
      	assigning the source of liw1 to the source of liw2.
      	(liw_candidate): Delete.  Code moved into extract_bundle.
      	(mn10300_bundle_liw): Use struct liw_data.  Check constraints
      	before swapping.
      	* config/mn10300/predicates.md (liw_operand): New predicate.
      	Allows registers and small integer constants.
      	* config/mn10300/constraints.md (O): New constraint.  Accetps
      	integers in the range -8 to +7 inclusive.
      	* config/mn10300/mn10300.md (movesi_internal): Add an alternative
      	for moving a small integer into a register.  Give this alternative
      	LIW attributes.
      	(addsi3, subsi3, cmpsi, lshrsi3, ashrsi3): Likewise.
      	(ashlsi3): Likewise, plus give LIW attributes to the alternatives
      	using the J,K,L and M constraints,
      	(liw): Remove SI mode on second operands to allow for HI and QI
      	mode values.
      	(cmp_liw, liw_cmp): Likewise.  Plus fix order of operands in the
      	instruction.
      
      From-SVN: r170182
      Nick Clifton committed
    • make fr30 use constraints.md · ad1c1eeb
      	make fr30 use constraints.md
      	* config/fr30/constraints.md: New file.
      	* config/fr30/fr30.md: Include it.
      	* config/fr30/fr30.h (REG_CLASS_FROM_LETTER): Delete.
      	(CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
      	(EXTRA_CONSTRAINT): Delete.
      
      From-SVN: r170172
      Nathan Froyd committed
    • make frv use constraints.md · 49ac143d
      	make frv use constraints.md
      	* config/frv/constraints.md: New file.
      	* config/frv/predicates.md: Include it.
      	* config/frv/frv.c (reg_class_from_letter): Delete.
      	(frv_option_override): Don't initialize it.
      	* config/frv/frv.h (REG_CLASS_FROM_LETTER): Delete.
      	(CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_K): Delete.
      	(CONST_OK_FOR_L, CONST_OK_FOR_M, CONST_OK_FOR_N): Delete.
      	(CONST_OK_FOR_O, CONST_OK_FOR_P, CONST_OK_FOR_LETTER_P): Delete.
      	(CONST_DOUBLE_OK_FOR_G, CONST_DOUBLE_OK_FOR_H): Delete.
      	(CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
      	(EXTRA_CONSTRAINT_FOR_Q, EXTRA_CONSTRAINT_FOR_R): Delete.
      	(EXTRA_CONSTRAINT_FOR_S, EXTRA_CONSTRAINT_FOR_T): Delete.
      	(EXTRA_CONSTRAINT_FOR_U, EXTRA_CONSTRAINT): Delete.
      	(EXTRA_MEMORY_CONSTRAINT, CONSTRAINT_LEN): Delete.
      	(REG_CLASS_FROM_CONSTRAINT): Delete.
      
      From-SVN: r170171
      Nathan Froyd committed
    • re PR middle-end/47581 (Unnecessary adjustments to stack pointer) · c95f9494
      	PR middle-end/47581
      	* config/i386/i386.c (ix86_compute_frame_size): Don't align offset
      	if frame size is 0 in a leaf function.
      
      	* gcc.target/i386/pr47581.c: New test.
      
      From-SVN: r170170
      Jakub Jelinek committed
    • re PR pch/14940 (PCH largefile test fails on various platforms) · 13aed611
      	PR pch/14940
      	* config/alpha/host-osf.c: New file.
      	* config/alpha/x-osf: New file.
      	* config.host (alpha*-dec-osf*): Use it.
      
      From-SVN: r170166
      Rainer Orth committed
  8. 14 Feb, 2011 7 commits
    • rx.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. · b09c3081
      	* config/rx/rx.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove.
      	* config/rx/rx-protos.h (rx_is_mode_dependent_addr): Remove.
      	* config/xtensa/xtensa.c (rx_is_mode_dependent_addr): Rename to...
      	(rx_mode_dependent_address_p): ...this. Make static. Change argument
      	type to const_rtx.
      	(TARGET_MODE_DEPENDENT_ADDRESS_P): Define.
      
      From-SVN: r170154
      Anatoly Sokolov committed
    • make stormy16 use constraints.md · d634083b
      	make stormy16 use constraints.md
      	* config/stormy16/constraints.md: New file.
      	* config/stormy16/predicates.md (nonimmediate_nonstack_operand):
      	Use satisfies_constraint_Q and satisfies_constraint_R.
      	* config/stormy16/stomry16-protos.h (xstormy16_extra_constraint_p):
      	Delete.
      	(xstormy16_legitiamte_address_p): Declare.
      	* config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Delete.
      	(CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
      	(EXTRA_CONSTRAINT): Delete.
      	* config/stormy16/stormy16.c (xstormy16_legitiamte_address_p):
      	Un-staticize.
      	(xstormy16_extra_constraint_p): Delete.
      
      From-SVN: r170152
      Nathan Froyd committed
    • make v850 use constraints.md · c6150df6
      	make v850 use constraints.md
              * config/v850/constraints.md: New file.
              * config/v850/v850.md: Include it.
              * config/v850/predicates.md (reg_or_0_operand): Use
              satisfies_constraint_G.
              (special_symbolref_operand): Use satisfies_constraint_K.
              * config/v850/v850.h (CONSTANT_ADDRESS_P): Use constraint_satisfied_p.
              (GO_IF_LEGITIMATE_ADDRESS): Likewise.
              (REG_CLASS_FROM_LETTER, INT_7_BITS, INT_8_BITS): Delete.
              (CONST_OK_FOR_P, CONST_OK_FOR_LETTER_P): Delete.
              (EXTRA_CONSTRAINT): Delete.
              (CONST_OK_FOR_I, CONST_OK_FOR_J): Use insn_const_int_ok_for_constraint.
              (CONST_OK_FOR_K, CONST_OK_FOR_L, CONST_OK_FOR_M): Likewise.
              (CONST_OK_FOR_N, CONST_OK_FOR_O): Likewise.
      
      From-SVN: r170140
      Nathan Froyd committed
    • re PR target/47696 ([AVR] Compilation for atmega2560 produces incomplete… · 30dd1ea3
      re PR target/47696 ([AVR] Compilation for atmega2560 produces incomplete interrupt vector table (USART2,3))
      
      	PR target/47696
      	* config/avr/avr-devices.c (avr_mcu_types): Fix ATmega2560 device
      	description.
      
      From-SVN: r170137
      Anatoly Sokolov committed
    • make mcore use constraints.md · 944f4bb3
      	make mcore use constraints.md
      	* config/mcore/constraints.md: New file.
      	* config/mcore/mcore.md: Include it.
      	* config/mcore/mcore.c (reg_class_from_letter): Delete.
      	* config/mcore/mcore.h (reg_class_from_letter): Delete.
      	(REG_CLASS_FROM_LETTER): Delete.
      	(CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_L): Use
      	insn_const_int_ok_for_constraint.
      	(CONST_OK_FOR_K, CONST_OK_FOR_M, CONST_OK_FOR_N): Likewise.
      	(CONST_OK_FOR_O, CONST_OK_FOR_P): Likewise.
      	(CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
      	(EXTRA_CONSTRAINT): Delete.
      
      From-SVN: r170134
      Nathan Froyd committed
    • re PR ada/41929 (64-bit null_pointer_deref1 gnat.dg test consumes all available memory) · ad56a54c
      	gcc:
      	PR ada/41929
      	* config/sparc/sol2-unwind.h: Include <sys/frame.h>, <sys/stack.h>
      	(IS_SIGHANDLER): Define.
      	(sparc64_is_sighandler): New function, split off from
      	sparc64_fallback_frame_state.
      	(sparc_is_sighandler): New function, split off from
      	sparc_fallback_frame_state.
      	(sparc64_fallback_frame_state): Merge with ...
      	(sparc_fallback_frame_state): ... this into ...
      	(MD_FALLBACK_FRAME_STATE_FOR): ... this.
      	Change new_cfa to long.
      	Remove regs_off, fpu_save_off, fpu_save.
      	Define nframes, mctx.
      	Use IS_SIGHANDLER, handler_args, mctx, walk stack instead of
      	hardcoded offsets.
      
      	gcc/testsuite:
      	PR ada/41929
      	* gnat.dg/null_pointer_deref1.exp: Don't skip on
      	sparc*-sun-solaris2.11.
      
      From-SVN: r170126
      Rainer Orth committed
    • re PR target/45808 (FreeBSD: -pthread is handled incompletely) · 67932abf
      	PR target/45808
      	* config/freebsd-spec.h (FBSD_LIB_SPEC): Handle the shared case.
      
      From-SVN: r170121
      Andriy Gapon committed
  9. 13 Feb, 2011 5 commits