]> git.ipfire.org Git - thirdparty/gcc.git/commit
combine.c (simplify_shift_const): Fix typo.
authorPaolo Bonzini <bonzini@gnu.org>
Fri, 23 Dec 2005 16:07:53 +0000 (16:07 +0000)
committerPaolo Bonzini <bonzini@gcc.gnu.org>
Fri, 23 Dec 2005 16:07:53 +0000 (16:07 +0000)
commit41e8659ef1cd6f069608490882ddcc179634283e
tree998c72bef1523c8d05cc6f1b61f8afc54b5b3c7a
parentcb29234501cd27d2d78a4a3040cc6a0890c96b32
combine.c (simplify_shift_const): Fix typo.

2005-12-23  Paolo Bonzini  <bonzini@gnu.org>

        * combine.c (simplify_shift_const): Fix typo.  Use, whenever
applicable, simplify_const_binary_operation.

        (simplify_shift_const): Leave only the fallback
        case when no simplification is possible.  Extract to...
        (simplify_shift_const_1): ... here.  Always create a new
        RTX instead of substituting.  Remove the signed_count variable.
        Return NULL_RTX if no substitution is possible.

        (simplify_and_const_int): Leave only the fallback
        case when no simplification is possible.  Extract to...
        (simplify_and_const_int_1): ... here.  Always create a new
        RTX instead of substituting.  Return NULL_RTX if no substitution
        is possible.

        (force_to_mode, simplify_comparison): Don't pass a non-NULL first
        parameter to simplify_and_const_int and simplify_shift_const,
        unless it is equal to the expected non-simplified result.

From-SVN: r109016
gcc/ChangeLog
gcc/combine.c