This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix for paren bug
- To: gcc-patches at gcc dot gnu dot org
- Subject: Fix for paren bug
- From: Andreas Schwab <schwab at suse dot de>
- Date: 26 Oct 2001 15:03:25 +0200
- Cc: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
This fixes a paren bug in the last change to reload1.c which is
unfortunately not documented in the changelog. Committed.
2001-10-26 Andreas Schwab <schwab@suse.de>
* reload1.c (emit_input_reload_insns): Fix parens in last
(undocumented) change that was supposed to change only whitespace.
--- gcc/reload1.c.~1.305~ Wed Oct 24 10:38:20 2001
+++ gcc/reload1.c Fri Oct 26 14:47:53 2001
@@ -6566,9 +6566,9 @@
|| (reg_equiv_constant
[REGNO (SUBREG_REG (oldequiv))] != 0)))
|| (CONSTANT_P (oldequiv)
- && PREFERRED_RELOAD_CLASS (oldequiv,
- (REGNO_REG_CLASS (REGNO (reloadreg)))
- == NO_REGS)))
+ && (PREFERRED_RELOAD_CLASS (oldequiv,
+ REGNO_REG_CLASS (REGNO (reloadreg)))
+ == NO_REGS)))
real_oldequiv = rl->in;
gen_reload (reloadreg, real_oldequiv, rl->opnum,
rl->when_needed);
--
Andreas Schwab "And now for something
Andreas.Schwab@suse.de completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5