That sounds like at least a bug in those compilers.
It should work ok on msys, though I haven't tested it. If you can
give more details on what fails for you, it may be possible to debug
it. (Better yet if you can supply a patch to fix or work around the
problem. :-) )
craig