From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6073 invoked by alias); 15 Jan 2002 19:16:02 -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 6034 invoked by uid 71); 15 Jan 2002 19:16:01 -0000 Resent-Date: 15 Jan 2002 19:16:01 -0000 Resent-Message-ID: <20020115191601.6033.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, ritzert@t-online.de Received:(qmail 3249 invoked by uid 61); 15 Jan 2002 19:10:04 -0000 Message-Id:<20020115191004.3247.qmail@sources.redhat.com> Date: Tue, 15 Jan 2002 11:16:00 -0000 From: ritzert@t-online.de Reply-To: ritzert@t-online.de To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: optimization/5391: gcc eats all memory @ >= -O X-SW-Source: 2002-01/txt/msg00568.txt.bz2 List-Id: >Number: 5391 >Category: optimization >Synopsis: gcc eats all memory @ >= -O >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Jan 15 11:16:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: ritzert@t-online.de >Release: gcc version 3.1 20020115 (experimental) >Organization: >Environment: Linux 2.4.16, Athlon, i686-pc-linux-gnu >Description: When compiling the attached file with -O the cc1 process eats all memory (512MB RAM+1GB swap) until it it killed by the kernel. When compiling with -da it's connect.c.03.jump that grows obviously without limit. This does not happen with gcc version 3.1 20020113 (experimental) on hppa1.1-hp-hpux11.00. >How-To-Repeat: gcc -c -O connect.c >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: text/x-csrc; name="connect.c" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="connect.c" ZXh0ZXJuIHZvaWQgZm9vICgpOwoKaW50CmJhciAoKQp7CiAgICBpbnQgYSA9IDAsIGIgPSAwOwoK ICAgIHdoaWxlICghYSAmJiAhYikKICAgIHsKICAgICAgICBpZiAoYikKICAgICAgICB7CiAgICAg ICAgICAgIGZvbyAoKTsKICAgICAgICB9CiAgICB9Cn0KCg==