This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: pa reload problem
- To: Richard Henderson <rth at redhat dot com>
- Subject: Re: pa reload problem
- From: Michael Meissner <meissner at cygnus dot com>
- Date: Mon, 11 Dec 2000 16:27:22 -0500
- Cc: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>, alan at linuxcare dot com dot au, law at cygnus dot com, rhirst at linuxcare dot com, parisc-linux at thepuffingroup dot com, gcc-bugs at gcc dot gnu dot org
- References: <20001206161627.C1272@redhat.com> <200012082205.RAA22208@hiauly1.hia.nrc.ca> <20001208154527.B4084@redhat.com>
On Fri, Dec 08, 2000 at 03:45:27PM -0800, Richard Henderson wrote:
> On Fri, Dec 08, 2000 at 05:05:21PM -0500, John David Anglin wrote:
> > I am wondering if side_effects_p should return 1 if it encounters
> > an UNSPEC.
>
> No, because an UNSPEC has no side effects.
To be pedantic, an UNSPEC by itself has no side effects, but obviously an
UNSPEC could have arguments that use PRE_DEC, PRE_INC, POST_MODIFY, etc.
> As I said before, the simplest thing is to check for general_operand
> before creating the REG_EQUAL note. Any other solution requires reload
> to Do Things to the INSN_CODE during rematerialization.
--
Michael Meissner, Red Hat, Inc.
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: meissner@redhat.com phone: +1 978-486-9304
Non-work: meissner@spectacle-pond.org fax: +1 978-692-4482