[cfe-dev] Program crashes when build Clang with mingw-gcc-4.7.0

Anton Korobeynikov anton at korobeynikov.info
Fri Apr 27 01:30:04 PDT 2012

> I try to build Clang for windows with MinGW[1].
> I build Clang using gcc-4.6.3[2]. All the programs which are built
> using it, are compiled and work successfully.
> But if when I build Clang using gcc-4.7.0[3], programs which written
> on C++ crash when run-time. C-code programs are compiled and work
> successfully.
It might be yet another manifestation of

Try to recompile clang/llvm with -O0

With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University

More information about the cfe-dev mailing list