This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
fix error in emit-rtl.c
- To: egcs-patches at cygnus dot com
- Subject: fix error in emit-rtl.c
- From: Herman ten Brugge <Haj dot Ten dot Brugge at net dot HCC dot nl>
- Date: Tue, 3 Nov 1998 21:03:07 +0000 (WET)
Hello,
I made a small mistake when I made the patch to emit-rtl.c. I fixed the
core dump but in the process introduced another bug. The try_split
will never be called recursive anymore. Sorry.
Herman.
Tue Nov 3 20:53:13 1998 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
* emit-rtl.c (try_split): Fixed error in Oct 10 patch.
--- emit-rtl.c.org Tue Nov 3 19:19:14 1998
+++ emit-rtl.c Tue Nov 3 19:19:18 1998
@@ -2275,7 +2275,7 @@ try_split (pat, trial, last)
immediately before a BARRIER. */
for (tem = NEXT_INSN (before); tem != after;
tem = NEXT_INSN (tem))
- if (! INSN_DELETED_P (tem) && ! GET_CODE (tem) == BARRIER)
+ if (! INSN_DELETED_P (tem) && GET_CODE (tem) != BARRIER)
tem = try_split (PATTERN (tem), tem, 1);
}
/* Avoid infinite loop if the result matches the original pattern. */
--
-------------------------------------------------------------------------
Herman ten Brugge Email: Haj.Ten.Brugge@net.HCC.nl