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]

fortran program fails -- help...


I have a fortran program that compiles fine but fails at runtime.
(It's "somnec2s" which is a companion program to nec, the antenna
analysis tool.)  One of its subroutines initializes an array the first
time through, and expects it to be untouched after.  Problem is that
it is scribbled on shortly after exit from that subroutine.  The
scribbler is _dl_linux_resolver, called from _dl_linux_resolve, called
from a line that contains a call to cexp().

The array in question is declared as dimension m(101) in the function,
so it shouldn't be accessible to anything else.

Platform is linux on a Pentium.  This is with the latest snapshot
though I saw the same problem with earlier ones.

Any ideas where to start looking?

	paul


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