This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Are complex*16 variables static by default?


Hello,

how are complex*16 variables handled by gfortran if "-frecursive" is
not specified?

Is it possible that they are stored as static variables?

I am using LAPACK's zlarfg and zlarf functions within a C program, and
my code works just fine as long as OpenMP is disabled. When I enable
multi-threading, the code behaves erratically, and I am wondering
whether this might be due to the complex*16 constants "one" and "zero"
in zlarf or the complex*16 variable "temp" in zgerc.

Best regards,
Steffen


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