From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24490 invoked by alias); 22 Nov 2001 00:56:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 24476 invoked by uid 71); 22 Nov 2001 00:56:01 -0000 Date: Sat, 17 Nov 2001 00:16:00 -0000 Message-ID: <20011122005601.24475.qmail@sourceware.cygnus.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Ian Lance Taylor Subject: Re: c/4925: __builtin_memcpy overcopies on ix86 in gcc 3.0.2 Reply-To: Ian Lance Taylor X-SW-Source: 2001-11/txt/msg00443.txt.bz2 List-Id: The following reply was made to PR c/4925; it has been noted by GNATS. From: Ian Lance Taylor To: gcc-gnats@gcc.gnu.org Cc: Subject: Re: c/4925: __builtin_memcpy overcopies on ix86 in gcc 3.0.2 Date: 21 Nov 2001 16:46:38 -0800 gcc-gnats@gcc.gnu.org writes: > Thank you very much for your problem report. > It has the internal identification `c/4925'. > The individual assigned to look at your > report is: unassigned. > > >Category: c > >Responsible: unassigned > >Synopsis: __builtin_memcpy overcopies on ix86 in gcc 3.0.2 > >Arrival-Date: Wed Nov 21 16:26:00 PST 2001 I believe this is the patch which fixes the bug. A version of this patch appears in the current development sources. Ian Index: i386.md =================================================================== RCS file: /home/cvsfiles/tools/egcs/gcc/config/i386/i386.md,v retrieving revision 1.1.1.4 diff -u -r1.1.1.4 i386.md --- i386.md 2001/11/14 22:28:55 1.1.1.4 +++ i386.md 2001/11/22 00:46:27 @@ -10917,7 +10917,7 @@ LABEL_NUSES (label) = 1; } if (align > 1 && count > 0 && (count & 1)) - emit_insn (gen_strmovsi (destreg, srcreg)); + emit_insn (gen_strmovqi (destreg, srcreg)); if (align <= 1 || count < 0) { rtx label = gen_label_rtx ();