diff options
author | Jim Wilson <wilson@cygnus.com> | 1999-04-01 12:05:24 +0000 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1999-04-01 04:05:24 -0800 |
commit | 6ab06cbb5b0861f9c65f009eba3d6cddbce7910b (patch) | |
tree | c11c8bc50da3378bf10813b97d5e0337fd7e9318 /gcc/expr.c | |
parent | b7c8ae04e12945b1450e8e3a5ed1aaedad94cfed (diff) | |
download | gcc-6ab06cbb5b0861f9c65f009eba3d6cddbce7910b.zip gcc-6ab06cbb5b0861f9c65f009eba3d6cddbce7910b.tar.gz gcc-6ab06cbb5b0861f9c65f009eba3d6cddbce7910b.tar.bz2 |
Fix irix6 libstdc++ v3 build failure with complex types.
* expr.c (store_field): When check direct_store, assume all complex
modes can be directly stored.
From-SVN: r26104
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4608,7 +4608,9 @@ store_field (target, bitsize, bitpos, mode, exp, value_mode, Use bit-field techniques or SUBREG to store in it. */ if (mode == VOIDmode - || (mode != BLKmode && ! direct_store[(int) mode]) + || (mode != BLKmode && ! direct_store[(int) mode] + && GET_MODE_CLASS (mode) != MODE_COMPLEX_INT + && GET_MODE_CLASS (mode) != MODE_COMPLEX_FLOAT) || GET_CODE (target) == REG || GET_CODE (target) == SUBREG /* If the field isn't aligned enough to store as an ordinary memref, |