Sorry, wrong subject, again... > > 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. >
gcc: 2014-04-08 Bernd Edlinger <bernd.edlin...@hotmail.de>
* fortran/class.c (gfc_build_class_symbol): Append "_t" to target class names to make the generated type names unique. testsuite: 2014-04-08 Bernd Edlinger <bernd.edlin...@hotmail.de> * gfortran.dg/class_nameclash.f90: New test.
patch-class.diff
Description: Binary data