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

huangpei at loongson dot cn gcc-bugzilla@gcc.gnu.org
Thu Aug 13 12:15:11 GMT 2026


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

--- Comment #20 from huangpei at loongson dot cn <huangpei at loongson dot cn> ---
only loongarch64-unknown-linux-gnu 

no regression on libgomp and gfortran test(rwlock_1.f90 is not triggered when
built with -O2 either with or without this patch)

================================================================================
    5 
    4                 === libgomp Summary ===
    3 
    2 # of expected passes            17711
    1 # of expected failures          284
18964 # of unsupported tests          946


    7                 === gfortran Summary ===
    6 
    5 # of expected passes            75857
    4 # of unexpected failures        2
    3 # of expected failures          339
    2 # of unsupported tests          170
    1 /home/huangpei/projects/GNU/GCC/out1/gcc/gfortran  version 17.0.0
20260813 (experimental) (GCC)

================================================================================

which arch did I need to test?

I can get access to x64@linux and arm64@linux


More information about the Gcc-bugs mailing list