diff options
author | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-27 14:02:09 +0000 |
---|---|---|
committer | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-27 14:02:09 +0000 |
commit | dd430c7818adb558fc350ed2026a30a4bd5c6c18 (patch) | |
tree | 2ced8b584e90f8b022335616587e8b9489a8d065 /gcc/config | |
parent | d76fd36d02e555d579a7f6c3e11b3a9c8afbab01 (diff) | |
download | gcc-dd430c7818adb558fc350ed2026a30a4bd5c6c18.tar.gz |
gcc/
2009-04-27 H.J. Lu <hongjiu.lu@intel.com>
PR target/39903
* config/i386/i386.c (construct_container): Don't call
gen_reg_or_parallel with BLKmode on X86_64_SSE_CLASS,
X86_64_SSESF_CLASS and X86_64_SSEDF_CLASS.
gcc/testsuite/
2009-04-27 H.J. Lu <hongjiu.lu@intel.com>
PR target/39903
* gcc.dg/torture/pr39903-1.c: New.
* gcc.dg/torture/pr39903-2.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146842 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/i386/i386.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 72e9e7172e9..9a374bacd55 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -5466,7 +5466,10 @@ construct_container (enum machine_mode mode, enum machine_mode orig_mode, case X86_64_SSE_CLASS: case X86_64_SSESF_CLASS: case X86_64_SSEDF_CLASS: - return gen_reg_or_parallel (mode, orig_mode, SSE_REGNO (sse_regno)); + if (mode != BLKmode) + return gen_reg_or_parallel (mode, orig_mode, + SSE_REGNO (sse_regno)); + break; case X86_64_X87_CLASS: case X86_64_COMPLEX_X87_CLASS: return gen_rtx_REG (mode, FIRST_STACK_REG); |