This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/54618] [OOP] wrong-code with CLASS(...), INTENT(OUT) -- and OPTIONAL or ALLOCATABLE
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 30 Sep 2012 17:01:26 +0000
- Subject: [Bug fortran/54618] [OOP] wrong-code with CLASS(...), INTENT(OUT) -- and OPTIONAL or ALLOCATABLE
- Auto-submitted: auto-generated
- References: <bug-54618-4@http.gcc.gnu.org/bugzilla/>
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)