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

"jvdelisle at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118935

--- Comment #16 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Created attachment 65299
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=65299&action=edit
Comment patch, untested

The original patch is OK. Consider the attached as a comment. We need to
address the issue on the mingw side of things and I think we need to be careful
in a few other places.

Can you test this on your architecture?

Also do you have commit priviledges?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.