------- Comment #4 from rsandifo at gcc dot gnu dot org  2006-09-10 19:36 
-------
Subject: Bug 29006

Author: rsandifo
Date: Sun Sep 10 19:36:20 2006
New Revision: 116824

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116824
Log:
gcc/
        PR target/29006
        * config/mips/mips-protos.h (mips_mem_fits_mode_p): Declare.
        * config/mips/mips.c (mips_expand_unaligned_store): Use the mode
        returned by mode_for_size, rather than the mode of src itself,
        to choose between 32-bit and 64-bit patterns.
        (mips_mem_fits_mode_p): New function.
        * config/mips/mips.md (mov_<load>l, mov_<load>r): Use it to check
        that the size of the source matches the size of the destination.
        (mov_<store>l, mov_<store>r): Likewise.

gcc/testsuite/
        PR target/29006
        * gcc.c-torture/execute/pr29006.c: New test.

Added:
    branches/gcc-4_0-branch/gcc/testsuite/gcc.c-torture/execute/pr29006.c
Modified:
    branches/gcc-4_0-branch/gcc/ChangeLog
    branches/gcc-4_0-branch/gcc/config/mips/mips-protos.h
    branches/gcc-4_0-branch/gcc/config/mips/mips.c
    branches/gcc-4_0-branch/gcc/config/mips/mips.md
    branches/gcc-4_0-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29006

Reply via email to