llc doesn't work in release build

Hi!

I decided to build LLVM with ENABLE_OPTIMIZED = 1 to test performance of one of its parts but llc fails with Segmentation fault error on simple applications (any taken from llvm-test, for example). As input I use files produced by llvm-gcc with -emit-llvm flag. llvm-gcc was built in debug mode. Both llvm and front-end were taken from CVS/SVN a bit before the 1.9 release.

What could cause the problem?

Thanks.

Tony.

Hi!

I decided to build LLVM with ENABLE_OPTIMIZED = 1 to test performance
of one of its parts but llc fails with Segmentation fault error on
simple applications (any taken from llvm-test, for example). As input
I use files produced by llvm-gcc with -emit-llvm flag. llvm-gcc was
built in debug mode. Both llvm and front-end were taken from CVS/SVN a
bit before the 1.9 release.

Not sure if its related, but it sounds similar:

http://llvm.org/bugs/PR1037.

Reid.