* expr.c (expand_assignment): Change complex type check.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148614
138bc75d-0d04-0410-961f-
82ee72b054a4
+2009-06-17 Steve Ellcey <sje@cup.hp.com>
+
+ * expr.c (expand_assignment): Change complex type check.
+
2009-06-17 Basile Starynkevitch <basile@starynkevitch.net>
* doc/plugins.texi (Building GCC plugins): Added new section.
/* 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);