This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: CREAD buggy?
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: howarth at bromo dot msbb dot uc dot edu (Jack Howarth)
- Cc: howarth at bromo dot msbb dot uc dot edu, sgk at troutmask dot apl dot washington dot edu, fortran at gcc dot gnu dot org
- Date: Sat, 30 Jul 2005 15:47:32 -0400 (EDT)
- Subject: Re: CREAD buggy?
>
> Steve,
> Thanks. Looking through the xplor-nih heap routines, it appears
> that they use first element of the heap array for the absolute
> address of a heap allocation and the second element as the
> length of that particular heap allocation.
> Jack
> ps I'll try the -fbounds-check and -fstrict-aliasing flags next.
I think he means -fno-strict-aliasing. But you might as well test
-fargument-alias as it looks like you are passing the same variable
to the two different agruments and fortran standards says they don't
alias.
-- Pinski