[Bug fortran/14943] New: [gfortran] read/write code generation is not thread safe

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Apr 13 20:15:00 GMT 2004


I do not know if this was intentional or not but the code generation for read/write is not 
thread safe as you are writting to a global variable.  Mybe instead defining a struct and 
passing to the functions will cause it to be thread safe.

-- 
           Summary: [gfortran] read/write code generation is not thread safe
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: minor
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14943



More information about the Gcc-bugs mailing list