From: Jan Hubicka Date: Sun, 10 Nov 2002 19:59:26 +0000 (+0000) Subject: FOrgot to commit the file itself. Changelog entry is already at: X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=04989d158cc39ebcaf4fe5d3bb66500ab31fde1d;p=gcc.git FOrgot to commit the file itself. Changelog entry is already at: * reg-stack.c (compensate_edge): Fix sanity check. From-SVN: r58988 --- diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c index 4d37cecc886..18bfeca3c75 100644 --- a/gcc/reg-stack.c +++ b/gcc/reg-stack.c @@ -2553,7 +2553,11 @@ compensate_edge (e, file) abort (); eh1: + /* We are sure that there is st(0) live, otherwise we won't compensate. + For complex return values, we may have st(1) live as well. */ SET_HARD_REG_BIT (tmp, FIRST_STACK_REG); + if (TEST_HARD_REG_BIT (regstack.reg_set, FIRST_STACK_REG + 1)) + SET_HARD_REG_BIT (tmp, FIRST_STACK_REG + 1); GO_IF_HARD_REG_EQUAL (regstack.reg_set, tmp, eh2); abort (); eh2: