[Bug libfortran/118935] Segmentation fault in 'libgomp.fortran/rwlock_1.f90' when compiling libgfortran with '-O0'

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 13 17:07:55 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118935

--- Comment #21 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to huangpei@loongson.cn from comment #20)
> only loongarch64-unknown-linux-gnu 
> 

> which arch did I need to test?
> 
> I can get access to x64@linux and arm64@linux

I understand that, right now, there is no independent test case which fails
without the patch and succeeds with it.  Normally, this is a requirement
for gcc patches, but if it requires non-standard libgfortran build
options, I am not sure how to do it, at least as part of the regular
testsuite.

Building this on as many systems as possible with different locking
behavior and -O0 would be a good step. I could try that on POWER,
for example.


More information about the Gcc-bugs mailing list