Recompiling related compilation units

If two compilation units, A and B, reference the same instantiation, the -qtemplateregistry compiler option has the following effect: