This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Are complex*16 variables static by default?
- From: Steffen Boerm <sb at informatik dot uni-kiel dot de>
- To: fortran at gcc dot gnu dot org
- Date: Fri, 27 Jan 2017 23:46:22 +0100
- Subject: Are complex*16 variables static by default?
- Authentication-results: sourceware.org; auth=none
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