This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/81195] SPEC CPU2017 621.wrf_s failure with 40+ openmp threads


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

--- Comment #6 from Jim Wilson <wilson at gcc dot gnu.org> ---
I should point out that there are currently four places that use
newunit_stack/newunit_tos without locking.  Two of these places required
locking code to get wrf working.

The other two are init_units and close_units.  These are called from a
constructor and a destructor.  Presumably these can only be called once, and
hence don't require locking code.  Though curiously, close_units has some
locking code anyways.  I'm not sure why.  I saw no failures here, and hence
didn't bother to add any locking.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]