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/79230] [7 Regression] [OOP] Run time error: double free or corruption


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.

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