https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64921
Paul Thomas <pault at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jaydub66 at gmail dot com --- Comment #6 from Paul Thomas <pault at gcc dot gnu.org> --- (In reply to H.J. Lu from comment #2) > I got > > Program received signal SIGSEGV: Segmentation fault - invalid memory > reference. > > Backtrace for this error: > #0 0xF763FACE > #1 0xF763EBDE > #2 0xF773CBBF > #3 0x8048BA5 in __final_main_T2.3337 at class_allocate_18.f90:? > #4 0x8048D68 in __final_main_T3.3328 at class_allocate_18.f90:? > #5 0x8048A59 in MAIN__ at class_allocate_18.f90:? > FAIL: gfortran.dg/class_allocate_18.f90 -O1 execution test > > But I couldn't reproduce it on another machine. I will keep an eye on it. Hi HJ, Given that the error is sporadic, are you sure that the offending revisions are not 220125 and 220130 - PR64230. The error messages that you are getting are remarkably similar to the original report for this PR. In the case of PR62044, the fix only applies to allocation with MOLD = derived type. class_allocate_18.f90 involves a CLASS entity and does not use MOLD = anything. I will investigate if there is not some horrible kludge that is spoofing up the allocate expression in class_allocate_18.f90 by passing the typespec through a hidden MOLD expression. If this is not the case, there is nothing that I can do. I'll come back to you in about twenty minutes. I have put Janus in copy. Cheers Paul