clang++ crashes on windows

Hi all!

I try to compile my project with clang++ on windows (mingw) and
clang++ crashes. Under ubuntu 10.10 clang++ 2.8 compiles this project
fine.
clang++ output (for compilation in debug mode): https://gist.github.com/905309
clang++ output (under gdb): https://gist.github.com/905298

Whats wrong and how can I avoid crashes?

Regards,
Sergey Miryanov

Hello

I try to compile my project with clang++ on windows (mingw) and
clang++ crashes. Under ubuntu 10.10 clang++ 2.8 compiles this project
fine.
clang++ output (for compilation in debug mode): https://gist.github.com/905309
clang++ output (under gdb): https://gist.github.com/905298

Whats wrong and how can I avoid crashes?

There are 2 possibilities:
1. clang bug
2. miscompilation of clang itself by your compiler.

If you feel that this is indeed clang bug, then feel free to fill a PR
in LLVM bugzilla with preprocessed sources.