https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118935
Bug ID: 118935 Summary: Segmentation fault in 'libgomp.fortran/rwlock_1.f90' when compiling libgfortran with '-O0' Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: chenglulu at loongson dot cn Target Milestone: --- When compiling libgfortran with the "-O0" option, using the compiled libgfortran library to test 'libgomp.fortran/rwlock_1.f90' results in random errors during the test. Program received signal SIGSEGV: Segmentation fault - invalid memory reference. Backtrace for this error: #0 0xfffce8c86f in ??? #1 0x0 in ???