http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46152
--- Comment #13 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-10-26 19:43:43 UTC --- (In reply to comment #12) > New patch attached. This passed regression testing. The patch is OK from my side. I assume there is still an error printed but error but the extra error causes that succeeding checks fail thus you removed the following line: - allocate(tx :: x(5)) ! { dg-error "is not an accessible derived type" } Otherwise, "is not an accessible derived type" is a nicer error message then "error in CLASS IS specification at" but I assume one cannot have everything - and the latter is also sufficiently clear.