gcc doesn't do that. I don't know why dmd is. This can cause problems with disassembly because 00 bytes decode to two instructions, which can overflow the code section.
Should it be padded with CC or 90 in your opinion?