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/54618] [OOP] wrong-code with CLASS(...), INTENT(OUT) -- and OPTIONAL or ALLOCATABLE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54618

--- Comment #12 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-09-30 17:01:26 UTC ---
(In reply to comment #11)
> With the patch in comment #10, gfortran (otherwise clean r191847) miscompiles
> gfortran.dg/class_array_7.f03.

Seems to be fixed by my much extended local version (which still has some
issues related to polymorphic coarrays).


The following issue I see, however, also with GCC 4.7. I think it should be
investigated and seems to be unrelated to my patch:

> ==96855== Invalid read of size 4
> ==96855==    at 0x100001782: __realloc_MOD_assign (class_array_7_db.f90:25)
> ==96855==    by 0x100001685: __realloc_MOD_reallocate (class_array_7_db.f90:34)


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