1. 20 Feb, 2008 12 commits
    • ChangeLog: Whitespace fixes. · 4b40b2a5
      	* ChangeLog: Whitespace fixes.
      	* gcc/ChangeLog: Ditto.
      	* config/ChangeLog: Ditto.
      
      From-SVN: r132482
      Uros Bizjak committed
    • fold-const.c (split_tree): Associate floatig-point expressions if flag_associative_math is set. · 41bb1f06
      2008-02-20  Richard Guenther  <rguenther@suse.de>
      
      	* fold-const.c (split_tree): Associate floatig-point expressions
      	if flag_associative_math is set.
      
      	* gcc.dg/fold-reassoc-1.c: New testcase.
      	* gcc.dg/tree-ssa/recip-3.c: Adjust to not compute d/d.
      
      From-SVN: r132481
      Richard Guenther committed
    • tree.h (fold_real_zero_addition_p): Declare. · 2dc0f633
      2008-02-20  Richard Guenther  <rguenther@suse.de>
      
      	* tree.h (fold_real_zero_addition_p): Declare.
      	* fold-const.c (fold_real_zero_addition_p): Export.
      	* tree-ssa-reassoc.c (eliminate_using_constants): Also handle
      	floating-point operations with zero and one.
      
      	* gcc.dg/tree-ssa/reassoc-13.c: New testcase.
      
      From-SVN: r132480
      Richard Guenther committed
    • re PR bootstrap/32009 (building gcc4-4.3/4.4.0-20070518 failed on OSX 10.3.9) · 1c8bd6a3
      2008-02-20  Paolo Bonzini  <bonzini@gnu.org>
      
              PR bootstrap/32009
              PR bootstrap/32161
      
              * configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Compute here.
              * configure: Regenerate.
      
              * Makefile.def: Define stage_libcflags for all bootstrap stages.
              * Makefile.tpl (STAGE1_LIBCFLAGS, STAGE2_LIBCFLAGS, STAGE3_LIBCFLAGS,
              STAGE4_LIBCFLAGS): New.
              (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Subst from autoconf, without
              $(SYSROOT_CFLAGS_FOR_TARGET) and $(DEBUG_PREFIX_CFLAGS_FOR_TARGET).
              (BASE_TARGET_EXPORTS): Append them here to C{,XX}FLAGS.
              (EXTRA_TARGET_FLAGS): Append them here to {LIB,}C{,XX}FLAGS.
              (configure-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags
              for target modules.  Don't export LIBCFLAGS.
              (all-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags; pass
              $(BASE_FLAGS_TO_PASS) where [+args+] was passed, and [+args+] after
              the overridden CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
              (invocations of `all'): Replace $(TARGET_FLAGS_TO_PASS) with
              $(EXTRA_TARGET_FLAGS), $(FLAGS_TO_PASS) with $(EXTRA_HOST_FLAGS).
              * Makefile.in: Regenerate.
      
      2008-02-20  Paolo Bonzini  <bonzini@gnu.org>
      
              PR bootstrap/32009
      
              * mh-ppc-darwin (BOOT_CFLAGS): Reenable.
      		
      2008-02-20  Paolo Bonzini  <bonzini@gnu.org>
      
              * doc/install.texi: Correct references to CFLAGS, replacing them
              with BOOT_CFLAGS.  Document flags used during bootstrap for
              target libraries.
      
      From-SVN: r132479
      Paolo Bonzini committed
    • i386.h (SSE_VEC_FLOAT_MODE_P): New define. · d6023b50
      	* config/i386/i386.h (SSE_VEC_FLOAT_MODE_P): New define.
      	* config/i386/i386.md (*sse_setcc<mode>): Macroize from *sse_setccsf
      	and *sse_setccdf using MODEF mode iterator and SSE_FLOAT_MODE_P as
      	insn constraint.
      	(smin<mode>3): Ditto from similar patterns.
      	(smax<mode>3): Ditto.
      	(*ieee_smin<mode>3): Ditto.
      	(*ieee_smax<mode>3): Ditto.
      	* config/i386/sse.md (sse): New mode attribute.
      	(mov<mode>): Macroize expander from movv4sf and movv2df using
      	SSEMODEF2P mode iterator.
      	(<sse>_movnt<mode>): Ditto from similar patterns. Use
      	SSE_VEC_FLOAT_MODE_P as insn constraint.
      	(storent<mode>): Ditto.
      	(storent<mode>): Macroize expander from storentsf and storentdf using
      	MODEF mode iterator.
      	(neg<mode>2): Macroize from negv4sf2 and negv2df2 using SSEMODEF2P
      	mode iterator and SSE_VEC_FLOAT_MODE_P as insn constraint.
      	(abs<mode>2): Ditto from similar patterns.
      	(add<mode>3, *add<mode>3, <sse>_vmadd<mode>3): Ditto.
      	(sub<mode>3, *sub<mode>3, <sse>_vmsub<mode>3): Ditto.
      	(<sse>_div<mode>3, <sse>_vmdiv<mode>3): Ditto.
      	(<sse>_vmsqrt<mode>2): Ditto.
      	(smin<mode>3, *smin<mode>3_finite, *smin<mode>3)
      	(<sse>_vmsmin<mode>3, *ieee_smin<mode>3): Ditto.
      	(smax<mode>3, *smax<mode>3_finite, *smax<mode>3)
      	(<sse>_vmsmax<mode>3, *ieee_smax<mode>3): Ditto.
      	(<sse>_maskcmp<mode>3): Macroize from sse_maskcmpv4sf3,
      	sse_maskcmpsf3, sse2_maskcmpv2df3 and sse2_maskcmpdf3 using SSEMODEF4
      	mode iterator. Use SSE_FLOAT_MODE_P with SSE_VEC_FLOAT_MODE_P as
      	insn constraint.
      	(<sse>_comi): Macroize from sse_comi and sse2_comi using MODEF mode
      	iterator and SSE_FLOAT_MODE_P as insn constraint.
      	(<sse>_ucomi): Ditto from similar patterns.
      	(<sse>_vmmaskcmp<mode>3): Macroize from sse_vmmaskcmpv4sf3 and
      	sse2_vmmaskcmpv2df3 using SSEMODEF2P mode iterator and
      	SSE_VEC_FLOAT_MODE_P as insn constraint.
      	(vcond<mode>): Ditto from similar patterns.
      	(and<mode>3, *and<mode>3): Ditto.
      	(<sse>_nand<mode>3): Ditto.
      	(ior<mode>3, *ior<mode>3): Ditto.
      	(xor<mode>3, *xor<mode>3): Ditto.
      	(*and<mode>3): Macroize from *andsf3 and *anddf3 using MODEF mode
      	iterator and SSE_FLOAT_MODE_P as insn constraint.
      	(*nand<mode>3): Ditto from similar patterns.
      	(*ior<mode>3): Ditto.
      	(*xor<mode>3): Ditto.
      
      From-SVN: r132478
      Uros Bizjak committed
    • Makefile.am ($(TOOLS_ZIP)): Revert part of previous change, Do copy resource… · 57a65098
      Makefile.am ($(TOOLS_ZIP)): Revert part of previous change, Do copy resource files in JAVA_MAINTAINER_MODE only.
      
      2008-02-20  Matthias Klose  <doko@ubuntu.com>
      
              * tools/Makefile.am ($(TOOLS_ZIP)): Revert part of previous change,
              Do copy resource files in JAVA_MAINTAINER_MODE only.
              * tools/Makefile.in: Regenerate.
      
      From-SVN: r132474
      Matthias Klose committed
    • spu.md (vec_unpacku_hi_v8hi, [...]): Implement. · 76a893cf
      	* config/spu/spu.md (vec_unpacku_hi_v8hi, vec_unpacku_lo_v8hi,
      	vec_unpacks_hi_v8hi, vec_unpacks_lo_v8hi, vec_unpacku_hi_v16qi,
      	vec_unpacku_lo_v16qi, vec_unpacks_lo_v16qi): Implement.
      
      From-SVN: r132472
      Ira Rosen committed
    • struct-layout-1_generate.c (DG_OPTIONS): New define. · a8971bdb
      	* g++.dg/compat/struct-layout-1_generate.c (DG_OPTIONS): New define.
      	(switchfiles): Use DG_OPTIONS. Explicitly name arguments in fprintf
      	templates to reduce number of passed arguments.
      
      From-SVN: r132471
      Uros Bizjak committed
    • inclhack.def (solaris_math_10): New. · c951ae40
      	* inclhack.def (solaris_math_10): New.
      	* tests/base/iso/math_c99.h: Update.
      
      	* fixincl.x: Regenerate.
      
      From-SVN: r132468
      Kaveh R. Ghazi committed
    • traditional.c (lex_identifier): Use CPP_HASHNODE. · 2bf41bf0
      	* traditional.c (lex_identifier): Use CPP_HASHNODE.
      	* lex.c (lex_identifier): Use CPP_HASHNODE.
      	* include/line-map.h (LINEMAP_POSITION_FOR_COLUMN): Wrap in
      	do-while.
      	* identifiers.c (alloc_node): Change return type.
      	(_cpp_init_hashtable): Don't cast 'alloc_node'.
      	(proxy_assertion_broken): New declaration.
      	(cpp_forall_identifiers): Move comment.
      	* line-map.c (linemap_add): Comment fix.
      	(linemap_line_start): Indentation fix.
      
      From-SVN: r132467
      Tom Tromey committed
    • Add missing ChangeLog entry for revision 132455. · 18ca3965
      From-SVN: r132466
      H.J. Lu committed
    • Daily bump. · 0b442248
      From-SVN: r132461
      GCC Administrator committed
  2. 19 Feb, 2008 28 commits