------- Comment #12 from janus at gcc dot gnu dot org 2010-01-17 21:29 ------- I'd argue this is not even a regression. Sure, the code in comment #1 fails to compile with 4.4 since it contains lots of CLASS declarations. But on comment #8, gfortran 4.4 fails with (almost) the same error:
internal compiler error: in resolve_typebound_procedure, at fortran/resolve.c:8505 Salvatore, are you sure this worked with 4.5 at some point, or is this sudden failure rather due to changes in your code? Daniel, since you were the one who implemented most of the TBP stuff in 4.4, could you maybe have a look at this? Seems like there is a problem with equal names in different namespaces ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42769