[Bug fortran/65359] [OOP] undefined output with array and inheritance
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65359 janus at gcc dot gnu.org changed: What|Removed |Added Keywords||wrong-code Status|NEW |RESOLVED CC||janus at gcc dot gnu.org Known to work||8.2.0 Resolution|--- |FIXED Known to fail||7.3.0 --- Comment #2 from janus at gcc dot gnu.org --- With 8.2.0 and trunk I get the correct output 1st: -100-100-200-200 2nd: -100-100-200-200 3rd: 91 92 93 94 4th: 91 92 93 94 without any valgrind errors. Apparently this has been fixed.
[Bug fortran/65359] [OOP] undefined output with array and inheritance
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65359 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2015-03-13 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres dominiq at lps dot ens.fr --- Confirmed on 4.8.4, 4.9.2, and trunk (5.0). Note that the test compiled with 4.8.4 fails with a.out(3185,0x7fff7d157300) malloc: *** error for object 0x7fd4a9405aa0: incorrect checksum for freed object - object was probably modified after being freed. *** set a breakpoint in malloc_error_break to debug