From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 10220 invoked from network); 15 Oct 1998 22:22:55 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 15 Oct 1998 22:22:54 -0000 Received: from cygnus.com (runyon.cygnus.com [205.180.230.5]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id SAA15024 for ; Thu, 15 Oct 1998 18:15:58 -0400 Received: from dot.cygnus.com (dot.cygnus.com [205.180.230.224]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id PAA21106 for ; Thu, 15 Oct 1998 15:15:53 -0700 (PDT) Received: (rth@localhost) by dot.cygnus.com (8.8.7/8.6.4) id PAA23231; Thu, 15 Oct 1998 15:15:53 -0700 Message-ID: <19981015151553.B23202@dot.cygnus.com> Date: Thu, 15 Oct 1998 15:15:53 -0700 From: Richard Henderson To: axp-list@redhat.com Subject: Re: linux-2.1.125 on Alpha 164LX Reply-To: Richard Henderson References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1 In-Reply-To: ; from His Holiness the Reverend Doktor Xenophon Fenderson, the Carbondated on Wed, Oct 14, 1998 at 09:12:38PM -0500 > Yay! Booted up 2.1.125 (SMP target compiled with egcs-1.1 and > binutils-2.9.1.0.6), as desired. Except it hung right after the > "Console: colour VGA+ 80x25" message. Oh well, I'm in the process of > recompiling it with gcc-2.7.2.3-8, so we'll see what happens. There was a bug in egcs 1.1 that affected the SMP kernel. r~ Sat Sep 5 21:46:47 1998 Richard Henderson * alpha.c (alpha_ra_ever_killed): Inspect the topmost sequence, not whatever we're generating now. Index: config/alpha/alpha.c =================================================================== RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/alpha/alpha.c,v retrieving revision 1.53 retrieving revision 1.53.2.1 diff -u -p -r1.53 -r1.53.2.1 --- alpha.c 1998/07/06 23:32:38 1.53 +++ alpha.c 1998/09/05 21:32:20 1.53.2.1 @@ -2468,6 +2468,8 @@ alpha_return_addr (count, frame) static int alpha_ra_ever_killed () { + rtx top; + #ifdef ASM_OUTPUT_MI_THUNK if (current_function_is_thunk) return 0; @@ -2475,8 +2477,11 @@ alpha_ra_ever_killed () if (!alpha_return_addr_rtx) return regs_ever_live[REG_RA]; - return reg_set_between_p (gen_rtx_REG (Pmode, REG_RA), - get_insns(), NULL_RTX); + push_topmost_sequence (); + top = get_insns(); + pop_topmost_sequence (); + + return reg_set_between_p (gen_rtx_REG (Pmode, REG_RA), top, NULL_RTX); }