* m32.c (m32c_pushm_popm): Use crtl->retrun_rtx.

From-SVN: r134240
This commit is contained in:
Jan Hubicka 2008-04-13 16:05:31 +02:00 committed by Jan Hubicka
parent 298ac1dd20
commit 305da3ecc8
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2008-04-13 Jan Hubicka <jh@suse.cz>
* m32.c (m32c_pushm_popm): Use crtl->retrun_rtx.
2008-04-12 Andrew Pinski <pinskia@gmail.com>
* config/rs6000/rs6000.c (compute_save_world_info): Set lr_save_p if

View File

@ -1281,11 +1281,11 @@ m32c_pushm_popm (Push_Pop_Type ppt)
int n_dwarfs = 0;
int nosave_mask = 0;
if (cfun->return_rtx
&& GET_CODE (cfun->return_rtx) == PARALLEL
if (crtl->return_rtx
&& GET_CODE (crtl->return_rtx) == PARALLEL
&& !(cfun->calls_eh_return || cfun->machine->is_interrupt))
{
rtx exp = XVECEXP (cfun->return_rtx, 0, 0);
rtx exp = XVECEXP (crtl->return_rtx, 0, 0);
rtx rv = XEXP (exp, 0);
int rv_bytes = GET_MODE_SIZE (GET_MODE (rv));