http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49213
--- Comment #18 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- With the patch in comment #16 the 'Internal Error' when compiling the code in comment #15 disappears, but appears when compiling the test in pr51945 with the type-declaration line 'type(my_t) :: a' is uncommented.