From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15142 invoked by alias); 21 Aug 2010 01:00:27 -0000 Received: (qmail 15063 invoked by uid 48); 21 Aug 2010 01:00:14 -0000 Date: Sat, 21 Aug 2010 01:00:00 -0000 Subject: [Bug middle-end/45364] New: Apparent infinite loop while compiling wine's directx.c with -O1 -g X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "bero at arklinux dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-08/txt/msg01701.txt.bz2 Building the attached code with gcc -m32 -O1 -g -c directx.i -o test.o takes forever. On a machine where gcc -m32 -O0 -g -c directx.i -o test.o finishes in 2.9 seconds and gcc -m32 -O2 -c directx.i -o test.o finishes in 15 seconds, I left gcc -m32 -O2 -g -c directx.i -o test.o running overnight and it still didn't finsh - either something is incredibly slow, or (more likely) it hits an infinite loop somewhere. -- Summary: Apparent infinite loop while compiling wine's directx.c with -O1 -g Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bero at arklinux dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45364