D-Programming-Language/dmd — pull request #1128 by jpf91 (2012-09-19 18:31:51+00:00)
Title: Verify TypeInfo sizes

* Make sure the TypeInfo* declaration sizes in the runtime match what the compiler is outputting as an initializer.

* Use static symbol for TypeInfoStruct.name:
The old code appended the name at the end of the TypeInfoStructDeclaration which caused the size of TypeInfoStructDeclaration to be different for every struct. This is a problem for GDC/GCC on non x86 architectures.
Does anyone know why the ```dtabytes(pdt, TYnptr, 0, namelen + 1, name);``` line was commented out? There was no comment about this and it seems to work fine?