This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: pa reload problem
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Subject: Re: pa reload problem
- From: Richard Henderson <rth at redhat dot com>
- Date: Fri, 8 Dec 2000 15:45:27 -0800
- Cc: 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>
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.
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.
r~