sync gdc and ldc with latest svn changes