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