diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-09-10 19:28:48 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-09-10 19:28:48 +0000 |
commit | ee116d2bb794dacbae64f973c8741037cfa8dc46 (patch) | |
tree | b9dc496a59b71728c2401746553b841ebcbcaa38 /gcc/fortran/resolve.c | |
parent | 2805e80bf76f40b224a465a73733e2ed5a7e81b5 (diff) | |
download | ppe42-gcc-ee116d2bb794dacbae64f973c8741037cfa8dc46.tar.gz ppe42-gcc-ee116d2bb794dacbae64f973c8741037cfa8dc46.zip |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116822 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions