From: Mark Mitchell <mark@markmitchell.com>
To: leei@ai.sri.com
Cc: egcs@egcs.cygnus.com, egcs-patches@egcs.cygnus.com
Subject: Re: MIPS test failures
Date: Wed, 31 Mar 1999 23:46:00 -0000 [thread overview]
Message-ID: <199903150833.AAA00261@adsl-206-170-148-33.dsl.pacbell.net> (raw)
Message-ID: <19990331234600.U6B2i6sS3PqXmS7f6C2DM2SyBBXcwiZWRpR1aIJlGMs@z> (raw)
In-Reply-To: <199903130220.SAA16668@Canada.AI.SRI.COM>
Here's another patch, a bit more circumspect than Lee's, which also
fixes the MIPS bootstrap. I've tested this patch with a 3-stage
bootstrap on mpis-sgi-irix6.5.
Jeff?
--
Mark Mitchell mark@markmitchell.com
Mark Mitchell Consulting http://www.markmitchell.com
Mon Mar 15 00:32:30 1999 Mark Mitchell <mark@markmitchell.com>
* reload.c (find_reloads): Add a REG_LABEL note if we substitute a
LABEL_REF for something else.
Index: reload.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/reload.c,v
retrieving revision 1.68
diff -c -p -r1.68 reload.c
*** reload.c 1999/03/05 15:07:56 1.68
--- reload.c 1999/03/15 08:27:21
*************** find_reloads (insn, replace, ind_levels,
*** 3854,3860 ****
reload_{in,out}_reg when we do these replacements. */
if (replace)
! *recog_operand_loc[i] = substed_operand[i];
else
retval |= (substed_operand[i] != *recog_operand_loc[i]);
}
--- 3854,3874 ----
reload_{in,out}_reg when we do these replacements. */
if (replace)
! {
! rtx substitution = substed_operand[i];
!
! *recog_operand_loc[i] = substitution;
!
! /* If we're replacing an operand with a LABEL_REF, we need
! to make sure that there's a REG_LABEL note attached to
! this instruction. */
! if (GET_CODE (insn) != JUMP_INSN
! && GET_CODE (substitution) == LABEL_REF
! && !find_reg_note (insn, REG_LABEL, XEXP (substitution, 0)))
! REG_NOTES (insn) = gen_rtx_EXPR_LIST (REG_LABEL,
! XEXP (substitution, 0),
! REG_NOTES (insn));
! }
else
retval |= (substed_operand[i] != *recog_operand_loc[i]);
}
next prev parent reply other threads:[~1999-03-31 23:46 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-12 7:54 Mark Mitchell
[not found] ` < 199903121557.HAA07434@adsl-206-170-148-33.dsl.pacbell.net >
1999-03-12 18:20 ` Lee Iverson
[not found] ` < 199903130220.SAA16668@Canada.AI.SRI.COM >
1999-03-15 0:30 ` Mark Mitchell [this message]
[not found] ` < 199903150833.AAA00261@adsl-206-170-148-33.dsl.pacbell.net >
1999-03-15 9:19 ` Jeffrey A Law
1999-03-31 23:46 ` Jeffrey A Law
1999-03-31 23:46 ` Mark Mitchell
1999-03-31 23:46 ` Lee Iverson
1999-03-31 23:46 ` Mark Mitchell
1999-03-15 17:51 Billinghurst, David (RTD)
1999-03-31 23:46 ` Billinghurst, David (RTD)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199903150833.AAA00261@adsl-206-170-148-33.dsl.pacbell.net \
--to=mark@markmitchell.com \
--cc=egcs-patches@egcs.cygnus.com \
--cc=egcs@egcs.cygnus.com \
--cc=leei@ai.sri.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).