CREAD buggy?

Paul Brook paul@codesourcery.com
Sat Jul 30 19:46:00 GMT 2005


> > ps If it were an aliasing problem, isn't there a compiler flag I can
> > use to work around it? As I said, using -O0 doesn't seem to
> > eliminate the problem.
>
> Try -fbounds-check and -fstrict-aliasing.  I'm not sure what
> will happen with -fstrict-aliasing.

You mean -fno-strict -aliasing?

If -O0 doesn't help, neither will -fno-strict-aliasing. The aliasing 
information is only used by the optimizers, and -O0 turns them off anyway :-)

Paul



More information about the Fortran mailing list