1. 05 Nov, 2010 11 commits
    • 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
  2. 04 Nov, 2010 29 commits