This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

(fwd) One more fix for reload inheritance


Path: cygnus.co.uk!cygnus.com!newsgate-cygnus!pool.informatik.rwth-aachen.de!crux
From: crux@pool.informatik.rwth-aachen.de (Bernd Schmidt)
Newsgroups: cygnus.egcs.patches
Subject: One more fix for reload inheritance
Date: 13 Nov 1998 14:32:41 -0800
Organization: Cygnus Solutions news/mail gateway
Lines: 64
Message-ID: <Pine.GSO.4.02A.9811132145160.2863-100000.cygnus.egcs.patches@jennifer.informatik.rwth-aachen.de>
NNTP-Posting-Host: runyon.cygnus.com
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
To: egcs-patches@cygnus.com
Xref: cygnus.co.uk cygnus.egcs.patches:3583

+  CLEAR_HARD_REG_SET (reg_used_in_insn);
+  {
+    HARD_REG_SET tmp;
+    REG_SET_TO_HARD_REG_SET (tmp, chain->live_before);
+    IOR_HARD_REG_SET (reg_used_in_insn, tmp);

Registers that are life before INSN should be OK to clobber, as long as they
aren't life after INSN.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]