1. 06 Nov, 2010 10 commits
    • NS/CF String format syntax parsing. · 91ebb981
      gcc:
      
      	PR target/44981
      	* doc/extend.tex (format): Document NSString extension.
      	(format_arg): Likewise.
      	(Darwin Format Checks): New section.
      	* doc/tm.texi: Document string object hooks (generated).
      	* doc/tm.texi.in (TARGET_OBJC_CONSTRUCT_STRING_OBJECT) Rename.
      	(TARGET_STRING_OBJECT_REF_TYPE_P): New.
      	(TARGET_CHECK_STRING_OBJECT_FORMAT_ARG): New.
      	* target.def (objc_construct_string_object): Rename, amend 
      	documentation.
      	(string_object_ref_type_p): New hook.
      	(check_string_object_format_arg): New hook.
      	* c-parser.c (c_parser_attributes): Allow objective-c class names as
      	attribute identifiers.
      	* config/darwin-c.c (darwin_cfstring_ref_p): New.
      	(darwin_check_cfstring_format_arg): New.
      	(darwin_additional_format_types): New.
      	* config/darwin-protos.h (darwin_cfstring_ref_p) New.
      	(darwin_check_cfstring_format_arg): New.
      	* config/darwin.h (TARGET_OBJC_CONSTRUCT_STRING_OBJECT) Renamed.
      	(TARGET_STRING_OBJECT_REF_TYPE_P): New.
      	(TARGET_N_FORMAT_TYPES): New.
      	(TARGET_CHECK_STRING_OBJECT_FORMAT_ARG): New.
      
      gcc/c-family:
      
      	PR target/44981
      	* c-format.c (format_type): New type gcc_objc_string_format_type.
      	(valid_stringptr_type_p): New.
      	(handle_format_arg_attribute): Use valid_stringptr_type_p ().
      	(check_format_string): Pass expected type, use 
      	valid_stringptr_type_p (), check that the format string types are
      	consistent with the format specification.
      	(decode_format_attr): Warn if NSString is used outside objective-c.
      	(format_types_orig): Add NSString.
      	(format_name): New.
      	(format_flags): New.
      	(check_format_arg): Handle format strings requiring an external parser.
      	first_target_format_type: New variable.
      	(handle_format_attribute): Set up first_target_format_type, pass the
      	expected format arg string type to check_format_string().
      	* c-common.h (FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL):  New flag.
      	* stub-objc.c (objc_string_ref_type_p): New.
      	(objc_check_format_arg): New.
      
      gcc/objc:
      
      	PR target/44981
      	* objc-act.c (objc_build_string_object): Amend for renamed hook.
      	(objc_string_ref_type_p): New.
      	(objc_check_format_arg): New.
      
      gcc/testsuite:
      
      	PR target/44981
      	* gcc.dg/darwin-cfstring-format-1.c: New.
      	* gcc.dg/warn-nsstring.c: New.
      	* objc.dg/fsf-nsstring-format-1.m: New.
      	* obj-c++.dg/fsf-nsstring-format-1.mm: New.
      	* obj-c++.dg/torture/strings/const-cfstring-1.mm: Update for darwin10
      	linker warning.
      
      From-SVN: r166398
      Iain Sandoe committed
    • cygming.h (DWARF_FRAME_REGISTERS): Redefine. · 2952a37e
      	* config/i386/cygming.h (DWARF_FRAME_REGISTERS): Redefine.  Use 33
      	in 64-bit mode and 17 otherwise.
      
      Co-Authored-By: Pascal Obry <obry@adacore.com>
      
      From-SVN: r166397
      Eric Botcazou committed
    • re PR debug/45939 (Wrong debug info: Negative location range generated) · 8784e5ac
      2010-11-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	PR debug/45939
      	* var-tracking.c (emit_note_insn_var_location): Make sure that
      	call related var location notes come before the normal ones.
      
      From-SVN: r166396
      Andreas Krebbel committed
    • Fix a typo in ix86_delegitimize_address. · 77bb7c61
      2010-11-05  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/46326
      	* config/i386/i386.c (ix86_delegitimize_address): Fix a typo
      	in the last change.
      
      From-SVN: r166394
      H.J. Lu committed
    • explow.c (allocate_dynamic_stack_space): Check MALLOC_ABI_ALIGNMENT. · c070a3b9
      	* explow.c (allocate_dynamic_stack_space): Check
      	MALLOC_ABI_ALIGNMENT.
      
      From-SVN: r166393
      Ian Lance Taylor committed
    • user.cfg.in: Add typeindex. · cde99631
      
      2010-11-05  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* doc/doxygen/user.cfg.in: Add typeindex.
      
      	* testsuite/util/testsuite_common_types.h (constexpr_comparison_eq_ne,
      	constexpr_comparison_operators): New.
      	* testsuite/20_util/duration/comparisons: Move...
      	* testsuite/20_util/duration/comparison_operators: ...here.
      	* testsuite/20_util/duration/comparison_operators/constexpr.cc: New.
      	* testsuite/20_util/time_point/comparison_operators/constexpr.cc: Add.
      
      	* testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Adjust line
      	numbers.
      	* testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Same.
      	* testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
      	* testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
      
      From-SVN: r166392
      Benjamin Kosnik committed
    • re PR c++/45473 (ICE: in dfs_walk_once, at cp/search.c:1659) · e52a5db6
      	PR c++/45473
      	* search.c (look_for_overrides): A constructor is never virtual.
      
      From-SVN: r166391
      Jason Merrill committed
    • Daily bump. · 614122f4
      From-SVN: r166390
      GCC Administrator committed
    • shared_ptr.h (shared_ptr<>::__shared_ptr(), [...]): Add constexpr specifier. · be9d3d73
      2010-11-05  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/bits/shared_ptr.h (shared_ptr<>::__shared_ptr(),
      	shared_ptr<>::shared_ptr(nullptr_t), weak_ptr<>::weak_ptr(),
      	enable_shared_from_this::enable_shared_from_this()): Add constexpr
      	specifier.
      	* include/bits/shared_ptr_base.h (__shared_count::__shared_count(),
      	__shared_count::__shared_count(), __shared_ptr<>::__shared_ptr(),
      	__shared_ptr<>::__shared_ptr(nullptr_t), __weak_ptr<>::__weak_ptr(),
      	__enable_shared_from_this::__enable_shared_from_this()): Likewise.
      	* include/bits/unique_ptr.h (default_delete,
      	unique_ptr<>::unique_ptr(), unique_ptr<>::unique_ptr(nullptr_t)):
      	Likewise.
      	* testsuite/20_util/default_delete/cons/constexpr.cc: Do not xfail.
      	* testsuite/20_util/shared_ptr/cons/constexpr.cc: Remove, the test
      	cannot work for a non-literal type like std::shared_ptr.
      	* testsuite/20_util/weak_ptr/cons/constexpr.cc: Likewise.
      	* testsuite/util/testsuite_common_types.h: Add comments.
      	* testsuite/20_util/unique_ptr/cons/constexpr.cc: Likewise.
      	* testsuite/20_util/shared_ptr/cons/43820.cc: Adjust dg-error line
      	numbers.
      	* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
      
      From-SVN: r166386
      Paolo Carlini committed
    • re PR c/44772 (-Wc++-compat warns incorrectly for anonymous unions) · a75de692
      	PR c/44772
      	* c-decl.c (warn_cxx_compat_finish_struct): Don't call
      	pointer_set_contains if DECL_NAME is NULL.
      
      	* gcc.dg/Wcxx-compat-21.c: New test.
      
      From-SVN: r166384
      Jakub Jelinek committed
  2. 05 Nov, 2010 29 commits
    • re PR target/46084 (gcc.dg/split-4.c failed with -mavx -m32) · c3928dde
      gcc/:
      	PR target/46084
      	* explow.c (allocate_dynamic_stack_space): If flag_split_stack,
      	request enough additional space for alignment, and force
      	alignment.
      testsuite/:
      	* gcc.target/i386/pr46084.c: New test.
      
      From-SVN: r166383
      Ian Lance Taylor committed
    • i386.c (legitimate_pic_address_disp_p): Handle UNSPEC_PCREL. · 037de943
      2010-11-05  Kai Tietz  <kai.tietz@onevision.com>
      
              * config/i386/i386.c (legitimate_pic_address_disp_p):
              Handle UNSPEC_PCREL.
              (ix86_legitimate_address_p): Likewise.
              (legitimize_pic_address): Likewise.
              (output_pic_addr_const): Likewise.
              (ix86_delegitimize_address): Likewise.
              (ix86_find_base_term): Likewise.
              (memory_address_length): Likewise.
              (x86_output_mi_thunk): Handle special case x64
              for non local binding.
              * config/i386/i386.md (UNSPEC_PCREL): New.
              * config/i386/winnt.c (i386_pe_binds_local_p):
              Allow weak symbol for x64 windows with non-local binding.
      
      From-SVN: r166382
      Kai Tietz committed
    • user.cfg.in: Remove tr1_impl headers. · f706cf18
      2010-11-05  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* doc/doxygen/user.cfg.in: Remove tr1_impl headers.
      
      	* testsuite/tr1/4_metaprogramming/integral_constant/requirements/
      	constexpr_data.cc: New.
      
      	* testsuite/util/testsuite_tr1.h (LType, LTypeDerived, NLType): New.
      	* testsuite/20_util/is_literal_type/value.cc: New.
      	* testsuite/20_util/is_literal_type/requirements/typedefs.cc: Name.
      	* testsuite/20_util/is_literal_type/requirements/
      	explicit_instantiation.cc: New.
      
      From-SVN: r166381
      Benjamin Kosnik committed
    • target-supports.exp (check_function_available): Use -fno-builtin. · 8d598c74
      2010-11-05  Steve Ellcey  <sje@cup.hp.com>
      
      	* lib/target-supports.exp (check_function_available): Use -fno-builtin.
      	* (check_effective_target_mempcpy): New.
      	* gcc.c-torture/execute/pr45636.c: Move this...
      	* gcc.dg/torture/pr45636.c: to here.  Add add dg- directives.
      
      From-SVN: r166378
      Steve Ellcey committed
    • i386.exp (FLAGS): Remove. · 73f22c49
      	* gcc.target/i386/i386.exp (FLAGS): Remove.
      	Wrap gcc_target_compile with $clearcap_ldflags added to options.
      
      From-SVN: r166377
      Rainer Orth committed
    • re PR c++/46160 (ICE with volatile structure and enum) · 897145e3
      	PR c++/46160
      	* cp-gimplify.c (cp_gimplify_expr): Drop volatile MEM_REFs
      	on the RHS to avoid infinite recursion with gimplify_expr.
      
      	* g++.dg/opt/empty2.C: New test.
      
      From-SVN: r166372
      Jakub Jelinek committed
    • re PR target/45670 (Less efficient x86 addressing mode selection on 4.6, causes… · ee01a467
      re PR target/45670 (Less efficient x86 addressing mode selection on 4.6, causes -Os size regression from 4.5)
      
      	PR target/45670
      	* expr.c (expand_expr_real_1) <case MEM_REF>: Use EXPAND_SUM
      	instead of EXPAND_NORMAL for base expansion.
      
      	* gcc.target/i386/pr45670.c: New test.
      
      From-SVN: r166371
      Jakub Jelinek committed
    • re PR target/44754 (m32c_pragma_memregs / m32c_pragma_address warnings) · 444d6efe
      	PR target/44754
      	* config/m32c/m32c.c (m32_function_arg): Rename declaration to...
      	(m32c_function_arg).  Add comma between arguments two and three.
      	(m32c_promote_prototypes): Remove declaration.
      	(current_function_special_page_vector): Likewise.
      	(m32c_regno_reg_class): Change return type to enum reg_class.
      	(m32c_pushm_popm): Use add_reg_note.
      	(m32c_push_rounding): Change return type to unsigned int.
      	(m32c_legitimize_reload_address): Cast argument 11 to push_reload to
      	enum reload_type.
      	(m32c_insert_attributes): Constify variable name.
      	(m32c_output_aligned_common): Add ATTRIBUTE_UNUSED to argument decl.
      	(m32c_prepare_shift): Remove variable lref.
      	(m32c_expand_movcc): Remove variable cmp.
      	(m32c_expand_insv): Fix check of op0 rtx_code to use GET_CODE.
      	(m32c_compare_redundant): Remove variable op2.
      	* config/m32c/m32c-pragma.c ("c-family/c-common.h"): Include.
      	(m32c_pragma_memregs): Assign the number to target_memregs.
      	(m32c_pragma_address): Remove variable var_str.
      	* config/m32c/m32c.h (REG_CLASS_FROM_CONSTRAINT): Case value to
      	enum reg_class.
      	(LIMIT_RELOAD_CLASS, SECONDARY_RELOAD_CLASS): Likewise.
      	* config/m32c/bitops.md (andsi3): Add default case to switch.
      	(iorsi3, xorsi3): Likewise.
      	* config/m32c/addsub.md (addsi3_1, subsi3_1): Likewise.
      	* config/m32c/jump.md (call, call_value): Likewise.
      	* config/m32c/m32c-protos.h (m32c_push_rounding): Update prototype.
      	(m32c_regno_reg_class): Likewise.
      	(current_function_special_page_vector): Declare.
      
      From-SVN: r166370
      Joern Rennecke committed
    • config.gcc: Support --with-fpmath=avx for x86. · b71e5eba
      	* config.gcc: Support --with-fpmath=avx for x86.
      	* config/i386/avxmath.h: New.
      	* doc/install.texi (--with-fpmath=): Document --with-fpmath=avx.
      
      From-SVN: r166369
      Uros Bizjak committed
    • re PR fortran/45451 ([OOP] Inconsistent status of ALLOCATABLE components inside CLASS variables.) · 611c64f0
      2010-11-05  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/45451
      	PR fortran/46174
      	* class.c (gfc_find_derived_vtab): Improved search for existing vtab.
      	Add component '$copy' to vtype symbol for polymorphic deep copying.
      	* expr.c (gfc_check_pointer_assign): Make sure the vtab is generated
      	during resolution stage.
      	* resolve.c (resolve_codes): Don't resolve code if namespace is already
      	resolved.
      	* trans-stmt.c (gfc_trans_allocate): Call '$copy' procedure for
      	polymorphic ALLOCATE statements with SOURCE.
      
      2010-11-05  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/45451
      	PR fortran/46174
      	* gfortran.dg/class_19.f03: Modified.
      	* gfortran.dg/class_allocate_6.f03: New.
      
      From-SVN: r166368
      Janus Weil committed
    • * dwarf2.h (enum dwarf_source_language): Add DW_LANG_Go. · 458ebeba
      From-SVN: r166367
      Ian Lance Taylor committed
    • re PR bootstrap/44756 ([meta-bug] --enable-werror-always issues) · 6ab31ade
      	PR bootstrap/44756
      	* expr.c (can_store_by_pieces): Add ATTRIBUTE_UNUSED to cst.
      	* haifa-sched.c (initiate_bb_reg_pressure_info): Add ATTRIBUTE_UNUSED
      	to i.
      
      From-SVN: r166366
      Joern Rennecke committed
    • tree.h (struct tree_type): Don't use descbits in GTY annotation. · 7f7c6d91
      	* tree.h (struct tree_type): Don't use descbits in GTY
      	annotation.
      	* gengtype.c (walk_type): Don't recognize descbits option.
      
      From-SVN: r166365
      Ian Lance Taylor committed
    • re PR bootstrap/44756 ([meta-bug] --enable-werror-always issues) · 3e926b4d
      	PR bootstrap/44756
      	* expr.c (emit_push_insn): Cast value of PUSH_ROUNDING before
      	comparing it to a signed value.
      
      From-SVN: r166360
      Joern Rennecke committed
    • defaults.h (DEFAULT_WORD_SWITCH_TAKES_ARG, [...]): Remove. · c243beb0
      	* defaults.h (DEFAULT_WORD_SWITCH_TAKES_ARG,
      	WORD_SWITCH_TAKES_ARG): Remove.
      	* doc/options.texi (Args): Document.
      	* doc/tm.texi.in (WORD_SWITCH_TAKES_ARG): Remove.
      	* doc/tm.texi: Regenerate.
      	* opt-functions.awk (switch_flags): Handle Args.
      	* opts-common.c: Update comment on tm.h include.
      	(decode_cmdline_option): Handle options with multiple arguments.
      	Don't check WORD_SWITCH_TAKES_ARG for unknown options.
      	* opts.h (CL_SEPARATE_NARGS_SHIFT, CL_SEPARATE_NARGS_MASK):
      	Define.
      	(CL_PARAMS, CL_WARNING, CL_OPTIMIZATION, CL_DRIVER, CL_TARGET,
      	CL_COMMON): Update values.
      	* system.h (WORD_SWITCH_TAKES_ARG): Poison.
      	* config/darwin.h (WORD_SWITCH_TAKES_ARG): Remove.
      	* config/darwin.opt (Zsegaddr, sectalign, sectcreate,
      	sectobjectsymbols, sectorder, segcreate, segprot): New.
      
      From-SVN: r166359
      Joseph Myers committed
    • Check 256bit AVX register in move expanders. · d73ee4e7
      gcc/
      
      2010-11-05  H.J. Lu  <hongjiu.lu@intel.com>
      	    Uros Bizjak  <ubizjak@gmail.com>
      
      	* config/i386/i386.c (ix86_expand_move): Set use_avx256_p if
      	256bit AVX register is used.
      	(ix86_expand_vector_move_misalign): Likewise.
      	(ix86_expand_vector_move): Replace use_avx256_p with
      	VALID_AVX256_REG_MODE.
      
      gcc/testsuite/
      
      2010-11-05  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* gcc.target/i386/avx-vzeroupper-19.c: New.
      
      Co-Authored-By: Uros Bizjak <ubizjak@gmail.com>
      
      From-SVN: r166358
      H.J. Lu committed
    • Remove gcc/ prefixes · 8b7e8529
      From-SVN: r166357
      Eric Botcazou committed
    • re PR target/44750 (pdp-11 fails to build) · 365b0dba
               PR target/44750
              * config/pdp11/t-pdp11 (dwarf2out.o, java/constants.o): Undo last
              change.  Set $@-warn.o to -Wno-error.
      
      From-SVN: r166356
      Joern Rennecke committed
    • re PR tree-optimization/46099 (ICE: in replace_ssa_name, at tree-cfg.c:5643 with… · cba1eb61
      re PR tree-optimization/46099 (ICE: in replace_ssa_name, at tree-cfg.c:5643 with -ftree-parallelize-loops -g)
      
      	PR tree-optimization/46099
      	* tree-parloops.c (take_address_of): Add GSI argument.  Return NULL
      	if it is NULL and uid wasn't found in the hash table.  Just fold the
      	result if it is NULL otherwise.  Insert other potentially needed
      	stmts right before current stmt instead of on the entry edge.
      	(struct elv_data): Add gsi and reset fields.
      	(eliminate_local_variables_1): Adjust caller.  If take_address_of
      	failed for debug stmt, set dta->reset and return.
      	(eliminate_local_variables_stmt): Change STMT argument for GSI,
      	pass GSI through to the callback, handle resetting of debug stmts.
      	(eliminate_local_variables): Adjust caller.  Process debug stmts
      	in second phase.
      
      	* gcc.dg/autopar/pr46099.c: New test.
      
      From-SVN: r166355
      Jakub Jelinek committed
    • re PR middle-end/43690 (Internal compiler error detected by avr-gcc.) · 502c5084
      	PR middle-end/43690
      	* gimplify.c (gimplify_asm_expr): If a "m" input is a
      	{pre,post}{in,de}crement, fail.
      
      	* c-c++-common/pr43690.c: New test.
      
      From-SVN: r166354
      Jakub Jelinek committed
    • cfgexpand.c (expand_debug_expr): Handle MEM_REF with non-zero offset. · cb115041
      	* cfgexpand.c (expand_debug_expr): Handle MEM_REF
      	with non-zero offset.
      
      From-SVN: r166353
      Jakub Jelinek committed
    • NeXT runtime compatibility changes. · a5ad8c30
      gcc/testsuite:
      
      	* objc.dg/torture/forward-1.m: Restore for m32 NeXT.
      	* objc.dg/demangle-1.m: Remove NeXT ifdef around +initialize 
      	declaration and implementation.
      	* objc.dg/property/dotsyntax-3.m: XFAIL NeXT m64 run.
      	* obj-c++.dg/property/at-property-13.mm: Likewise.
      	* obj-c++.dg/property/fsf-property-method-access.mm: Likewise.
      	* obj-c++.dg/property/property-1.mm: Likewise.
      	* obj-c++.dg/property/at-property-7.mm: Likewise.
      	* obj-c++.dg/property/at-property-9.mm: Likewise.
      	* obj-c++.dg/property/dotsyntax-2.mm: Likewise.
      	* obj-c++.dg/property/at-property-10.mm: Likewise.
      	* obj-c++.dg/property/synthesize-2.mm: Likewise.
      	* obj-c++.dg/property/at-property-12.mm: Likewise.
      	* obj-c++.dg/property/fsf-property-basic.mm: Likewise.
      	* obj-c++.dg/property/fsf-property-named-ivar.mm: Likewise.
      	* obj-c++.dg/property/at-property-6.mm: Likewise.
      	* obj-c++.dg/property/at-property-8.mm: Likewise.
      	* obj-c++.dg/property/dotsyntax-1.mm: Likewise.
      	* obj-c++.dg/property/dotsyntax-3.mm: Likewise.
      	* obj-c++.dg/property/at-property-11.mm: Likewise.
      	* obj-c++.dg/template-8.mm: Likewise.
      	* obj-c++.dg/encode-3.mm: Use abort (), cast char types.
      	* obj-c++.dg/demangle-2.mm: Add +initialize:, XFAIL NeXT m64.
      	* obj-c++.dg/property/at-property-2.mm: Comment out a case that ICEs and
      	put a FIXME for this.
      	* obj-c++.dg/property/property-2.mm: Remove.
      	* obj-c++.dg/property/property-3.mm: Remove.
      
      From-SVN: r166352
      Iain Sandoe committed
    • re PR debug/46307 (ICE with FMA_EXPR in DEBUG stmts) · 0f59b812
      	PR debug/46307
      	* tree-ssa-operands.c (get_expr_operands): Handle FMA_EXPR.
      	* tree-pretty-print.c (dump_generic_node): Likewise.
      	(op_code_prio): Likewise.
      	* cfgexpand.c (expand_debug_expr): Likewise.
      
      	* gcc.dg/pr46307.c: New test.
      
      From-SVN: r166351
      Jakub Jelinek committed
    • re PR c++/46304 (g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770) · fc36036b
      	PR c++/46304
      	* pt.c (tsubst_copy): Handle COMPLEX_CST.
      
      From-SVN: r166350
      Jason Merrill committed
    • intrinsic_numeric_arg.f: Add test to check error message. · 753fc83c
      2010-11-04  Bud Davis	<jimmied@smu.edu>
      
      	* gfortran.dg/intrinsic_numeric_arg.f: Add test to check 
      	error message.
      
      From-SVN: r166347
      Bud Davis committed
    • md.texi (Machine Constraints): Correct formatting in PDP-11 constraints. · 868e54d1
      * doc/md.texi (Machine Constraints): Correct formatting in PDP-11
      constraints.
      
      From-SVN: r166346
      Paul Koning committed
    • mips32-dsp.c: Add tests for madd, maddu, msub, msubu, mult, multu. · 9804d4ec
      2010-11-04  Chao-ying Fu  <fu@mips.com>
      
      	* gcc.target/mips/mips32-dsp.c: Add tests for madd, maddu, msub,
      	msubu, mult, multu.
      	* gcc.target/mips/mips32-dsp-run.c: Likewise.
      
      From-SVN: r166345
      Chao-ying Fu committed
    • configure.ac: Test assembler support for DSP Rev1 mult. · 293b77b0
      2010-11-04  Chao-ying Fu  <fu@mips.com>
      
      	* configure.ac: Test assembler support for DSP Rev1 mult.
      	* configure: Regenerate.
      	* config.in: Regenerate.
      	* config/mips/mips.h (ISA_HAS_DSP_MULT): New define.
      	* config/mips/mips.c (CODE_FOR_mips_mult): New define.
      	(CODE_FOR_mips_multu): New define.
      	(mips_builtins): Move madd, maddu, msub, msubu, mult, multu from
      	dspr2_32 to dsp_32.
      	(mips_mulsidi3_gen_fn): Test (TARGET_FIX_R4000 && !ISA_HAS_DSP).
      	Delete returns when ISA_HAS_DSPR2, because the old patterns are deleted.
      	* config/mips/mips-dsp.md (mips_madd<u>, mips_msub<u>):
      	New define_expand patterns.
      	* config/mips/constraints.md (ka): Update the constraint to test
      	ISA_HAS_DSP_MULT instead of ISA_HAS_DSPR2.
      	* config/mips/mips-dspr2.md (mips_madd<u>, mips_msub<u>, mips_mult,
      	mips_multu): Delete.
      	* config/mips/mips.md (<u>mulsidi3_32bit): Add comments.
      	Change target constraint to "ka".
      	Use (!TARGET_FIX_R4000 || ISA_HAS_DSP), instead of
      	(!TARGET_FIX_R4000 && !ISA_HAS_DSPR2).
      	Emit the accumulator destination when ISA_HAS_DSP_MULT.
      	(<u>msubsidi4): Add comments.
      	Test ISA_HAS_DSP.
      	Emit the accumulator destination when ISA_HAS_DSP_MULT.
      	(<u>maddsidi4): Likewise.
      	* doc/extend.texi (MIPS DSP Built-in Functions): Move madd, maddu,
      	msub, msubu, mult, multu built-in functions from DSP r2 to DSP r1.
      
      From-SVN: r166344
      Chao-ying Fu committed
    • Daily bump. · 1ea3db46
      From-SVN: r166343
      GCC Administrator committed
  3. 04 Nov, 2010 1 commit
    • Use spawnve on cygwin. · 3b63ca7e
      	* configure.ac (AC_CHECK_HEADERS): Add process.h.
      	(checkfuncs): Add dup3, spawnve, spawnvpe; sort the list.
      	(AC_CHECK_FUNCS): Add dup3, spawnve, spawnvpe.
      	* configure, config.in: Rebuild.
      	* pex-unix.c [HAVE_SPAWNVE] (pex_unix_exec_child): New function.
      	[HAVE_SPAWNVE] (save_and_install_fd, restore_fd): New functions.
      
      From-SVN: r166339
      Richard Henderson committed