On Thursday, 2 March 2017 at 09:13:40 UTC, berni wrote:
Just a note: I now asked the same question on the cmake mailing list. Maybe, it's the better place to do so...
After some help of cmake people and a morning of more investigations, I'm quite sure I found a bug in gdc. Meanwhile I've got a small example that compiles with gdc but leads to a linking error when compiled with -O3.