combine.c (try_combine): Before fixing up LOG_LINKS for the i3_subst_into_i2 case...

* combine.c (try_combine): Before fixing up LOG_LINKS for the
	i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.

From-SVN: r30762
This commit is contained in:
J"orn Rennecke 1999-12-02 19:09:23 +00:00 committed by Joern Rennecke
parent 63357d93b3
commit e6770d3c8c
2 changed files with 21 additions and 13 deletions

View File

@ -1,3 +1,8 @@
Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
* combine.c (try_combine): Before fixing up LOG_LINKS for the
i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
* invoke.texi: Document the mips option -mno-crt0

View File

@ -2447,6 +2447,8 @@ try_combine (i3, i2, i1)
properly handled. */
if (i3_subst_into_i2)
{
if (GET_CODE (PATTERN (i2)) == PARALLEL)
{
for (i = 0; i < XVECLEN (PATTERN (i2), 0); i++)
if (GET_CODE (SET_DEST (XVECEXP (PATTERN (i2), 0, i))) == REG
@ -2461,6 +2463,7 @@ try_combine (i3, i2, i1)
for (link = LOG_LINKS (temp); link; link = XEXP (link, 1))
if (XEXP (link, 0) == i2)
XEXP (link, 0) = i3;
}
if (i3notes)
{