This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/79230] [7 Regression] [OOP] Run time error: double free or corruption
- From: "juergen.reuter at desy dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 28 Jan 2017 12:22:29 +0000
- Subject: [Bug fortran/79230] [7 Regression] [OOP] Run time error: double free or corruption
- Auto-submitted: auto-generated
- References: <bug-79230-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79230
--- Comment #11 from Jürgen Reuter <juergen.reuter at desy dot de> ---
(In reply to janus from comment #7)
> (In reply to Jürgen Reuter from comment #5)
> > Here is the promised reduced test case, 80 lines, and I do believe that this
> > is most likely causing the issues of all our 250 failing tests (hopefully).
> > Attached and plain:
>
> I'm afraid this example is invalid, because it accesses element 7 of an
> array with size 1, so the runtime error ("free(): invalid pointer") is
> probably correct, even though it does not appear with gfortran 6.2.
>
Sorry for screwing up the reduced case. Glad that you were able to fix that one
into a sensible test case. I think Dominique d'Humieres already managed to
narrow down when this regression was introduced, see Comment#3.