1. 29 Jun, 2005 31 commits
  2. 28 Jun, 2005 9 commits
    • * tree-optimize.c (init_tree_optimization_passes): Fix typo. · 38c955ff
      From-SVN: r101399
      Diego Novillo committed
    • re PR libfortran/22142 ([4.0 only] eoshift: boundary not filled in correctly) · 7f8f6d5f
      2005-06-28  Thomas Koenig  <Thomas.Koenig@online.de>
      
              PR libfortran/22142
              * m4/eoshift1.m4:  Correct bstride (it needs to be multiplied
              by size since it's a char pointer).
              * m4/eoshift1_4.c:  Regenerated.
              * m4/eoshift1_8.c:  Regenerated.
      
      2005-06-28  Thomas Koenig  <Thomas.Koenig@online.de>
      
              PR libfortran/22142
              * gfortran.fortran-torture/execute/intrinsic_eoshift.f90:
              Add testcase also testing eoshift1 for PR 22142.
      
      From-SVN: r101398
      Thomas Koenig committed
    • rs6000.md (setmemsi): s/operand/operands/. · a05be2e0
      2005-06-28  Andrew Pinski  <pinskia@physics.uc.edu>
      
              * config/rs6000/rs6000.md (setmemsi): s/operand/operands/.
      
      From-SVN: r101397
      Andrew Pinski committed
    • ia64.c (ia64_expand_vecint_compare): Use unsigned saturating subtraction for QI… · e934ca47
      ia64.c (ia64_expand_vecint_compare): Use unsigned saturating subtraction for QI and HImode unsigned compares.
      
              * config/ia64/ia64.c (ia64_expand_vecint_compare): Use unsigned
              saturating subtraction for QI and HImode unsigned compares.  Use
              bit arithmetic tricks for SImode unsigned compares.
              (ia64_expand_vcondu_v2si): Remove.
              (ia64_expand_vecint_cmov): Don't call it.
      
      From-SVN: r101396
      Richard Henderson committed
    • rtlanal.c (nonzero_bits1): Use the mode of the value for determining integral-ness for comparisons. · 505ac507
              * rtlanal.c (nonzero_bits1): Use the mode of the value for
              determining integral-ness for comparisons.
      
      From-SVN: r101395
      Richard Henderson committed
    • rs6000.md (setmemsi): Fix operand 2. · 98843c92
      2005-06-28  Andrew Pinski  <pinskia@physics.uc.edu>
      
              * config/rs6000/rs6000.md (setmemsi): Fix operand 2.
      
      From-SVN: r101394
      Andrew Pinski committed
    • 20030708-1.c: Remove static from test function. · 777c8889
              * gcc.dg/tree-ssa/20030708-1.c: Remove static from test function.
              * gcc.dg/tree-ssa/20030709-1.c, gcc.dg/tree-ssa/20030714-1.c,
              gcc.dg/tree-ssa/20030807-1.c, gcc.dg/tree-ssa/20030807-5.c,
              gcc.dg/tree-ssa/20030807-8.c, gcc.dg/tree-ssa/20030815-1.c,
              gcc.dg/tree-ssa/20030922-2.c: Likewise.
      
      From-SVN: r101393
      Richard Henderson committed
    • re PR libfortran/22142 ([4.0 only] eoshift: boundary not filled in correctly) · 0f363a3b
      2005-06-28  Thomas Koenig  <Thomas.Koenig@online.de>
      
              PR libfortran/22142
              * m4/eoshift3.m4:  Correct bstride (it needs to be multiplied
              by size since it's a char pointer).
              * m4/eoshift3_4.c:  Regenerated.
              * m4/eoshift3_8.c:  Regenerated.
      
      2005-06-28  Thomas Koenig  <Thomas.Koenig@online.de>
      
              PR libfortran/22142
              * gfortran.fortran-torture/execute/intrinsic_eoshift.f90:
              Add testcase for PR 22142.
      
      From-SVN: r101392
      Thomas Koenig committed
    • target.h (invalid_conversion, [...]): New hooks. · 4de67c26
      	* target.h (invalid_conversion, invalid_unary_op,
      	invalid_binary_op): New hooks.
      	* target-def.h (TARGET_INVALID_CONVERSION,
      	TARGET_INVALID_UNARY_OP, TARGET_INVALID_BINARY_OP,
      	TARGET_INITIALIZER): Likewise.
      	* hooks.h (hook_constcharptr_tree_tree_null,
      	hook_constcharptr_int_tree_null,
      	hook_constcharptr_int_tree_tree_null): New.
      	* hooks.c (hook_constcharptr_tree_tree_null,
      	hook_constcharptr_int_tree_null,
      	hook_constcharptr_int_tree_tree_null): Likewise.
      	* gcc/doc/tm.texi (TARGET_INVALID_CONVERSION,
      	TARGET_INVALID_UNARY_OP, TARGET_INVALID_BINARY_OP): Document.
      	* c-convert.c (convert): Use invalid_conversion hook.
      	* c-typeck.c (build_unary_op): Use invalid_unary_op hook.
      	(build_binary_op): Use invalid_binary_op hook.
      	* config/ia64/ia64-modes.def: Define RFmode.
      	* config/ia64/ia64-protos.h (spill_xfmode_operand): Remove.
      	(ia64_expand_movxf_movrf): New.
      	* config/ia64/ia64.md (movxf): Move code to
      	ia64_expand_movxf_movrf.
      	(movrf, movrf_internal): New.
      	* ia64.c (ia64_invalid_conversion, ia64_invalid_unary_op,
      	ia64_invalid_binary_op, TARGET_INVALID_CONVERSION,
      	TARGET_INVALID_UNARY_OP, TARGET_INVALID_BINARY_OP): New.
      	(spill_xfmode_operand): Rename to spill_xfmode_rfmode_operand.
      	Add mode parameter.  Make static.
      	(ia64_expand_movxf_movrf): New, moved from ia64.md.  Handle RFmode
      	as well as XFmode.
      	(ia64_function_arg, ia64_function_value, ia64_register_move_cost,
      	ia64_scalar_mode_supported_p): Handle RFmode as well as XFmode.
      	(ia64_init_builtins): Set up __fpreg as RFmode.
      	(ia64_mangle_fundamental_type): Mangle __fpreg as u7__fpreg.
      
      cp:
      	* cvt.c (ocp_convert): Use invalid_conversion hook.
      	* typeck.c (build_binary_op): Use invalid_binary_op hook.
      	(build_unary_op): Use invalid_unary_op hook.
      
      testsuite:
      	* g++.dg/ext/fpreg1.C, gcc.target/ia64/fpreg-1.c,
      	gcc.target/ia64/fpreg-2.c: New tests.
      
      From-SVN: r101391
      Joseph Myers committed