This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CREAD buggy?


> > 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


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