[PATCH] Fix for PR 37809 and 37807

Uros Bizjak ubizjak@gmail.com
Thu Nov 13 22:54:00 GMT 2008


Kaveh R. GHAZI wrote:

>>>>> 2008-10-19  Ralph Loader  <suckfish@ihug.co.nz>
>>>>>
>>>>>        PR middle-end/37807, middle-end/37809
>>>>>        * combine.c (force_to_mode): Do not process vector types.
>>>>>
>>>>>        * rtlanal.c (nonzero_bits1): Do not process vector types.
>>>>>        (num_sign_bit_copies1): Likewise.
>>>>>           
>
> The testcase mmx-8.c crashes on the 4.3/4.2 branches, e.g.
> http://gcc.gnu.org/ml/gcc-testresults/2008-11/msg01056.html
>   
The fix for rtl-optimization/36438 [1], [2] needs to be backported to 
4.3 and 4.2 branch.

[1] http://gcc.gnu.org/PR36438
[2] http://gcc.gnu.org/ml/gcc-patches/2008-06/msg00268.html

2008-11-13  Uros Bizjak  <ubizjak@gmail.com>

    Backport from mainline:
    2008-06-06  Uros Bizjak <ubizjak@gmail.com>

    PR rtl-optimization/36438
    * cse.c (fold_rtx) [ASHIFT, LSHIFTRT, ASHIFTRT]: Break out early
    for vector shifts with constant scalar shift operands.

testsuite/ChangeLog:

2008-11-13  Uros Bizjak  <ubizjak@gmail.com>

    Backport from mainline:
    2008-06-06  Uros Bizjak <ubizjak@gmail.com>

    PR rtl-optimization/36438
    * gcc.target/i386/pr36438.c

Patch was bootstrapped and regression tested on x86_64-pc-linux-gnu 
{,-m32} and committed to 4.3 branch. It will be committed to 4.2 after 
regression test ends.

Uros.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: p.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20081113/06e555ce/attachment.txt>


More information about the Gcc-patches mailing list