On Thu, 2007-07-12 at 20:54 +0200, Thomas Veith wrote: > Hi *, > > when compiling crafty-20.14 with > > CFLAGS='$(CFLAGS) -Wall -pipe -D_REENTRANT -march=i686 -O3 \ > -fprofile-use -fbranch-probabilities -fomit-frame-pointer \ > -ftree-vectorize -ftree-vectorizer-verbose=1 -msse2 \ > -fno-gcse -mpreferred-stack-boundary=2' > > with rev. 125687 crafty breaks severly -- with rev. 126538 it compiles and > runs smoothly.
How does it break? I tried building crafty from SPEC CPU2000 on powerpc-linux with -fprofile-generate/-use and various other optimizations with current mainline and found that with feedback plus -O1 the resulting program hangs with the test (short) input. > As you can see, there are a lot of options involved and crafty is a big > program so I'm not able to provide a reduced testcase and file a PR in > bugzilla. But maybe someone can take this as a hint. I don't have time right now to look into it, either. Janis