1. 18 Nov, 2008 10 commits
  2. 17 Nov, 2008 9 commits
    • mips.h (REG_ALLOC_ORDER): Put accumulators first. · e08be11c
      gcc/
      	* config/mips/mips.h (REG_ALLOC_ORDER): Put accumulators first.
      	Tweak formatting.
      	* config/mips/mips.c (mips_ira_cover_classes): Don't use accumulator
      	registers when not optimizing.
      
      gcc/testsuite/
      	* gcc.target/mips/dspr2-MULT.c: Just check for $ac1 and $ac2.
      	* gcc.target/mips/dspr2-MULTU.c: Likewise.
      
      From-SVN: r141955
      Richard Sandiford committed
    • mips.md (*mul_acc_si): Remove middle alternative and its associated define_split. · 839380ee
      gcc/
      	* config/mips/mips.md (*mul_acc_si): Remove middle alternative
      	and its associated define_split.  Expose the all-d alternative
      	to the register allocator, but mark it with "?".  Mark the first
      	alternative with "*?*?".
      	(*mul_sub_si): Likewise.
      	(*mul_acc_si_r3900): New pattern.
      
      gcc/testsuite/
      	* gcc.target/mips/madd-5.c: New test.
      	* gcc.target/mips/madd-6.c: Likewise.
      	* gcc.target/mips/madd-7.c: Likewise.
      	* gcc.target/mips/madd-8.c: Likewise.
      	* gcc.target/mips/msub-5.c: Likewise.
      	* gcc.target/mips/msub-6.c: Likewise.
      	* gcc.target/mips/msub-7.c: Likewise.
      	* gcc.target/mips/msub-8.c: Likewise.
      
      From-SVN: r141954
      Richard Sandiford committed
    • no-smartmips-ror-1.c: Use -march=mips32 instead of -march=mips32r2. · 2cf1a19e
      gcc/testsuite/
      	* gcc.target/mips/no-smartmips-ror-1.c: Use -march=mips32 instead
      	of -march=mips32r2.
      
      From-SVN: r141953
      Richard Sandiford committed
    • default_format_denormal_1.f90: Don't XFAIL darwin10 or later. · 77292df6
      2008-11-17  Jack Howarth  <howarth@bromo.med.uc.edu>
      
      	* gfortran.dg/default_format_denormal_1.f90: Don't XFAIL darwin10
      	or later.
      
      From-SVN: r141950
      Jack Howarth committed
    • re PR middle-end/38140 (ice for C code with -O2) · 286ba5b3
      	PR middle-end/38140
      	* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): If
      	propagating x = &a into *x = b, add a cast if not useless
      	type conversion or don't optimize if another stmt would be
      	needed.
      
      	* gcc.dg/pr38140.c: New test.
      
      From-SVN: r141949
      Jakub Jelinek committed
    • re PR testsuite/38099 (tmpdir-gcc.dg-struct-layout-1/t027… · 5ef87778
      re PR testsuite/38099 (tmpdir-gcc.dg-struct-layout-1/t027 c_compat_x_tst.o-c_compat_y_tst.o execute failure)
      
      2008-11-14  Jack Howarth  <howarth@bromo.med.uc.edu>
              
              PR testsuite/38099
      	* gcc.dg/compat/struct-layout-1_generate.c: Also use -no-mmx on
      	i?86/x86_64 darwin.
      	* g++.dg/compat/struct-layout-1_generate.c: Same.
      
      From-SVN: r141948
      Jack Howarth committed
    • re PR middle-end/37908 (atomic NAND op generate wrong code;… · 23462d4d
      re PR middle-end/37908 (atomic NAND op generate wrong code; __sync_nand_and_fetch, __sync_fetch_and_nand)
      
      	PR middle-end/37908
      	* optabs.c (expand_sync_operation): Properly handle NAND case
      	by calculating ~(t1 & val) instead of (~t1 & val).
      	* builtins.c (expand_builtin_sync_operation): Warn for changed
      	semantics in NAND builtins.
      	* c.opt (Wsync-nand): New warning option.  Describe -Wsync-nand.
      	
      	* doc/invoke.texi (Warning options): Add Wsync-nand.
      	* doc/extend.texi (Atomic Builtins) [__sync_fetch_and_nand]: Correct
      	__sync_fetch_and_nand builtin operation in the example.  Add a note
      	about changed semantics in GCC 4.4.
      	[__sync_nand_and_fetch]: Correct __sync_nand_and_fetch builtin
      	operation in the example.  Add a note about changed semantics in
      	GCC 4.4.
      
      testsuite/ChangeLog:
      
      	PR middle-end/37908
      	* gcc.dg/pr37908.c: New test.
      	* gcc.dg/ia64-sync-1.c: Correct __sync_fetch_and_nand and
      	__sync_nand_and_fetch results.  Add dg-message to look for the warning
      	about changed semantics of NAND builtin.
      	(init_si, init_di): Change init value for __sync_fetch_and_nand to -1.
      	(test_si, test_di): Change expected result of
      	__sync_nand_and_fetch to ~7.
      	* gcc.dg/ia64-sync-2.c: Correct __sync_fetch_and_nand and
      	__sync_nand_and_fetch results.  Add dg-message to look for the warning
      	about changed semantics of NAND builtin.
      	(init_noret_si, init_noret_di): Change init value for
      	__sync_fetch_and_nand to -1.
      	(init_noret_si, init_noret_di): Change expected result of
      	__sync_nand_and_fetch to ~7.
      	* gcc.dg/sync-2.c: Correct __sync_fetch_and_nand and
      	__sync_nand_and_fetch results.  Add dg-message to look for the warning
      	about changed semantics of NAND builtin.
      	(init_qi, init_qi): Change init value for __sync_fetch_and_nand to -1.
      	(init_hi, init_hi): Change expected result of
      	__sync_nand_and_fetch to ~7.
      	* gcc.dg/sync-3.c: Copy from sync-2.c instead of including
      	the c source file.
      	* gcc.c-torture/compile/sync-1.c: Add dg-message to look for the
      	warning about changed semantics of NAND builtin.
      	* gcc.c-torture/compile/sync-2.c: Ditto.
      	* gcc.c-torture/compile/sync-3.c: Ditto.
      
      From-SVN: r141942
      Uros Bizjak committed
    • re PR c++/36089 (Funny rejects valid with constant integral expression) · 73ce7fcb
      	PR c++/36089
      	* init.c (constant_value_1): Handle TREE_LIST init.
      
      	* g++.dg/template/init8.C: New test.
      
      From-SVN: r141941
      Jakub Jelinek committed
    • Daily bump. · f92efbc3
      From-SVN: r141934
      GCC Administrator committed
  3. 16 Nov, 2008 17 commits
  4. 15 Nov, 2008 4 commits