From 305da3ecc8b8f9c1e62204b73fad3d242276e91d Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Sun, 13 Apr 2008 16:05:31 +0200 Subject: [PATCH] * m32.c (m32c_pushm_popm): Use crtl->retrun_rtx. From-SVN: r134240 --- gcc/ChangeLog | 4 ++++ gcc/config/m32c/m32c.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) 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)); -- 2.30.2