* expr.c (convert_move): Handle moves between two CONCATs.

From-SVN: r67760
This commit is contained in:
J"orn Rennecke 2003-06-11 12:32:47 +00:00 committed by Joern Rennecke
parent cf874806a6
commit 06765df195
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2003-06-11 J"orn Rennecke <joern.rennecke@superh.com>
* expr.c (convert_move): Handle moves between two CONCATs.
2003-06-11 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.h (RETURN_IN_MEMORY): Accept DImode if

View file

@ -606,6 +606,13 @@ convert_move (to, from, unsignedp)
return;
}
if (GET_CODE (to) == CONCAT && GET_CODE (from) == CONCAT)
{
convert_move (XEXP (to, 0), XEXP (from, 0), unsignedp);
convert_move (XEXP (to, 1), XEXP (from, 1), unsignedp);
return;
}
if (to_real != from_real)
abort ();