From 8bccce2d1f290fb9a26ef40f973d3e57d4d8a094 Mon Sep 17 00:00:00 2001 From: "J\"orn Rennecke" Date: Mon, 17 Jun 2002 16:28:29 +0000 Subject: [PATCH] * sh.md (divsi3): Update way how to find insns in a sequence. From-SVN: r54705 --- gcc/ChangeLog | 4 +++- gcc/config/sh/sh.md | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 46433106da0..4dde9b641f3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,6 @@ -Mon Jun 17 12:32:24 2002 J"orn Rennecke +Mon Jun 17 17:26:15 2002 J"orn Rennecke + + * sh.md (divsi3): Update way how to find insns in a sequence. * reload1.c (merge_assigned_reloads): Don't change reloads other than RELOAD_FOR_INPUT_ADDRESS / RELOAD_FOR_INPADDR_ADDRESS diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 126a3b489dd..fd35fad5344 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -1520,7 +1520,7 @@ operands[1] = force_reg (SImode, operands[1]); operands[2] = force_reg (SImode, operands[2]); last = gen_divsi3_i4_media (operands[0], operands[1], operands[2]); - first = XVECEXP (last, 0, 0); + first = last; } else if (TARGET_SH5) {