This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
g77 question - namelist
- To: gcc at gcc dot gnu dot org
- Subject: g77 question - namelist
- From: rlau at csc dot com
- Date: Fri, 17 Mar 2000 13:25:14 -0600
I was debugging the libf2c ( or libg2c to be exact), I notice that something
funky about the rsne.c module.
Particularly the namelist that was parsing and processing. The "addr" field of
the "vars" element ( say
the first one or anyone ) in "nl" is within the range of the static char array
declared in rsne.c (particulary Alphanum).
So when the function x_rsne() calls l_read(), l_read() would accidently corrupt
Alphanum[] and
the rest is just chaotic. Has anyone experience this problem or any idea as
what's going on?
Also does anyone know how g77 actually get the addr field fill in for
cilist->cifmt prior to calling
s_rsne() ???????
Thanks