This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/46152] ALLOCATE with type-spec fails for intrinsic types


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]