From: Jan Hubicka Date: Sun, 13 Apr 2008 14:05:31 +0000 (+0200) Subject: * m32.c (m32c_pushm_popm): Use crtl->retrun_rtx. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=305da3ecc8b8f9c1e62204b73fad3d242276e91d;p=gcc.git * m32.c (m32c_pushm_popm): Use crtl->retrun_rtx. From-SVN: r134240 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9aa7f7dcac6..b15e712aea4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2008-04-13 Jan Hubicka + + * m32.c (m32c_pushm_popm): Use crtl->retrun_rtx. + 2008-04-12 Andrew Pinski * config/rs6000/rs6000.c (compute_save_world_info): Set lr_save_p if diff --git a/gcc/config/m32c/m32c.c b/gcc/config/m32c/m32c.c index f1346f46775..c19fd4ed2cd 100644 --- a/gcc/config/m32c/m32c.c +++ b/gcc/config/m32c/m32c.c @@ -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));