mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-10 01:00:56 +08:00
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
This commit is contained in:
parent
07ae5620f9
commit
a1a65f8928
@ -1,3 +1,7 @@
|
||||
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.
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user