From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19229 invoked by alias); 2 Jun 2002 20:36:03 -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 19197 invoked by uid 71); 2 Jun 2002 20:36:02 -0000 Resent-Date: 2 Jun 2002 20:36:02 -0000 Resent-Message-ID: <20020602203602.19196.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 Resent-Reply-To: gcc-gnats@gcc.gnu.org, glen@imodulo.com Received:(qmail 18545 invoked by uid 61); 2 Jun 2002 20:30:41 -0000 Message-Id:<20020602203041.18544.qmail@sources.redhat.com> Date: Sun, 02 Jun 2002 13:36:00 -0000 From: glen@imodulo.com Reply-To: glen@imodulo.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: optimization/6909: problem w/ -Os on modified loop-2c.c test case. X-SW-Source: 2002-06/txt/msg00044.txt.bz2 List-Id: >Number: 6909 >Category: optimization >Synopsis: problem w/ -Os on modified loop-2c.c test case. >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Sun Jun 02 13:36:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Glen Nakamura >Release: 3.1.1 20020526 (prerelease), 3.2? (experimental) >Organization: >Environment: i586-pc-linux-gnu >Description: Modified gcc.c-torture/execute/loop-2c.c test case fails on i586-pc-linux-gnu when compiling w/ -Os. I actually noticed this problem on the 3.1 branch, but I think the mainline is also affected... I'll verify this and post a patch. >How-To-Repeat: gcc -Os loop-2c-new.c ./a.out >Fix: patch pending... >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="loop-2c-new.c" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="loop-2c-new.c" aW50IGFbMl07CgpfX2lubGluZV9fIGYgKGIsIG8pCnsKICB1bnNpZ25lZCBpbnQgaTsKICBpbnQg KnA7CiAgZm9yIChwID0gJmFbYl0sIGkgPSBiOyAtLWkgPD0gKH4wIC0gMSk7ICkKICAgICotLXAg PSBpICogMyArIG87Cn0KCmcoaW50IGIpCnsKICBmIChiLCAoaW50KWEpOwp9CgptYWluICgpCnsK ICBhWzBdID0gYVsxXSA9IDA7CiAgZyAoMik7CiAgaWYgKGFbMF0gIT0gKGludClhIHx8IGFbMV0g IT0gKGludClhICsgMykKICAgIGFib3J0ICgpOwogIGV4aXQgKDApOwp9Cg==