This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
optimization/2692: excessive compile time with optimization
- To: gcc-gnats at gcc dot gnu dot org
- Subject: optimization/2692: excessive compile time with optimization
- From: snyder at fnal dot gov
- Date: Sun, 29 Apr 2001 23:04:25 -0500
- Reply-To: snyder at fnal dot gov
>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: