Hi, this patch fixes a recently discovered name-clash in gfc_build_class_symbol. Fortunately it is quite easy to fix: just make sure that the class names of target classes end with "_t", and target array classes end with "[0-9]t". This trick makes all names unique again. I hope it is not too late, and this can still go into 4.9.0. Boot-Strapped without any regressions on x86_64-unknown-linux-gnu. Ok for trunk? Thanks Bernd.