[cfe-dev] MinGW 4.7.0-compiled Clang Mis-compiles Simple Programs
anton at korobeynikov.info
Mon Jun 18 08:38:06 PDT 2012
> I'm not sure this bug applies here, since it's the program generated *by*
> Clang that is crashing, not Clang itself. This leads me to believe it is a
> codegen issue somewhere within Clang and not a mis-compile of Clang itself.
> Or perhaps its a subtle bug in MinGW's libstdc++ 4.7.0 build.
> Everything does work fine if I downgrade to MinGW 4.6.3.
This smells like static ctors problem described by Rafael on
llvm-commits. What if you change the .ctors section to .init_array?
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the cfe-dev