Mikael Morin wrote:
I have had a look at PR62044 where the compiler ICEs when loading the
extensions of a derived type from a module file, because one use-renamed
extended type is not found under its original name.
After scratching my head on the tree of extended types (rooted at
derived->f2k_derived->sym_root), wondering whether the renamed or
original name should be used, I decided to remove all that nonsense.
So here is the patch, regression tested on x86_64-unknown-linux-gnu.
There is a failure, graphite/pr42393.f90, also present on mainline.
OK for trunk/4.9/4.8 ?
Regarding the failure: The reason of the failure is the GCC 5 change for
Graphite from CLooG (using ISL) to ISL (used directly) and a bug in ISL
0.12.2. The solution is to update to ISL 0.14.0 - or to ignore the
failure. See also PR64017.
Regarding the patch: It looks fine to me – and as I assume/hope that the
test suite is comprehensive, it shouldn't break something obvious.
Hence, OK from my side. Thanks for the patch!
Tobias