1. 10 Jan, 2007 10 commits
    • Makefile.am (install-exec-hook): Support $(DESTDIR). · 02b8fc06
      2007-01-10  Matthias Klose  <doko@debian.org> 
       
              * Makefile.am (install-exec-hook): Support $(DESTDIR). 
              * Makefile.in: Regenerated.
      
      From-SVN: r120639
      Matthias Klose committed
    • function.c (get_last_funcdef_no): New function. · 3e87758a
      2007-01-10  Razya Ladelsky  <razya@il.ibm.com>
      
              * function.c (get_last_funcdef_no): New function.
              * function.h (get_last_funcdef_no): Declare.
              * tree-inline.c (initialize_cfun): Add initialization.
              (tree_function_versioning): Cleanup.
      
      From-SVN: r120638
      Razya Ladelsky committed
    • tree-inline.c (setup_one_parameter): Do not propagate into abnormal PHIs. · 9b718f81
      	* tree-inline.c (setup_one_parameter): Do not propagate into abnormal
      	PHIs.
      
      From-SVN: r120637
      Jan Hubicka committed
    • simplify.c (gfc_simplify_ibclr): Fix POS comparison. · 3775c3dc
      * simplify.c (gfc_simplify_ibclr): Fix POS comparison.
      (gfc_simplify_ibset): Same.
      
      From-SVN: r120636
      Brooks Moses committed
    • re PR fortran/30381 ([4.1 only] ISHFTC() constant folding is broken.) · f1dcb9bf
      PR 30381
      PR 30420
      * fortran/simplify.c (convert_mpz_to_unsigned): New function.
      	(convert_mpz_to_signed): New function, largely based on
      	twos_complement().
      	(twos_complement): Removed.
      	(gfc_simplify_ibclr): Add conversions to and from an
      	unsigned representation before bit-twiddling.
      	(gfc_simplify_ibset): Same.
      	(gfc_simplify_ishftc): Add checks for overly large
      	constant arguments, only check the third argument if
      	it's present, carry over high bits into	the result as
      	appropriate, and perform the final conversion back to
      	a signed representation using the correct sign bit.
      	(gfc_simplify_not): Removed unnecessary masking.
      * testsuite/gfortran.dg/
      	* chkbits.f90: Added IBCLR tests; test calls for
      	different integer kinds.
      	* ishft.f90: Renamed to ishft_1.f90...
      	* ishft_1.f90: ...Renamed from ishft.f90.
      	* ishft_2.f90: New test.
      	* ishft_3.f90: New test.
      
      From-SVN: r120634
      Brooks Moses committed
    • spu.h (STACK_SAVE_AREA): Use VOIDmode for SAVE_FUNCTION... · e1f1d97f
      	* spu.h (STACK_SAVE_AREA): Use VOIDmode for SAVE_FUNCTION, SImode
      	for SAVE_NONLOCAL and Pmode for any other save level.
      	* spu-protos.h (spu_restore_stack_block): Declare.
      	* spu.md (save_stack_block): Remove.
      	(restore_stack_block): Call spu_restore_stack_block.
      	* spu.c (spu_restore_stack_block): New function.
      	(spu_expand_epilogue): Remove old comment.
      
      Co-Authored-By: Ben Elliston <bje@au.ibm.com>
      
      From-SVN: r120633
      Sa Liu committed
    • [multiple changes] · 0b30ba3b
      2007-01-09  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/30408
      	* resolve.c (resolve_code): Use the code->expr character length
      	directly to set length of llen.
      
      2007-01-09  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/30408
      	* lang.opt: Add Wcharacter_truncation option.
      	* options.c (gfc_init_options): Initialize
      	gfc_option.warn_character_truncation to zero.
      	(gfc_handle_option): Add case for OPT_Wcharacter_truncation.
      
      From-SVN: r120632
      Jerry DeLisle committed
    • * gfortran.dg/altreturn_2.f90: Removed executable bit. · c49a1f9e
      From-SVN: r120631
      Brooks Moses committed
    • re PR middle-end/30322 (((-i-1) + i) +1) is turned into ~i + (i+1) and never… · 7e2ac86c
      re PR middle-end/30322 (((-i-1) + i) +1) is turned into ~i + (i+1) and never into 0 on the tree level)
      
      	PR tree-optimization/30322
      	* tree-ssa-loop-ivopts.c (fold_affine_expr, iv_value): Removed.
      	(cand_value_at): Return the value as aff_tree.
      	(may_eliminate_iv): Convert the bound from aff_tree to tree.
      	* tree-affine.c (aff_combination_add_cst, aff_combination_add_product,
      	aff_combination_mult): New functions.
      	(aff_combination_add): Use aff_combination_add_cst.
      	(aff_combination_convert): Allow conversions to a wider type.
      	(tree_to_aff_combination): Handle BIT_NOT_EXPR.
      	* tree-affine.h (aff_combination_mult): Declare.
      
      	* gcc.dg/tree-ssa/loop-21.c: New test.
      
      From-SVN: r120630
      Zdenek Dvorak committed
    • Daily bump. · 92c25b55
      From-SVN: r120628
      GCC Administrator committed
  2. 09 Jan, 2007 12 commits
  3. 08 Jan, 2007 18 commits