diff options
author | Steve Ellcey <sje@cup.hp.com> | 2009-06-17 15:37:20 +0000 |
---|---|---|
committer | Steve Ellcey <sje@gcc.gnu.org> | 2009-06-17 15:37:20 +0000 |
commit | a1a65f89285e88ea19cec1650d76a26de83bdcc6 (patch) | |
tree | 6185d041260aacaf2401b1cae3c41dd35fff624b /gcc/expr.c | |
parent | 07ae5620f974a7a0d74fab9ab83260302574078b (diff) | |
download | gcc-a1a65f89285e88ea19cec1650d76a26de83bdcc6.tar.gz |
expr.c (expand_assignment): Change complex type check.
2009-06-17 Steve Ellcey <sje@cup.hp.com>
* expr.c (expand_assignment): Change complex type check.
From-SVN: r148614
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expr.c b/gcc/expr.c index 34137c0cd07..94f0bcf0df6 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -4250,7 +4250,7 @@ expand_assignment (tree to, tree from, bool nontemporal) /* Handle expand_expr of a complex value returning a CONCAT. */ if (GET_CODE (to_rtx) == CONCAT) { - if (TREE_CODE (TREE_TYPE (from)) == COMPLEX_TYPE) + if (COMPLEX_MODE_P (TYPE_MODE (TREE_TYPE (from)))) { gcc_assert (bitpos == 0); result = store_expr (from, to_rtx, false, nontemporal); |