[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#93786: marked as done (arm-loop.dpatch)



Your message dated Sat, 14 Apr 2001 21:57:29 +0200 (MEST)
with message-id <15064.43918.808140.984785@bolero>
and subject line Bug#93786: arm-loop.dpatch
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 12 Apr 2001 19:59:45 +0000
>From philb@gnu.org Thu Apr 12 14:59:45 2001
Return-path: <philb@gnu.org>
Received: from pc57-cam4.cable.ntl.com (kings-cross.london.uk.eu.org) [62.253.135.57] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 14nnFp-0003Dr-00; Thu, 12 Apr 2001 14:59:45 -0500
Received: from localhost
	([::ffff:127.0.0.1] helo=kings-cross.london.uk.eu.org ident=pb)
	by kings-cross.london.uk.eu.org with esmtp (Exim 3.12 #1 (Debian))
	id 14nnFm-0008Uq-00
	for <submit@bugs.debian.org>; Thu, 12 Apr 2001 20:59:42 +0100
X-Mailer: exmh version 2.3.1 01/18/2001 (debian 2.3.1-1) with nmh-1.0.4+dev
To: submit@bugs.debian.org
Subject: arm-loop.dpatch
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 12 Apr 2001 20:59:42 +0100
From: Philip Blundell <philb@gnu.org>
Message-Id: <E14nnFm-0008Uq-00@kings-cross.london.uk.eu.org>
Delivered-To: submit@bugs.debian.org

Package: gcc-2.95
Version: 1:2.95.3-11

This patch fixes a problem compiling binutils on ARM.  It's already installed 
on the 2.95 branch in CVS, but if future packages are going to use the 2.95.3 
tarball it would be good to have this included.

#! /bin/sh -e

# DP: Fix for SUBREG problems

src=gcc
if [ $# -eq 3 -a "$2" = '-d' ]; then
    pdir="-d $3"
    src=$3/gcc
elif [ $# -ne 1 ]; then
    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
    exit 1
fi
case "$1" in
    -patch)
        patch $pdir -f --no-backup-if-mismatch -p1 --fuzz 10 < $0
        cd $src && autoconf
        ;;
    -unpatch)
        patch $pdir -f --no-backup-if-mismatch -R -p1 --fuzz 10 < $0
        cd $src && autoconf
        ;;
    *)
        echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
        exit 1
esac
exit 0

2001-04-03  Bernd Schmidt  <bernds@redhat.com>

	* loop.c (combine_movables): Restrict combinations of constants with
	different modes so that we don't introduce SUBREGs into memory
	addresses.

--- src/gcc/loop.c	2001/01/25 14:03:18	1.156.4.20
+++ src/gcc/loop.c	2001/04/03 12:09:42	1.156.4.21
@@ -1481,10 +1481,16 @@ combine_movables (movables, nregs)
 		      width as M1.  The check for integer is redundant, but
 		      safe, since the only case of differing destination
 		      modes with equal sources is when both sources are
-		      VOIDmode, i.e., CONST_INT.  */
+		      VOIDmode, i.e., CONST_INT.
+		    
+		      For 2.95, don't do this if the mode of M1 is Pmode.
+		      This prevents us from substituting SUBREGs for REGs
+		      in memory accesses; not all targets are prepared to
+		      handle this properly.  */
 		   (GET_MODE (m->set_dest) == GET_MODE (m1->set_dest)
 		    || (GET_MODE_CLASS (GET_MODE (m->set_dest)) == MODE_INT
 			&& GET_MODE_CLASS (GET_MODE (m1->set_dest)) == MODE_INT
+			&& GET_MODE (m1->set_dest) != Pmode
 			&& (GET_MODE_BITSIZE (GET_MODE (m->set_dest))
 			    >= GET_MODE_BITSIZE (GET_MODE (m1->set_dest)))))
 		   /* See if the source of M1 says it matches M.  */



---------------------------------------
Received: (at 93786-done) by bugs.debian.org; 14 Apr 2001 20:03:19 +0000
>From doko@cs.tu-berlin.de Sat Apr 14 15:03:19 2001
Return-path: <doko@cs.tu-berlin.de>
Received: from mail.cs.tu-berlin.de [130.149.17.13] (root)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 14oWGM-0003Zc-00; Sat, 14 Apr 2001 15:03:18 -0500
Received: from bolero.cs.tu-berlin.de (bolero.cs.tu-berlin.de [130.149.19.1])
	by mail.cs.tu-berlin.de (8.9.3/8.9.3) with ESMTP id VAA12580;
	Sat, 14 Apr 2001 21:57:59 +0200 (MET DST)
Received: (from doko@localhost)
	by bolero.cs.tu-berlin.de (8.9.3+Sun/8.9.3) id VAA21814;
	Sat, 14 Apr 2001 21:57:29 +0200 (MEST)
From: Matthias Klose <doko@cs.tu-berlin.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Date: Sat, 14 Apr 2001 21:57:29 +0200 (MEST)
To: Philip Blundell <philb@gnu.org>, 93786-done@bugs.debian.org
Subject: Bug#93786: arm-loop.dpatch
In-Reply-To: <E14nnFm-0008Uq-00@kings-cross.london.uk.eu.org>
References: <E14nnFm-0008Uq-00@kings-cross.london.uk.eu.org>
X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs  Lucid
Message-ID: <15064.43918.808140.984785@bolero>
Delivered-To: 93786-done@bugs.debian.org

Philip Blundell writes:
 > Package: gcc-2.95
 > Version: 1:2.95.3-11
 > 
 > This patch fixes a problem compiling binutils on ARM.  It's already installed 
 > on the 2.95 branch in CVS, but if future packages are going to use the 2.95.3 
 > tarball it would be good to have this included.

Fixed with 2.95.4 upload.



Reply to: