I can't understand what command line arguments you are using for LDC and GDC, but both of them have many useful optimization arguments (some of them are not easy to use like link time optimization in LDC). Bye, bearophile