From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27424 invoked by alias); 25 Apr 2002 19:16:05 -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 27389 invoked by uid 71); 25 Apr 2002 19:16:02 -0000 Resent-Date: 25 Apr 2002 19:16:02 -0000 Resent-Message-ID: <20020425191602.27388.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, jh@suse.cz Resent-Reply-To: gcc-gnats@gcc.gnu.org, roger@eyesopen.com Received:(qmail 22270 invoked by uid 61); 25 Apr 2002 19:06:53 -0000 Message-Id:<20020425190653.22269.qmail@sources.redhat.com> Date: Thu, 25 Apr 2002 12:16:00 -0000 From: roger@eyesopen.com Reply-To: roger@eyesopen.com To: gcc-gnats@gcc.gnu.org Cc: jh@suse.cz X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) X-GNATS-Notify:jh@suse.cz Subject: target/6456: builtin memset broken on x86 with -minline-all-stringops X-SW-Source: 2002-04/txt/msg01362.txt.bz2 List-Id: >Number: 6456 >Category: target >Synopsis: builtin memset broken on x86 with -minline-all-stringops >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: wrong-code >Submitter-Id: net >Arrival-Date: Thu Apr 25 12:16:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Roger Sayle >Release: mainline CVS 20020425 (probably also 3.1 prerelease) >Organization: >Environment: i686-pc-linux-gnu (RedHat 7.2) >Description: The x86 backend is currently generates incorrect code for builtin memset, when using "-minline-all-stringops". This is specific to the ia-32 backend. Interestingly, GCC uses different code sequences for "-march=athlon" which doesn't exhibit the problem. >How-To-Repeat: The problem can be reproduced by compiling and running the memset correctness test, gcc.c-torture/execute/memset-1.c, with command line options "-O2 -minline-all-stringops". Once I get a PR number, I'll submit a new gcc.dg testcase to gcc-patches to check for this problem on i?86-*-*. >Fix: For the time being, don't specify "-minline-all-stringops". >Release-Note: >Audit-Trail: >Unformatted: