From mboxrd@z Thu Jan 1 00:00:00 1970 From: snyder@fnal.gov To: gcc-gnats@gcc.gnu.org Subject: optimization/2692: excessive compile time with optimization Date: Sun, 29 Apr 2001 21:06:00 -0000 Message-id: <200104300404.f3U44Pc01933@karma.fnal.gov> X-SW-Source: 2001-04/msg00737.html List-Id: >Number: 2692 >Category: optimization >Synopsis: excessive compile time with optimization >Confidential: no >Severity: serious >Priority: low >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Sun Apr 29 21:06:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: scott snyder >Release: 3.0 20010429 (prerelease) >Organization: >Environment: System: Linux karma 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 i686 unknown Architecture: i686 host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: i686-pc-linux-gnu configured with: ../egcs/configure --prefix=/usr/local/egcs --enable-threads=posix --enable-long-long >Description: If i try to compile the source below with -O2, gcc runs for over 45 minutes and grows to over 300 MB. On my machine, it exhausts the available swap space and dies before completing. Without optimization, it completes in a couple minutes. gcc 2.95.2 dies immediately with an ICE on this source, regardless of whether or not optimization is on, so i guess this isn't a regression. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: